{"id":26937682,"url":"https://github.com/TBXark/mcp-proxy","last_synced_at":"2025-04-02T13:15:49.095Z","repository":{"id":284676070,"uuid":"955698123","full_name":"TBXark/mcp-proxy","owner":"TBXark","description":"An MCP proxy server that aggregates and serves multiple MCP resource servers through a single interface.","archived":false,"fork":false,"pushed_at":"2025-03-27T04:11:46.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T05:22:29.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TBXark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-27T03:47:06.000Z","updated_at":"2025-03-27T04:11:49.000Z","dependencies_parsed_at":"2025-03-27T05:22:32.770Z","dependency_job_id":"bf0e4f7a-a659-44a8-802f-78765158ecc5","html_url":"https://github.com/TBXark/mcp-proxy","commit_stats":null,"previous_names":["tbxark/mcp-proxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fmcp-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fmcp-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fmcp-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fmcp-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TBXark","download_url":"https://codeload.github.com/TBXark/mcp-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819782,"owners_count":20839095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-02T13:15:27.572Z","updated_at":"2025-04-02T13:15:49.081Z","avatar_url":"https://github.com/TBXark.png","language":"Go","funding_links":[],"categories":["Aggregators \u0026 Gateways","📚 Projects (1974 total)","Community Servers","⚙️ DevOps","クライアント","Go","DevOps and CI/CD","Utilities","Table of Contents","MCP Frameworks and libraries"],"sub_categories":["Gateways \u0026 Proxies","MCP Servers","🎧 \u003ca name=\"text-to-speech\"\u003e\u003c/a\u003eテキスト読み上げ","Proxies and Gateways","Other Tools and Integrations","Go"],"readme":"# MCP Proxy Server\n\nAn MCP proxy server that aggregates and serves multiple MCP resource servers through a single HTTP server.\n\n## Features\n\n- **Proxy Multiple MCP Clients**: Connects to multiple MCP resource servers and aggregates their tools and capabilities.\n- **SSE Support**: Provides an SSE (Server-Sent Events) server for real-time updates.\n- **Flexible Configuration**: Supports multiple client types (`stdio` and `sse`) with customizable settings.\n\n## Installation\n\n### Build from Source\n ```bash\ngit clone https://github.com/TBXark/mcp-proxy.git\ncd mcp-proxy\ngo build -o mcp-proxy main.go\n./mcp-proxy --config path/to/config.json\n```\n\n### Install by go\n```bash\ngo install github.com/TBXark/mcp-proxy@latest\n````\n\n### Docker\n\u003e The Docker image supports two MCP calling methods by default: `npx` and `uvx`.\n```bash\ndocker run -d -p 8080:8080 -v /path/to/config.json:/config/config.json ghcr.io/tbxark/mcp-proxy:latest\n```\n\n## Configuration\n\nThe server is configured using a JSON file. Below is an example configuration:\n\n```json\n{\n  \"server\": {\n    \"baseURL\": \"http://localhost:8080\",\n    \"addr\": \":8080\",\n    \"name\": \"MCP Proxy\",\n    \"version\": \"1.0.0\"\n  },\n  \"clients\": {\n    \"fetch\": {\n      \"type\": \"stdio\",\n      \"config\": {\n        \"command\": \"uvx\",\n        \"env\": {},\n        \"args\": [\"mcp-server-fetch\"]\n      }\n    },\n    \"amap\": {\n      \"type\": \"sse\",\n      \"config\": {\n        \"url\": \"https://router.mcp.so/sse/xxxxx\"\n      }\n    }\n  }\n}\n```\n\n- **Server Configuration**:\n  - `baseURL`: The base URL for the SSE server.\n  - `addr`: The address the server listens on.\n  - `name`: The name of the server.\n  - `version`: The version of the server.\n\n- **Clients Configuration**:\n  - `type`: The type of the client (`stdio` or `sse`).\n  - `config`: The specific configuration for the client type.\n\n## Usage\n```\nUsage of mcp-proxy:\n  -config string\n        path to config file or a http(s) url (default \"config.json\")\n  -help\n        print help and exit\n  -version\n        print version and exit\n```\n1. The server will start and aggregate the tools and capabilities of the configured MCP clients.\n2. You can access the server at the specified address (e.g., `http://localhost:8880/fetch/sse`).\n3. If you are worried about URL leakage, you can change the key in `clients` such as `fetch` to a random string, and then access it via `/random-string/sse`.\n\n## Thanks\n\nThis project was inspired by the [adamwattis/mcp-proxy-server](https://github.com/adamwattis/mcp-proxy-server) project\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTBXark%2Fmcp-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTBXark%2Fmcp-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTBXark%2Fmcp-proxy/lists"}