mcp-access-point
Turn a web server into an MCP server in one click without making any code changes.
claude mcp add --transport stdio sxhxliang-mcp-access-point cargo run -- -c config.yaml
How to use
MCP Access Point is a lightweight gateway that translates between HTTP services and MCP clients. It runs as a Rust-based proxy built on Pingora, enabling MCP clients to access existing HTTP endpoints without modifying the HTTP services themselves. The gateway supports two transport modes: SSE for streaming server-sent events and Streamable HTTP for standard HTTP requests routed via MCP paths. Each MCP service is exposed under tenant-specific paths such as /api/{service-id}/sse (for SSE) or /api/{service-id}/mcp (for Streamable HTTP). The tool is designed for multi-tenancy, allowing independent configuration and routing per MCP service, and it can be configured at runtime via a YAML file specified with -c config.yaml. You can also debug and inspect MCP traffic with the Inspector tool when needed.
To use it, clone the repository, build the project, and run the server with a reference config.yaml. After starting, use the configured endpoints to route requests to your HTTP backends. For debugging or development, you can connect an MCP client such as Cursor Desktop to IP:PORT/sse or IP:PORT/mcp depending on the transport mode you’re using, and point it at the appropriate service id under /api. The gateway will proxy and convert the protocols automatically, enabling MCP clients to invoke standard HTTP APIs transparently.
How to install
Prerequisites:
- Rust toolchain (Rustup, cargo)
- Git
- A supported OpenAPI specification or upstream HTTP services to proxy (as referenced in your config.yaml)
Installation steps:
- Install Rust and Git (if not already installed)
- macOS: install Xcode Command Line Tools and run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Linux: sudo apt-get update && sudo apt-get install -y build-essential curl; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Windows: install Rust via rustup from https://rustup.rs
- Clone the repository git clone https://github.com/sxhxliang/mcp-access-point.git cd mcp-access-point
- Build and run with your config
- Create or edit config.yaml with your mcps and upstreams configuration
- Run the server (from project root):
cargo run -- --help
Then start with your config:
cargo run -- -c config.yaml
- Optional: validate with Inspector
- In another terminal, start the Inspector and connect to the gateway to observe MCP traffic:
npx @modelcontextprotocol/inspector node build/index.js
Access http://127.0.0.1:6274/ and connect to your gateway via SSE at /sse or mcp at /mcp
- In another terminal, start the Inspector and connect to the gateway to observe MCP traffic:
npx @modelcontextprotocol/inspector node build/index.js
Notes:
- The -c flag controls the path to the YAML configuration file that defines mcps and upstreams.
- The gateway supports multi-tenancy so you can define multiple mcps in a single config.yaml and expose them under /api/{service-id}/sse and /api/{service-id}/mcp.
Additional notes
Tips and common issues:
- Ensure the config.yaml correctly references upstreams and that the host/port definitions in the upstreams match your backends.
- When using SSE, make sure clients connect to ip:port/sse and target the correct /api/{service-id}/sse endpoint.
- For Streamable HTTP, the endpoint is ip:port/mcp with the corresponding /api/{service-id}/mcp path.
- If you modify config.yaml at runtime, you can often avoid restarting the service depending on your runtime configuration features; otherwise, a restart will reload the configuration.
- If you run behind a firewall or NAT, expose the correct IP:PORT in config and ensure TLS termination is handled if needed.
- You can enable runtime configuration management and Admin API features from your config to adjust routes and upstreams without downtime.
Related MCP Servers
narsil
Rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more
forgemax
Code Mode inspired local sandboxed MCP Gateway - collapses N servers x M tools into 2 tools (~1,000 tokens)
turbomcp
A full featured, enterprise grade rust MCP SDK
mcp-center
A centralized platform for managing and connecting MCP servers. MCP Center provides a high-performance proxy service that enables seamless communication between MCP clients and multiple MCP servers.
mcp-proxy
Fast rust MCP proxy between stdio and SSE
solana
solana mcp sever to enable solana rpc methods