Skip to main content

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


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.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

readmodule-0.1.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file readmodule-0.1.3.tar.gz.

File metadata

  • Download URL: readmodule-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for readmodule-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f36bc37bc45c16596404bd1a21b5bcf1a7e81e0ee2b42e0794214b25be2118b6
MD5 a3e0fdf948d8104f1356e402b5753dc1
BLAKE2b-256 a0bab3024819bcdb2302d085c23216943f276a5e6d70833b8884bcca85dcb1b6

See more details on using hashes here.

File details

Details for the file readmodule-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: readmodule-0.1.3-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

Hashes for readmodule-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f83b15eff49e616312df7e117599c49c5b51c1232703b9dd5699d7215b7cfa78
MD5 61f23f0671ab728a248c1076b21050a0
BLAKE2b-256 03386da4856577dabfa5bf131b556188998b9b62dcc386966b604b28e4078734

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page