{"type":"mcp_server","name":"mcprouter","description":"The mcprouter repository provides a proxy and API server for MCP (Managed Configuration Protocol) servers, enabling interaction with MCP clients like Cursor by routing requests and managing configurations through a defined API.","category":"Communication","language":"Go","stars":308,"forks":30,"owner":"chatmcp","github_url":"https://github.com/chatmcp/mcprouter","homepage":"https://mcp.so","setup":"## Setup\n\n**Start Proxy Server**\n\n1.  edit config file\n\n```shell\ncp .env.example.toml .env.toml\n```\n\nedit `.env.toml` as needed.\n\n2.  start proxy server\n\n```shell\ngo run main.go proxy\n```\n\n3.  add Proxy URL to MCP Client like Cursor\n\n`http://localhost:8025/sse/fetch`\n\nmake sure you have set `mcp_server_commands.fetch` in `.env.toml`\n\n**Start API Server**\n\n1.  edit config file\n\n```shell\ncp .env.example.toml .env.toml\n```\n\nedit `.env.toml` as needed.\n\n2.  start api server\n\n```shell\ngo run main.go api\n```\n\n3.  request api with curl\n\n```shell\ncurl -X POST http://127.0.0.1:8027/v1/list-tools \\\n-H 'Content-Type: application/json' \\\n-H 'Authorization: Bearer fetch'\n```\n\nmake sure you have set `mcp_server_commands.fetch` in `.env.toml`","tools":"## Available Tools\n\n1. Proxy Server (OpenRouter for MCP Servers)\n2. API Server (Provides an API endpoint for interacting with the MCP server)","faq":null,"created_at":"2025-03-13T14:57:50+00:00","updated_at":"2025-03-28T20:23:42+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-api-proxy-configuration-router","related_articles":[]}