MCP Server Manager
ThomasRohde
README
MCP Server Manager
A backend Python application that serves both a Model Context Protocol (MCP) interface and a FastAPI web interface for managing MCP servers integrated with Claude Desktop.
Overview
MCP Server Manager allows you to:
- Register and manage MCP servers in a central location
- Enable/disable MCP servers for use with Claude Desktop
- Test server commands before registration
- Restart Claude Desktop after configuration changes
- Start the FastAPI server directly from Claude via MCP
- Access functionality via both a web UI and MCP interface
Prerequisites
- Python 3.13 or higher
- pip (Python package installer)
- Claude Desktop (for full functionality)
Installation
Clone the Repository (if applicable)
git clone https://github.com/yourusername/mcp-commander.git
cd mcp-commander/mcp_server_manager
Create a Virtual Environment
# Using venv
python -m venv .venv
# Activate the virtual environment
# On Windows
.venv\Scripts\activate
# On macOS/Linux
source .venv/bin/activate
Install Dependencies
Choose one of the following methods:
# Using pip with requirements.txt
pip install -r requirements.txt
# OR using pip with pyproject.toml (recommended)
pip install -e .
Running the Application
Web Interface (Recommended)
The web interface provides a user-friendly way to manage your MCP servers.
uvicorn main:app --host 127.0.0.1 --port 8000
Then open your browser and navigate to http://127.0.0.1:8000
--host 127.0.0.1
: Restricts access to localhost only--host 0.0.0.0
: Makes the server accessible from other devices on your network (if needed)--port 8000
: The port on which the application will run
MCP Interface (Optional)
If you need to access the MCP functionality directly (e.g., for integration with Claude Desktop):
python mcp_manager/mcp_server.py
The MCP server runs in stdio mode, which means it reads from standard input and writes to standard output. This is the format expected by the MCP protocol.
MCP Tools
The MCP Server Manager provides the following tools via the Model Context Protocol:
- restart_claude_desktop - Finds, terminates, and restarts the Claude Desktop application
- set_server_enabled_status - Enable or disable an MCP server in Claude Desktop
- install_mcp_server - Register a new MCP server configuration
- start_fastapi_server - Starts the FastAPI server and opens the default web browser to view the UI
Using the start_fastapi_server Tool
With Claude Desktop, you can start the web interface directly by using the MCP tool:
start_fastapi_server
You can also specify a custom port:
start_fastapi_server port=8080
This will:
- Start the FastAPI server in the background
- Open your default web browser to the appropriate URL
- Allow you to manage your MCP servers through the web interface
Integrating with Claude Desktop
To use the MCP Server Manager with Claude Desktop:
- Register your MCP servers using the web interface
- Enable the servers you want to use with Claude
- Restart Claude Desktop either through the web interface or manually
Note: Claude Desktop will need to be configured to recognize the MCP Server Manager if you want to use its MCP capabilities directly. You can add the following to Claude Desktop's config file:
{
"mcpServers": {
"mcp-server-manager": {
"command": "python",
"args": ["path/to/mcp_manager/mcp_server.py"]
}
}
}
File Structure
main.py
: FastAPI web applicationmcp_manager/
: Core modulescore_logic.py
: Shared business logicmcp_server.py
: MCP server implementation
templates/
: HTML templates for the web interfacestatic/
: Static assets (CSS, JS)
Development
For development purposes, you may want to run the server with auto-reload:
uvicorn main:app --reload
This will automatically restart the server when changes are detected in the code.
Logging
Logs for the MCP Server Manager are written to:
C:\Users\<username>\AppData\Local\MCPManager\MCPManager\mcp_server.log
Check this file for debugging information if you encounter any issues with the server.
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
Jira-Context-MCP
MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Sequential Thinking MCP Server
这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。
Curri MCP Server
通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。