mcp-server-orchestrator
- Repo stars 0
- Author repo skills-registry
MCP Server Orchestrator
Manage MCP server infrastructure for AI-powered development workflows.
MCP Architecture Overview
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ MCP Client │────▶│ MCP Server │────▶│ External APIs │
│ (Claude, etc.) │◀────│ (Tool Provider) │◀────│ (Services) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│ │
└───── JSON-RPC ────────┘
Key concepts:
- Server: Provides tools, resources, and prompts via MCP protocol
- Client: Consumes server capabilities (Claude Desktop, Claude Code, etc.)
- Transport: Communication layer (stdio, SSE, WebSocket)
Configuration Locations
| Client | Config File | Platform |
|---|---|---|
| Claude Desktop | claude_desktop_config.json |
macOS: ~/Library/Application Support/Claude/ |
Windows: %APPDATA%\Claude\ |
||
| Claude Code | settings.json or MCP config |
Project-level or user settings |
| Cline | cline_mcp_settings.json |
VS Code extension settings |
Server Configuration Schema
{
"mcpServers": {
"server-name": {
"command": "executable",
"args": ["arg1", "arg2"],
"env": {
"API_KEY": "value"
},
"disabled": false
}
}
}
Common Server Types
Python Server (uvx):
{
"my-python-server": {
"command": "uvx",
"args": ["--from", "package-name", "server-command"]
}
}
Node Server (npx):
{
"my-node-server": {
"command": "npx",
"args": ["-y", "@scope/package-name"]
}
}
Local Development Server:
{
"dev-server": {
"command": "python",
"args": ["-m", "my_server"],
"env": {
"DEBUG": "true"
}
}
}
Troubleshooting Workflow
Connection Issues
Verify server starts independently:
# Test Python server python -m my_server # Test Node server npx -y @scope/package-nameCheck logs:
- Claude Desktop:
~/Library/Logs/Claude/mcp*.log - Look for JSON-RPC errors, connection timeouts
- Claude Desktop:
Validate JSON config:
python -c "import json; json.load(open('config.json'))"Common fixes:
- Use absolute paths for commands
- Ensure dependencies installed in correct environment
- Check API keys/env vars are set
- Restart client after config changes
Authentication Issues
- OAuth flows: Ensure redirect URIs configured correctly
- API keys: Verify env vars accessible to server process
- Token refresh: Check token storage location and permissions
Building Custom Servers
Python Server (FastMCP)
from fastmcp import FastMCP
mcp = FastMCP("my-server")
@mcp.tool()
def my_tool(param: str) -> str:
"""Tool description for the AI."""
return f"Result: {param}"
@mcp.resource("resource://my-data")
def get_data() -> str:
"""Provide data as a resource."""
return "Resource content"
if __name__ == "__main__":
mcp.run()
Node Server (MCP SDK)
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
const server = new Server({ name: "my-server", version: "1.0.0" }, {
capabilities: { tools: {} }
});
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [{
name: "my_tool",
description: "Tool description",
inputSchema: { type: "object", properties: { param: { type: "string" } } }
}]
}));
const transport = new StdioServerTransport();
await server.connect(transport);
Multi-Server Orchestration
Modular Architecture
Organize servers by domain:
{
"mcpServers": {
"filesystem": { "command": "...", "args": ["--allowed-dirs", "/projects"] },
"database": { "command": "...", "env": { "DB_URL": "..." } },
"api-integrations": { "command": "...", "env": { "API_KEYS": "..." } },
"custom-tools": { "command": "python", "args": ["-m", "my_tools"] }
}
}
Server Selection Strategy
Think of servers as modules in a synthesizer—patch them together based on workflow needs:
- Development workflow: filesystem + git + code-analysis servers
- Research workflow: web-search + document + note-taking servers
- Data workflow: database + visualization + export servers
Performance Optimization
- Lazy loading: Only enable servers needed for current task
- Caching: Implement response caching for expensive operations
- Timeout tuning: Adjust timeouts for slow external APIs
- Connection pooling: Reuse connections in database servers
References
references/server-templates.md- Boilerplate for common server typesreferences/debugging-guide.md- Detailed troubleshooting procedures
<!-- tomevault:4.0:skill_md:2026-05-23 -->Source: a-organvm/a-i--skills — distributed by TomeVault.
- Fluxly category
- DevOps
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Manual integration
- External API key
- Required · Vendor-specific
- Detected OS requirements
- macOS · Windows
- Runtime requirements
- Node.js · Python
- Detected file/system behavior
-
- Read-only
- Shell exec
- Env read
- Detected network behavior
- External requests
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Key concepts: Server: Provides tools, resources, and prompts via MCP protocol Client: Consumes server capabilities (Claude Desktop, Claude Code, etc.)
Client · Config File · Platform Claude Desktop · claudedesktopconfig.json · macOS: ~/Library/Application Support/Claude/ Windows: %APPDATA%\Claude\
Server Configuration Schema
Python Server (uvx): Node Server (npx): Local Development Server:
Troubleshooting Workflow
Verify server starts independently: Check logs: Claude Desktop: ~/Library/Logs/Claude/mcp.log
# MCP Server Orchestrator
Manage MCP server infrastructure for AI-powered development workflows.
## MCP Architecture Overview
```
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ MCP Client │────▶│ MCP Server │────▶│ External APIs │
│ (Claude, etc.) │◀────│ (Tool Provider) │◀────│ (Services) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│ │
└───── JSON-RPC ────────┘
```
**Key concepts:**
- **Server**: Provides tools, resources, and prompts via MCP protocol
- **Client**: Consumes server capabilities (Claude Desktop, Claude Code, etc.)
- **Transport**: Communication layer (stdio, SSE, WebSocket)
## Configuration Locations
| Client | Config File | Platform |
|--------|------------|----------|
| Claude Desktop | `claude_desktop_config.json` | macOS: `~/Library/Application Support/Claude/` |
| | | Windows: `%APPDATA%\Claude\` |
| Claude Code | `settings.json` or MCP config | Project-level or user settings |
| Cline | `cline_mcp_settings.json` | VS Code extension settings |
## Server Configuration Schema
```json
{
"mcpServers": {
"server-name": {
"command": "executable",
"args": ["arg1", "arg2"],
"env": {
"API_KEY": "value"
},
"disabled": false
}
}
}
```
### Common Server Types
**Python Server (uvx)**:
```json
{
"my-python-server": {
"command": "uvx",
"args": ["--from", "package-name", "server-command"]
}
}
```
**Node Server (npx)**:
```json
{
"my-node-server": {
"command": "npx",
"args": ["-y", "@scope/package-name"]
}
}
```
**Local Development Server**:
```json
{
"dev-server": {
"command": "python",
"args": ["-m", "my_server"],
"env": {
"DEBUG": "true"
}
}
}
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> MCP Architecture Overview → Configuration Locations → Server Configuration Schema → Common Server Types → Troubleshooting Workflow → Connection Issues
terms -> Key concepts · Server · Client · Transport · Python Server (uvx) · Node Server (npx) · Local Development Server · Verify server starts independently
files/cmd -> claudedesktopconfig.json · ~/Library/Application Support/Claude/ · %APPDATA%\Claude\ · settings.json · clinemcpsettings.json · ~/Library/Logs/Claude/mcp.log · references/server-templates.md · references/debugging-guide.md
body sha256 -> aebe07c5f176
Decide Fit First
Design Intent
How To Use It
Boundaries And Review