Skip to main content

A Router service for MCP service discovery and routing.

Project description

Aduib MCP Router

项目简介

Aduib MCP Router 是一个多MCP聚合路由器,支持多种MCP协议,旨在简化MCP服务器的管理和使用。

使用

  1. MCP配置
    {
     "mcpServers": {
         "aduib-mcp-router":{
             "command": "uvx",
             "args": ["aduib-mcp-router"],
             "env": {
               "MCP_CONFIG_URL": "./config.json"
             }
         }
       }
    }
    
  2. json配置
    {
        "time": {
            "command": "uvx",
            "args": [
                "mcp-server-time"
            ]
        },
        "aduib_server": {
            "type": "sse",
            "url": "http://10.0.0.169:5002",
            "headers": {
                "Authorization": "Bearer $2b$12$WB2YoxB5CQtPbqN35UDso.of2n7BmDvvQpxmIUdKe2VHO.MAY1u26"
            }
        }
    }
    

开发

  1. 安装环境

    pip install uv
    # Or on macOS
    brew install uv
    # Or on Windows
    choco install uv
    
  2. 安装依赖

    uv sync --dev
    
  3. 初始化数据库

     uv pip install alembic
     alembic -c ./alembic/alembic.ini revision --autogenerate -m "init table"
     alembic -c ./alembic/alembic.ini upgrade head
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aduib_mcp_router-1.0.0.tar.gz (518.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aduib_mcp_router-1.0.0-py3-none-any.whl (409.0 kB view details)

Uploaded Python 3

File details

Details for the file aduib_mcp_router-1.0.0.tar.gz.

File metadata

  • Download URL: aduib_mcp_router-1.0.0.tar.gz
  • Upload date:
  • Size: 518.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for aduib_mcp_router-1.0.0.tar.gz
Algorithm Hash digest
SHA256 93b17dca54f6eceb85539e9469d7293de899b9d3ed7fdc1f447173d28dd0b8cc
MD5 bb7aeac5da28177f72bb38d9fa6ec4df
BLAKE2b-256 f0c5c6fe61c45d2b94ab35c328be0f8ec1696b227f0b17f2267f03a865eab7c7

See more details on using hashes here.

File details

Details for the file aduib_mcp_router-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aduib_mcp_router-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1daadc5455507b3d734599084446e013f4650ef3a56cc0f42e3445f2bbc3fad
MD5 3e1ca2ee217d8633c6bc846017b65f5a
BLAKE2b-256 bd601474224dcc2df40435b6cb604dd4a7391d4c4fc2808137a8e91aabfb212e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page