Logo MCPDog

MCPDog

Cộng đồng
kinhunt

🐕 Universal MCP Server Manager - Configure once, manage multiple MCP servers through a single interface. Perfect for Claude Desktop, Claude Code, Cursor, Gemini CLI & AI assistants. Web dashboard, auto-detection, unified proxy layer.

Nhà phát hànhkinhunt
Kho mãmcpdog
Ngôn ngữTypeScript
Bản fork
4
Sao
20
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCPDog cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    20 sao và 4 bản fork từ kho mã được liên kết.

MCPDog 🐕

Universal MCP Server Manager - Configure Once, Manage Everything!

License: MIT Node.js

MCPDog is a powerful MCP (Model Context Protocol) server manager that allows you to use multiple MCP servers through a single interface. Perfect for MCP clients like Claude Desktop, Cursor, and other AI assistants that support MCP.

🏗️ Architecture Overview

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   MCP Client:   │    │   MCP Client:   │    │   MCP Client:   │
│     (Claude)    │    │    (Cursor)     │    │   (Gemini CLI)  │
└─────────┬───────┘    └─────────┬───────┘    └─────────┬───────┘
          │                      │                      │
          └──────────────────────┼──────────────────────┘
                                 │
                    ┌─────────────▼─────────────┐
                    │         MCPDog            │
                    │   (Single Entry Point)    │
                    └────────────┬──────────────┘
                                 │
          ┌──────────────────────┼──────────────────────┐
          │                      │                      │
    ┌─────▼─────┐         ┌──────▼──────┐         ┌─────▼─────┐
    │MCP Server:│         │ MCP Server: │         │MCP Server:│
    │  GitHub   │         │   Memory    │         │ Puppeteer │
    └───────────┘         └─────────────┘         └───────────┘

Key Benefits of This Architecture:

  • 🔗 One-Time Setup: Configure MCPDog once, use all servers
  • 🔄 Unified Interface: All MCP servers appear as one server to clients
  • ⚡ Smart Routing: MCPDog routes tool calls to the appropriate server
  • 🌐 Protocol Flexibility: Supports stdio, HTTP SSE, and Streamable HTTP for both client and server connections
  • 📊 Centralized Management: Monitor and manage all servers from web dashboard
  • 🛡️ Fault Tolerance: If one server fails, others continue working
  • 🎯 Simplified Workflow: No need to configure each server separately in your client

🎯 What MCPDog Does

MCPDog acts as a proxy layer that combines multiple MCP servers into one unified interface. Instead of configuring each MCP server separately in your client, you configure MCPDog once and it manages all your servers for you.

Key Benefits

  • 🔄 Single Configuration - Configure once, use many servers
  • 🌐 Web Dashboard - Manage servers visually through web interface
  • ⚡ Auto-Detection - Automatically detects optimal protocols for each server
  • 🔧 Easy Management - Add, remove, and configure servers via CLI or web
  • 📊 Real-time Monitoring - See server status and tool availability in real-time
  • 🌍 Multiple Transports - Support for both stdio and HTTP-based communication

🚀 Quick Start

Choose the deployment method that best fits your needs:

Prerequisites

  • Node.js >= 18
  • An MCP client (Claude Desktop, Cursor, etc.)

📋 Three Deployment Options

1. 🏠 Local Development (Simplest - Recommended)

Perfect for local development and personal use. MCPDog runs automatically when your MCP client starts.

Step 1: Configure your MCP client (Claude Desktop/Cursor)

json
{
  "mcpServers": {
    "mcpdog": {
      "command": "npx",
      "args": ["mcpdog@latest"]
    }
  }
}

Step 2: Open dashboard to add MCP servers

  • Visit http://localhost:38881 when MCPDog is running
  • Use the web interface to add and configure your MCP servers
  • Configuration saved to ~/.mcpdog/mcpdog.config.json

That's it! MCPDog starts automatically with your MCP client and manages all your servers.


2. 🐳 Local Docker (Controlled Environment)

Run MCPDog in a Docker container for isolated, controlled environments without authentication.

Step 1: Build and start MCPDog container

bash
# Build the image (this may take a few minutes)
docker build -t mcpdog .

# Start the container with proper config mounting
docker run -d --name mcpdog \
  -p 38881:38881 -p 4000:4000 \
  -v ~/.mcpdog:/home/appuser/.mcpdog \
  mcpdog

# Check container status and logs
docker ps --filter name=mcpdog
docker logs -f mcpdog --tail 20

Important: The container expects the config file at /home/appuser/.mcpdog/mcpdog.config.json. The volume mount -v ~/.mcpdog:/home/appuser/.mcpdog ensures your local config directory is properly mapped to the container's expected location.

Step 2: Configure your MCP client to use HTTP transport

json
{
  "mcpServers": {
    "mcpdog-http": {
      "type": "streamable-http",
      "url": "http://localhost:4000"
    }
  }
}

Step 3: Manage via web dashboard

  • Visit http://localhost:38881 to configure servers
  • No authentication required for local Docker setup

3. ☁️ Cloud Deployment

Deploy MCPDog to the cloud for access across different development environments with authentication.

Step 1: Deploy container to cloud with authentication

bash
# Build the image
docker build -t mcpdog .

# Deploy to cloud
docker run -d --name mcpdog-cloud \
  -p 38881:38881 -p 4000:4000 \
  -e MCPDOG_AUTH_TOKEN=your_secure_token_here \
  -v /path/to/config:/home/appuser/.mcpdog \
  mcpdog

Step 2: Configure your MCP client with authentication

json
{
  "mcpServers": {
    "mcpdog-http": {
      "type": "streamable-http",
      "url": "https://your-cloud-domain.com:4000",
      "headers": {
        "Authorization": "Bearer your_secure_token_here"
      }
    }
  }
}

Step 3: Access authenticated web dashboard

  • Visit https://your-cloud-domain.com:38881
  • Login with your authentication token
  • Manage servers across all your development environments

🌐 Web Dashboard Features

Once MCPDog is running (any deployment method), use the web dashboard to:

  • Add new MCP servers with auto-detection
  • Monitor server status in real-time
  • Enable/disable tools as needed
  • View server logs and performance metrics
  • Generate client configurations for easy copy-paste setup
  • Export configurations for team sharing

🎯 Choose Your Method

MethodBest ForSetup ComplexitySecurity
Local DevelopmentPersonal use, quick start⭐ SimpleLocal only
Local DockerIsolated environments, testing⭐⭐ MediumContainerized
Cloud DeploymentTeam use, multi-environment⭐⭐⭐ AdvancedAuthenticated

🎯 Configure Once, Manage Everything!

📖 Usage Guide

Managing Servers

List All Servers

bash
npx mcpdog@latest config list

Add a New Server

bash
# Basic server with auto-detection
npx mcpdog@latest config add my-server "npx @some/mcp-server@latest" --auto-detect

# HTTP server
npx mcpdog@latest config add api-server https://api.example.com --transport streamable-http

# With custom timeout
npx mcpdog@latest config add slow-server "npx @slow/mcp-server@latest" --timeout 60000

Update Server Configuration

bash
npx mcpdog@latest config update my-server --timeout 45000 --description "Updated description"

Remove a Server

bash
npx mcpdog@latest config remove old-server

Show Server Details

bash
npx mcpdog@latest config show my-server

Server Management Commands

Check Status

bash
npx mcpdog@latest status

Detect Protocols

bash
# Detect for all servers
npx mcpdog@latest detect --all

# Detect for specific server
npx mcpdog@latest detect my-server

Optimize Performance

bash
# Preview optimizations
npx mcpdog@latest optimize --all --preview

# Apply optimizations
npx mcpdog@latest optimize --all --apply

Run Diagnostics

bash
# Health check
npx mcpdog@latest diagnose --health-check

# Auto-fix issues
npx mcpdog@latest diagnose --fix

Daemon Management

Start Daemon

bash
# Start with default settings
npx mcpdog@latest daemon start

# Start with custom web port
npx mcpdog@latest daemon start --web-port 38881

# Start in background
npx mcpdog@latest daemon start --background

Stop Daemon

bash
npx mcpdog@latest daemon stop

Check Daemon Status

bash
npx mcpdog@latest daemon status

🌐 Web Dashboard

The web dashboard provides a visual interface for managing your MCP servers:

Features

  • Server Status - Real-time connection status and tool counts
  • Tool Management - Enable/disable individual tools
  • Configuration Editor - Edit server settings in the browser
  • Live Logs - View real-time server logs
  • Performance Metrics - Monitor response times and errors
  • Client Config Generator - Generate configurations for your MCP client

Access Dashboard

  1. Start the daemon: npx mcpdog@latest daemon start --web-port 38881
  2. Open http://localhost:38881 in your browser
  3. Manage your servers visually

Note: The daemon will continue running in the background. To stop it, use npx mcpdog@latest daemon stop.

🔧 Configuration

Configuration Files

MCPDog uses configuration files to store server settings:

  • Default: ~/.mcpdog/mcpdog.config.json (recommended)
  • Local: ./mcpdog.config.json
  • Custom: Specify with --config flag

Tip: The default configuration file is stored in the ~/.mcpdog/ directory:

  • macOS/Linux: /Users/username/.mcpdog/
  • Windows: C:\Users\username\.mcpdog\

This is the recommended location for storing your server configurations across all platforms.

Configuration Format

json
{
  "version": "2.0.0",
  "servers": {
    "playwright": {
      "name": "playwright",
      "enabled": true,
      "transport": "stdio",
      "command": "npx",
      "args": ["@playwright/mcp@latest"],
      "timeout": 30000,
      "retries": 3,
      "toolsConfig": {
        "mode": "all"
      }
    }
  }
}

🛠️ Supported Transport Protocols

MCPDog supports multiple transport protocols for both client connections and server connections:

Client Connection Protocols

stdio (default)

  • Standard input/output communication
  • Perfect for traditional MCP clients (Claude Desktop, Cursor)
  • Direct process communication with lowest latency
  • Recommended for most use cases
bash
# Start with stdio (default)
npx mcpdog@latest

# Or explicitly specify stdio
npx mcpdog@latest --transport stdio

Streamable HTTP

  • HTTP-based JSON-RPC communication
  • Compatible with web-based and HTTP-capable clients
  • CORS-enabled for browser access
  • Health check endpoint included
bash
# Start HTTP server on default port 4000
npx mcpdog@latest --transport streamable-http

# Start HTTP server on custom port
npx mcpdog@latest --transport streamable-http --port 8080

# Or using proxy command
npx mcpdog@latest proxy --transport streamable-http --port 4000

HTTP Endpoints:

  • GET / - Health check endpoint
  • POST / - MCP JSON-RPC endpoint

New Unified Commands (v2.0.17+)

The new start command provides a unified way to launch all MCPDog services:

bash
# Start everything: stdio + HTTP + dashboard
npx mcpdog@latest start

# Customize ports  
npx mcpdog@latest start --dashboard-port 3001 --mcp-http-port 4001

# Only specific services
npx mcpdog@latest start --stdio-only      # stdio + dashboard
npx mcpdog@latest start --http-only       # HTTP + dashboard
npx mcpdog@latest start --no-dashboard    # transports only

Server Connection Protocols (for connecting to MCP servers)

stdio

  • Direct process communication
  • Best for local servers
  • Lowest latency

HTTP SSE (Server-Sent Events)

  • Real-time streaming
  • Good for remote servers
  • Browser-compatible

Streamable HTTP

  • HTTP-based streaming
  • Compatible with most HTTP clients
  • Good for cloud services

📊 Troubleshooting

Known Issues

Playwright MCP Compatibility

⚠️ Known Issue: Playwright MCP server (@playwright/mcp) does not work reliably with MCPDog's stdio subprocess environment. This is due to Playwright's internal behavior when detecting non-interactive environments, causing it to enter "silent mode" and preventing proper tool execution.

Workaround: Use Playwright MCP directly if browser automation is needed, or consider alternative browser automation servers like @browsermcp/mcp which are compatible with MCPDog.

Root Cause: Playwright detects the subprocess execution environment and disables its core functionality, resulting in tool call timeouts despite successful MCP protocol handshakes.

Common Issues

Server Not Starting

bash
# Check server status
npx mcpdog@latest status

# Run diagnostics
npx mcpdog@latest diagnose --health-check

# Check logs
npx mcpdog@latest daemon logs

Tools Not Available

bash
# Detect protocols
npx mcpdog@latest detect --all

# Check tool availability
npx mcpdog@latest config show my-server

Connection Issues

bash
# Test server connection
npx mcpdog@latest diagnose --connectivity

# Auto-fix issues
npx mcpdog@latest diagnose --fix

Getting Help

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


MCPDog - Your loyal companion for MCP server management! 🐕🦴

"Good dog! Now fetch me that perfect MCP configuration!"

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "kinhunt-mcpdog": {
      "command": "npx",
      "args": [
        "-y",
        "mcpdog"
      ]
    }
  }
}

Dùng MCP MCPDog với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCPDog, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCPDog làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCPDog.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "kinhunt-mcpdog": {
      "command": "npx",
      "args": [
        "-y",
        "mcpdog"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCPDog, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCPDog.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCPDog giúp tôi làm việc này không?
MCPDog
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCPDog.

Câu hỏi thường gặp

Máy chủ MCP MCPDog dùng để làm gì?

MCPDog là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCPDog với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCPDog với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCPDog với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCPDog, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCPDog với TypingMind?

MCPDog hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCPDog cung cấp những công cụ nào trong TypingMind?

MCPDog cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCPDog không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCPDog yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇