Sponsored by Deepsite.site

Master Mcp Server

Created By
Jakedismo4 months ago
Master MCP Server Master MCP Server aggregates multiple MCP servers behind a single, secure endpoint. It provides configuration-driven module loading, unified capability discovery, request routing with resilience, and first-class OAuth flows for multi-backend authentication. # Highlights - Aggregates multiple MCP servers with tool/resource discovery and namespacing - OAuth support: master token pass-through, delegated provider flows, proxy refresh - Config-driven setup with JSON/YAML, schema validation, and secret resolution - Resilient routing: load-balancing, retries with backoff/jitter, circuit-breakers - Cross-platform: Node.js server and Cloudflare Workers runtime - Production-ready deployment: Docker, Cloudflare Workers, Koyeb - Testing strategy and CI-ready structure
Content

Master MCP Server

Master MCP Server aggregates multiple MCP servers behind a single, secure endpoint. It provides configuration-driven module loading, unified capability discovery, request routing with resilience, and first-class OAuth flows for multi-backend authentication.

Highlights

  • Aggregates multiple MCP servers with tool/resource discovery and namespacing
  • OAuth support: master token pass-through, delegated provider flows, proxy refresh
  • Config-driven setup with JSON/YAML, schema validation, and secret resolution
  • Resilient routing: load-balancing, retries with backoff/jitter, circuit-breakers
  • Cross-platform: Node.js server and Cloudflare Workers runtime
  • Production-ready deployment: Docker, Cloudflare Workers, Koyeb
  • Testing strategy and CI-ready structure

Quick Start (Node.js)

  1. Install dependencies (requires network):
npm ci
  1. Configure environment (copy and edit):
cp .env.example .env
  1. Run in dev mode:
npm run dev
  1. Health and Metrics:
  • GET /health{ ok: true }
  • GET /metrics → basic system metrics
  1. MCP endpoints (HTTP gateway):
  • POST /mcp/tools/list
  • POST /mcp/tools/call with { name, arguments }
  • POST /mcp/resources/list
  • POST /mcp/resources/read with { uri }

See docs/ for full guides and end-to-end examples.

Documentation

  • Docs index: docs/index.md
  • Getting started: docs/getting-started/overview.md
  • Guides: docs/guides/*
  • API reference: generated into docs/api/reference/ (see below)
  • Configuration reference: docs/configuration/*
  • Deployment: docs/deployment/*
  • Troubleshooting: docs/troubleshooting/*
  • Contributing: docs/contributing/*

Generate API Docs

We use TypeDoc (Markdown) to generate API docs from TypeScript.

  1. Install (requires network):
npm i -D typedoc typedoc-plugin-markdown
  1. Generate docs:
npm run docs:api

Outputs to docs/api/.

Examples

Working examples live in examples/:

  • Basic Node: examples/basic-node
  • Cloudflare Worker: examples/cloudflare-worker
  • Advanced Routing: examples/advanced-routing
  • OAuth Delegation: examples/oauth-delegation
  • Testing Patterns: see /tests and docs/examples/testing.md

Each example has a README with run instructions.

Deployment

  • Docker: deploy/docker/* and top-level Dockerfile / docker-compose.yml
  • Cloudflare Workers: deploy/cloudflare/* with wrangler.toml
  • Koyeb: deploy/koyeb/koyeb.yaml
  • CI/CD examples: see docs/deployment/cicd.md

Architecture

MCP Master Architecture

Contributing & Support

  • See docs/contributing/* for development workflow and guidelines
  • See docs/troubleshooting/index.md for solutions
  • Open an issue or discussion for help and ideas

License

See LICENSE. This repository currently uses UNLICENSED for private/internal use.

Server Config

{
  "mcpServers": {
    "master-mcp-server": {
      "url": "http://localhost:3000"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
Playwright McpPlaywright MCP server
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.