MCP server: mcp-inspector-server
# Install dependencies
uv sync
# Start server
uv run python server.pyAdd to your Claude Desktop config (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
Edit server.py to add your functionality:
@server.tool()
def my_tool(arg: str) -> str:
"""Tool description"""
return f"Result: {{arg}}"Generated by MCP Factory