zread-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZREAD_TOKEN | No | Optional token for advanced features like AI问答 and file fetching. Obtain from https://zread.ai. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_documentation_pageA | 获取仓库文档的指定页面内容。 根据页面 slug(URL 标识符)获取该页面的完整 Markdown 文档内容。 适用于读取特定章节或页面的详细内容。 返回的 Markdown 页面内容中可能包含两种链接格式:
|
| search_documentationB | 在仓库文档中搜索关键词。 全文搜索仓库文档,返回包含关键词的页面和相关内容片段。 适用于快速定位文档中的特定信息。 |
| get_documentation_outlineA | 获取仓库文档的完整目录结构。 返回仓库的文档目录树,包含所有页面的标题、slug 和层级关系。 首次调用会自动提交索引请求,如果仓库未被索引会返回等待状态。 |
| discover_repositoriesB | 发现推荐的代码仓库。 获取 Zread.ai 推荐的优质代码仓库,可按技术主题筛选。 适用于发现新工具、学习优秀项目。 |
| find_repositoriesC | 搜索代码仓库。 根据关键词模糊搜索已索引的代码仓库。 支持仓库名称、描述、主题等字段的模糊匹配。 |
| get_trending_repositoriesA | 获取本周热门仓库榜单。 获取 GitHub 本周最受欢迎的代码仓库列表,按热度排序。 适用于了解技术趋势和热门项目。 |
| check_repository_statusA | 检查仓库索引状态。 查询指定仓库在 Zread.ai 的索引状态和基本信息。 返回的 status 字段: "success"(已索引), "progress"(索引中) |
| ask_repo_aiA | 向仓库 AI 助手提问(AI 调用 AI)。 此工具让当前的 AI 通过 MCP 协议调用另一个专门的仓库 AI 助手来回答问题。 被调用的 AI 助手基于仓库文档内容进行分析,并回答你的问题。 被调用的 AI 助手拥有的工具:
如果需要分析特定文件或目录结构,可以在问题中显式要求 AI 使用上述工具进行回复。 对于仓库代码的复杂需求,应该优先使用此工具,如果有多个问题可并行调用。 适用于理解项目架构、使用方法、代码示例等复杂问题。 支持的 AI 模型: glm-4.7 (默认), claude-sonnet-4.5 返回的 Markdown 回答内容中可能包含两种链接格式:
|
| fetch_repository_fileA | 获取仓库内的源代码文件内容。 读取指定仓库中的文件内容,支持按行号范围截取。 内部自动通过 repo_path 获取 repo_id。 适用于查看源代码、配置文件等。 示例:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_project | 分析项目结构和特点 |
| compare_projects | 对比两个项目的差异 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| weekly-trending | 本周热门仓库榜单 |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ejfkdev/zread-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server