MCP Server for reading OpenHarmony module code
Project description
readmodule
一个用于读取 OpenHarmony 模块代码的 MCP (Model Context Protocol) 服务器。
介绍
readmodule 是一个基于 MCP 协议的服务器,主要功能是读取指定 OpenHarmony 模块目录中的所有代码文件,包括子目录中的文件。它支持从各种文件类型中读取代码并以结构化格式返回内容。
功能特点
该工具支持读取以下类型的文件:
- .md(Markdown 文件)
- .ets(ETS 文件)
- .ts(TypeScript 文件)
- .json(JSON 文件)
- .json5(JSON5 文件)
- .cpp(C++ 源文件)
- .h(C/C++ 头文件)
安装
pip install readmodule
使用方法
安装后可以通过以下命令启动服务器:
readmodule-mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
readmodule-0.1.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file readmodule-0.1.1.tar.gz.
File metadata
- Download URL: readmodule-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
266f2959ccdd2fdc71f931540db88e6e5ea6bcd6c9af95a485d43564c096332f
|
|
| MD5 |
03e2825c14bc072ebedbf99ccb2e08a6
|
|
| BLAKE2b-256 |
f56de9365fc696c91b2e0ccb7908d90b7078b06744250225bc73560d84264e82
|
File details
Details for the file readmodule-0.1.1-py3-none-any.whl.
File metadata
- Download URL: readmodule-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac30867b18f972d83d1a53e3b545a402f1c96d7de5f7eff2d53d7c548b450f9d
|
|
| MD5 |
e7ea5988a30115733c7c80020a3237e6
|
|
| BLAKE2b-256 |
6832f41974eb179b0229128dcfc8917a271f86d40f783fea0bbc1a68a641f8e7
|