服务器检查工具

MCP服务器检查工具,用于配置和运行Python服务器,支持自定义工具开发。

  • by acnlabs
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 ACNet-AI/mcp-inspector-server

使用说明

mcp检查器服务器

MCP服务器:MCP检查器服务器

快速开始

# Install dependencies
uv sync

# Start server
uv run python server.py

配置

添加到您的Claude桌面配置(claude_desktop_config.json):

{
  "mcpServers": {
    "mcp-inspector-server": {
      "command": "uv",
      "args": ["run", "python", "server.py"],
      "cwd": "/path/to/mcp-inspector-server"
    }
  }
}

项目结构

mcp-inspector-server/
├── config.yaml          # Server configuration
├── pyproject.toml       # Python project configuration
├── server.py            # Server entry file
├── README.md            # Documentation
├── CHANGELOG.md         # Version change log
├── .env                 # Environment variables configuration
├── .gitignore           # Git ignore file
├── tools/               # Tools implementation directory
├── resources/           # Resources implementation directory
└── prompts/             # Prompt template directory

发展

编辑 server.py 添加您的功能:

@server.tool()
def my_tool(arg: str) -> str:
    """Tool description"""
    return f"Result: {{arg}}"

产生于 MCP工厂