Quickstart
This guide uses bearer token authentication for simplicity. For production deployments with OAuth, see the Identity Providers guide.
1. Create a config file
Section titled “1. Create a config file”Create config.json:
{ "version": "v0.0.1-DEV_EDITION_EXPECT_CHANGES", "proxy": { "baseURL": "http://localhost:8080", "addr": ":8080" }, "mcpServers": { "filesystem": { "transportType": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"], "serviceAuths": [ { "type": "bearer", "tokens": ["dev-token-123"] } ] } }}The server name filesystem determines the URL path: /filesystem/sse.
2. Run MCP Front
Section titled “2. Run MCP Front”Option A: Install with Go
Section titled “Option A: Install with Go”go install github.com/stainless-api/mcp-front/cmd/mcp-front@mainmcp-front -config config.jsonOption B: Docker
Section titled “Option B: Docker”docker run -p 8080:8080 \ -v $(pwd)/config.json:/app/config.json \ docker.io/dgellow/mcp-front:latestOption C: Build from source
Section titled “Option C: Build from source”git clone https://github.com/stainless-api/mcp-frontcd mcp-frontgo build -o mcp-front ./cmd/mcp-front./mcp-front -config config.json3. Connect from Claude
Section titled “3. Connect from Claude”In Claude.ai, go to Settings and add a new MCP server. Set the URL to http://localhost:8080/filesystem/sse, auth type to Bearer Token, and token to dev-token-123.
4. Test it
Section titled “4. Test it”Ask Claude: “What MCP tools do you have available?”
You should see the filesystem tools from your MCP server.
What’s next?
Section titled “What’s next?”Switch to OAuth authentication for production. Add more MCP servers to your config. Or, configure services that require per-user authentication by following the Service Authentication guide.
Troubleshooting
Section titled “Troubleshooting”Connection refused
Section titled “Connection refused”curl http://localhost:8080/healthShould return {"status":"ok"}. If not, verify the process is running and port 8080 isn’t already in use.
Authentication failed
Section titled “Authentication failed”The token in Claude must match one of the tokens in the serviceAuths array for that server. Double-check the token string is identical — no extra whitespace or encoding differences. Check logs for details (docker logs <container-id> for Docker, or stdout for the binary).
No tools available
Section titled “No tools available”This usually means MCP Front can’t start the MCP server process. Test the server directly:
npx -y @modelcontextprotocol/server-filesystem /tmpIf that fails, the server itself has a problem. If it works, check MCP Front logs for errors — the command might not be in PATH inside the container.