mcp-relay
Connects to GitHub through its MCP server using a personal access token, making GitHub tools available to the AI assistant for discovering and using GitHub capabilities.
Connects to Notion's remote MCP server with OAuth sign-in, making Notion tools available to the AI assistant for discovering and using Notion capabilities.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-relay
Give your AI assistant one local connection to GitHub, Notion, HeroUI, and your other tools.
You could ask, “Find the open GitHub issues for this feature and compare them with our Notion plan.” Your AI app starts mcp-relay on your computer. The relay finds the relevant tools and runs the assistant's script in a Docker sandbox.
Quick start · Edit your connections · View logs · Client setup
Quick start
Build the relay. From this checkout, with Node.js 22.20+ and pnpm 11.10.0, run:
pnpm install --frozen-lockfile && pnpm buildChoose your connections. Copy
.mcp.config.exampleto.mcp.configin the same folder. It comes with a public documentation server enabled so you can try it right away.Connect your AI app. Run
setupfrom the relay folder. It prints a ready-to-use entry with the full paths to Node and the relay filled in.Codex: run
node dist/cli.js setup --client codex, then run thecodex mcp addcommand it prints.Claude Code: run
node dist/cli.js setup --client claude, then run theclaude mcp addcommand it prints.LM Studio, Claude Desktop, or another app: run
node dist/cli.js setupand paste the printed entry into the app's MCP settings. Where each app keeps them
Restart the app and try:
Use mcp-relay to find a tool that searches developer documentation.
Enable tool execution
Tool discovery works as soon as your app connects. To run tools, start Docker and build the sandbox image from the relay folder.
docker build -t mcp-relay-sandbox ./sandboxThe relay starts and removes containers for each run. Try asking, “Use mcp-relay to look up how to connect a local MCP server and summarize the steps.”
Related MCP server: AKIMCP
Edit your connections
Add or paste entries into mcpServers in .mcp.config. Set enabled to
false to keep an entry turned off. Restart the AI app after editing the file.
{
"mcpServers": {
"notion": {
"url": "https://mcp.notion.com/mcp",
"auth": "oauth"
}
}
}When a server with "auth": "oauth" needs sign-in, the relay opens your browser.
Once you approve, the server's tools become available in the current session.
If the browser can't launch, look for the sign-in link in your AI app's MCP
server logs. The relay saves the sign-in locally and reuses it across projects.
This works with servers that support dynamic OAuth client registration.
The starter config includes three optional connections.
Connection | What to do |
GitHub | Enable the entry and set |
Notion | Enable the entry, restart your AI app, and approve the browser sign-in. Notion setup |
HeroUI | Enable the entry and restart the app. The relay launches the HeroUI React documentation server with |
Remote entries use url and can include headers. Local entries use
command and can include args, cwd, and env. Use ${ENV_VAR} references
for credentials in config files. Browser sign-ins are stored with owner-only
permissions in ~/.config/mcp-relay/auth/, or under $XDG_CONFIG_HOME if set.
Project settings
A .mcp.config in your app's project or its nearest parent takes precedence over
the copy in the relay checkout. Existing .mcp-relay.json project files and
~/.config/mcp-relay/config.json user settings are supported. Entries in
.mcp.config can override user entries with the same name.
enableselects connections from the user config.disableturns off named connections in either file.toolFiltersapplies per-serverallowToolsanddenyToolspatterns to both discovery and execution.sandbox.timeoutMschanges the 30-second run limit.sandbox.poolSizecontrols how many containers are kept ready. It defaults to one and accepts0through4.
View logs
Open ~/.config/mcp-relay/logs/ in Finder or your file manager. If you set
XDG_CONFIG_HOME, open $XDG_CONFIG_HOME/mcp-relay/logs/.
File | What you’ll see |
| One record per run with captured |
| One record per upstream tool call with the server, tool, duration, and outcome. The app's MCP server log also gets these records. |
Files use UTC dates. The relay removes known credentials from sandbox output. Console output can contain private data your assistant prints.
Sandbox containers keep no Docker logs, so the relay's run output appears only
in these files. For mcp-relay-… containers, docker logs and the logs view in
Docker Desktop or OrbStack show “configured logging driver does not support
reading.” That's expected.
Development
pnpm lint
pnpm typecheck
pnpm testRun MCP_RELAY_DOCKER_TEST=1 pnpm test to include the Docker integration tests.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Related MCP Servers
- AlicenseAqualityBmaintenanceConnects AI tools to local dev servers, enabling them to view pages, call APIs, read/edit files, and run commands with safety guardrails.13MIT
- FlicenseNot gradedqualityAmaintenanceExposes a governed, OAuth-gated suite of 38 tools that let web AI assistants like Claude, ChatGPT, and Grok work directly on your local machine — reading and editing files, running whitelisted shell commands, searching, querying SQLite, driving browsers and DevTools, managing background tasks and localhost services, and controlling Git, clipboard, notifications, and Postman. This lets users build, debug, and maintain projects, inspect databases and local APIs, and check on long-running jobs from a browser or phone without granting unrestricted shell access.-
- AlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 OAuth-gated tools that let web-based AI chat clients read, write, edit, and search local files, run whitelisted shell commands, inspect databases and localhost APIs, drive browsers and DevTools, and manage background tasks, Git, clipboard, notifications, and ports. Local IDEs connect directly over loopback, while remote clients reach the same machine through a secure tunnel.MIT
- AlicenseNot gradedqualityAmaintenanceConnects web AI chats and local clients to your own machine through one OAuth-gated MCP endpoint, exposing 38 governed tools for files, shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, ports, and Postman control. It lets assistants build and edit projects, inspect databases and local APIs, drive browser workflows, and manage long-running jobs without handing every client unrestricted shell access.MIT