CM

chatmcp/mcprouter

Developer tools
309 stars 0 forks Качество 36 Тренд 36

api router for MCP Servers

Обзор

3. add Proxy URL to MCP Client like Cursor make sure you have set mcp_server_commands.fetch in .env.toml make sure you have set mcp_server_commands.fetch in .env.toml

README

mcprouter

OpenRouter for MCP Servers

Start Proxy Server

  1. edit config file
cp .env.example.toml .env.toml

edit .env.toml as needed.

  1. start proxy server
go run main.go proxy
  1. add Proxy URL to MCP Client like Cursor

http://localhost:8025/sse/fetch

make sure you have set mcp_server_commands.fetch in .env.toml

Start API Server

  1. edit config file
cp .env.example.toml .env.toml

edit .env.toml as needed.

  1. start api server
go run main.go api
  1. request api with curl
curl -X POST http://127.0.0.1:8027/v1/list-tools \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer fetch'

make sure you have set mcp_server_commands.fetch in .env.toml

View this README on GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide