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.2.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.2.tar.gz.
File metadata
- Download URL: readmodule-0.1.2.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 |
2330b30ce72fe204421e8b5ef6e5edd93ce8e62e59f266198bd07d39e8dd5b59
|
|
| MD5 |
e5c7ae16eea6ca8fdb9347e57b3548d4
|
|
| BLAKE2b-256 |
7f6a559ff7c2c8679415338dceffc93a145b66ad3fb83d43b91a493db59c2a34
|
File details
Details for the file readmodule-0.1.2-py3-none-any.whl.
File metadata
- Download URL: readmodule-0.1.2-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 |
6853f1817c9bd5b93df70c4d4b541d3bc396f4558aee15fb09fedf5a9561fa99
|
|
| MD5 |
ba7614f43bbc7ae7b80ed1bfb66b73fe
|
|
| BLAKE2b-256 |
c9558bc3c2307a5ad12fffd182310d0f722632f6d8a06916595454bfd86a650a
|