Back to MCP directory
publicPublicdnsLocal runtime

skydeckai_mcp-server-aidd

AiDD MCP Server是一个为AI驱动的开发工作流提供全面工具的服务,包含文件操作、代码分析、Git管理、代码执行和系统信息获取等功能,旨在增强AI在软件开发中的辅助能力。

article

README

🚀 AiDD CLI 使用文档

AiDD CLI 是一款强大的命令行工具,它能帮助开发者高效完成各类任务。支持文件管理、代码执行、系统信息查询等操作,还内置了安全机制,可防范路径遍历等潜在安全风险。

🚀 快速开始

请参考 官方文档 进行安装和配置。

💻 使用示例

基础用法

列出所有工具

aidd-cli --list-tools

启用调试输出

aidd-cli --debug --tool <tool_name> --args '<json_arguments>'

配置文件

配置文件位于 ~/.aidd/config.json,格式如下:

{
    "allowed_directory": "/path/to/workspace"
}

高级用法

文件管理

创建新文件
aidd-cli --tool create-file --args '{"file_name": "new_file.txt", "content": "Hello, World!"}'
读取文件内容
aidd-cli --tool read-file --args '{"file_path": "/path/to/file.txt"}'
写入文件内容
aidd-cli --tool write-file --args '{"file_path": "/path/to/file.txt", "content": "New content"}'

代码执行

执行Python代码
aidd-cli --tool execute_code --args '{"language": "python", "code": "print(\"Hello, World!\")"}'
执行JavaScript代码
aidd-cli --tool execute_code --args '{"language": "javascript", "code": "console.log(\"Hello, JavaScript!\");"}'

系统信息查询

获取系统信息
aidd-cli --tool get_system_info

🔧 技术细节

  • 所有操作均限制在配置的允许目录内
  • 防止路径遍历攻击
  • 保留文件权限
  • 处理操作安全可靠

📄 许可证

本项目采用 MIT License 许可协议,详见 LICENSE

⚠️ 重要提示

目前项目处于积极开发阶段,功能和 API 可能会发生变化。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client