dream-ai-4444/mcp 是从 https://github.com/dream-ai-4444/mcp. 导入的 MCP 服务器候选服务器。
概览
dream-ai-4444/mcp 是从 https://github.com/dream-ai-4444/mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
Hanzo AI + 平台通过模型上下文协议(MCP)实现功能。
概述
该项目提供了一个MCP服务器,支持访问Hanzo的API和平台功能,同时提供管理和改进项目的开发工具。通过利用模型上下文协议,该服务器实现了与包括Claude Desktop在内的多种MCP客户端的无缝集成,使大型语言模型能够直接访问Hanzo平台的功能。
特色
- 代码理解:通过文件访问和模式搜索分析和理解代码库
- 代码修改:对文件进行针对性的编辑,并处理适当的权限
- 增强命令执行:以多种语言运行命令和脚本,改进错误处理和壳层支持
- 文件操作:通过shell命令管理文件,进行适当的安全控制
- 代码发现:在项目中查找相关文件和代码模式
- 项目分析:理解项目结构、依赖关系和框架
- Jupyter 笔记本支持:读取和编辑具备完整单元格和输出处理的 Jupyter 笔记本
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Hanzo MCP
Hanzo AI + Platform capabilities via the Model Context Protocol (MCP).
Overview
This project provides an MCP server that enables access to Hanzo APIs and Platform capabilities, as well as providing development tools for managing and improving projects. By leveraging the Model Context Protocol, this server enables seamless integration with various MCP clients including Claude Desktop, allowing LLMs to directly access Hanzo’s platform functionality.
Features
- Code Understanding: Analyze and understand codebases through file access and pattern searching
- Code Modification: Make targeted edits to files with proper permission handling
- Enhanced Command Execution: Run commands and scripts in various languages with improved error handling and shell support
- File Operations: Manage files with proper security controls through shell commands
- Code Discovery: Find relevant files and code patterns across your project
- Project Analysis: Understand project structure, dependencies, and frameworks
- Jupyter Notebook Support: Read and edit Jupyter notebooks with full cell and output handling
- Vector Search: Semantic search of your codebase with multiple embedding provider options
Tools Implemented
| Tool | Description |
|---|---|
read_files |
Read one or multiple files with encoding detection |
write_file |
Create or overwrite files |
edit_file |
Make line-based edits to text files |
directory_tree |
Get a recursive tree view of directories |
get_file_info |
Get metadata about a file or directory |
search_content |
Search for patterns in file contents |
content_replace |
Replace patterns in file contents |
run_command |
Execute shell commands (also used for directory creation, file moving, and directory listing) |
run_script |
Execute scripts with specified interpreters |
script_tool |
Execute scripts in specific programming languages |
安装
uvx --from hanzo-mcp hanzo-mcp --allow-path /path/to/your/project配置
{
"mcpServers": {
"hanzo": {
"command": "uvx",
"args": [
"--from",
"hanzo-mcp",
"hanzo-mcp",
"--allow-path",
"/path/to/your/project"
]
}
}
}