mcp-relay-kit
Project management — tasks, comments, and project tracking. Provides actions for managing tasks, sections, tags, projects, and members.
Design platform — inspect files, export images, manage comments, and browse team libraries. Provides actions for files, nodes, images, comments, components, styles, and versions.
Issue tracking — create, update, search, and manage issues and projects via GraphQL. Provides actions for issues, teams, projects, workflow states, comments, and labels.
Product analytics — query events, persons, session recordings, and insights. Provides actions for events, persons, cohorts, session recordings, and saved insights.
Error tracking — list, inspect, and manage issues and events. Provides actions for viewing, updating, resolving, and searching issues.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-relay-kitsearch for my Asana tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-relay-kit
One MCP server for all your tools. Two tools. ~2,000 tokens.
Every MCP server you add dumps its full tool list into your AI's context. The official Asana MCP alone uses 25,000+ tokens. Add Sentry, GitHub, Linear, and PostHog and you've burned 100k+ tokens before the conversation starts.
MCP Relay Kit sits between your AI tool and your services, exposing everything through just 2 tools — search and execute — at a fixed cost of ~2,000 tokens. Add 5 services or 50; the context cost stays the same.
How it works
Your AI tool
│
├─ search("post comment to asana")
│ → returns: asana.post_comment schema + params
│
└─ execute("asana", "post_comment", {"task_id": "123", "text": "Done"})
→ calls Asana API, returns resultYour AI calls search to discover what's available, then execute to use it.
Related MCP server: MCP Gateway
Why this approach
Context cost. Each MCP server injects its full tool list into the context window. One server with 20 tools might cost 15,000 tokens. Five servers and you've lost 75,000+ tokens to tool definitions alone — before your code, your conversation, or your files. The relay collapses all of that into 2 tool definitions at ~2,000 tokens, regardless of how many services sit behind it.
Fewer mistakes. With 5+ MCP servers loaded, your AI has 100+ tools to pick from. It often picks the wrong one or hallucinates parameters. With the relay, the AI searches first (search("create issue")), gets back the exact schema, then calls it. Less guesswork, fewer retries.
One config, one process. Instead of managing 5 separate MCP server configs, you manage one relay config. One process to start, one place to add credentials, one thing to debug when something breaks.
Get started
Install from npm
npm install -g mcp-relay-kit
# or: npm install -g @clockwork-is/mcp-relay-kitInteractive setup
The fastest way to configure everything:
npx mcp-relay-kit --setupThis walks you through picking services, entering credentials, and configuring your AI tool (Claude Code, Gemini CLI, Cursor, Windsurf, or Codex).
Manual setup
1. Clone and build
git clone https://github.com/SGudbrandsson/mcp-relay-kit.git
cd mcp-relay-kit
npm install && npm run build2. Create a config file
{
"services": {
"asana": {
"token": "${ASANA_TOKEN}",
"workspace": "your-workspace-gid"
},
"sentry": {
"token": "${SENTRY_AUTH_TOKEN}",
"organization": "your-org",
"project": "your-project"
}
}
}Save this as ~/.config/mcp-relay-kit/config.json (or any path you prefer).
Values wrapped in ${VAR} are resolved from environment variables at startup.
3. Point your AI tool at the relay
Add this to your project's .mcp.json:
{
"mcpServers": {
"relay": {
"command": "mcp-relay-kit",
"env": {
"GATEWAY_CONFIG": "/path/to/your/config.json"
}
}
}
}If installed globally, mcp-relay-kit is available as a command. Otherwise use npx mcp-relay-kit or the full path to node_modules/.bin/mcp-relay-kit.
Proxy any MCP server
Already using an MCP server for GitHub, Slack, or anything else? Add it to the relay instead of loading it directly — same functionality, fraction of the context cost.
{
"services": {
"asana": { "token": "..." }
},
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_TOKEN": "ghp_..." }
}
}
}The relay spawns each MCP server as a child process, discovers its tools at startup, and exposes them through the same search and execute interface. A server with 20+ tools still costs only ~2,000 tokens.
The mcpServers format is the same one used by Claude Code, Cursor, and other AI tools — so you can often just move an existing entry from your .mcp.json into the relay config.
Tools
The relay exposes exactly 2 MCP tools:
search(query)
Discover available actions across all configured services.
query (string): Search text — matches service names, action names, and descriptions
Returns: Array of matching actions with their parameter schemas
search("task comment")
→ [
{ service: "asana", action: "post_comment", params: { task_id: {...}, text: {...} } },
{ service: "asana", action: "get_task", params: { task_id: {...} } }
]Pass an empty string to list all available actions.
execute(service, action, params)
Call a specific action on a service.
service (string): Service name (e.g., "asana")
action (string): Action name (e.g., "post_comment")
params (string): JSON string of parameters (e.g.,
{"task_id": "123", "text": "Done"})
execute("asana", "post_comment", '{"task_id": "123", "text": "PR merged"}')
→ { success: true, data: { gid: "456", text: "PR merged" } }Built-in services
Asana
Project management — tasks, comments, and project tracking.
Action | Description |
| Get task details by GID |
| Update task name, notes, status, due date, assignee, custom fields (e.g. Priority) |
| Create a new task in a project |
| Post a comment on a task |
| Search tasks by text query |
| List tasks in a project (incomplete by default) |
| List a project's sections (gid + name) |
| Create a section in a project |
| Rename a section |
| Delete an empty section |
| Move a task into a section, with optional ordering |
| List workspace tags (gid + name) |
| Create a tag in the workspace |
| Add a tag to a task |
| Remove a tag from a task |
| List a project's custom fields and enum option GIDs (e.g. Priority) |
| Create a new project (e.g. a sprint board) |
| Update project settings (name, notes, visibility, team, owner, color, view, archived) |
| Add members to a project |
| Remove members from a project |
| List project members and their access levels |
| Change a member's access level (e.g. promote to admin) |
| List teams in the workspace (gid + name) |
Config:
{
"token": "your-personal-access-token",
"workspace": "your-workspace-gid"
}Sentry
Error tracking — list, inspect, and manage issues and events.
Action | Description |
| List issues for a project, with optional Sentry search query |
| Get details of a specific issue by ID |
| Get occurrences (events) for an issue |
| Get full event details including stack trace |
| Mark an issue as resolved |
| Reopen a resolved issue |
| Update an issue (assign, change status, set priority) |
Config:
{
"token": "your-sentry-auth-token",
"organization": "your-org-slug",
"project": "your-project-slug"
}Linear
Issue tracking — create, update, search, and manage issues and projects via GraphQL.
Action | Description |
| Search issues by text query |
| Get details of an issue by identifier (e.g., "ENG-123") |
| Create a new issue |
| Update an existing issue |
| Archive an issue |
| List all teams (use to find team IDs) |
| List projects, optionally filtered by team |
| List workflow states for a team |
| Add a comment to an issue |
| List available issue labels |
Config:
{
"token": "your-linear-api-key"
}PostHog
Product analytics — query events, persons, session recordings, and insights.
Action | Description |
| Query recent events, filterable by type, person, and date range |
| Get a person by ID or distinct_id |
| Search persons by email or properties |
| Get all events for a person (activity timeline) |
| Get a saved insight (trend, funnel, etc.) by ID |
| List all cohorts |
| Find session recordings, filterable by person and date |
| Get a specific session recording with events and details |
Config:
{
"token": "your-posthog-personal-api-key",
"project_id": "your-project-id"
}Figma
Design platform — inspect files, export images, manage comments, and browse team libraries.
Action | Description |
| Get a Figma file by key (document structure, components, metadata) |
| Get specific nodes from a file by their IDs |
| Render nodes as images (PNG, JPG, SVG, or PDF) |
| Get comments on a file |
| Post a comment on a file (supports threaded replies) |
| Get published components in a file |
| Get published styles in a file |
| Get download URLs for all images used as fills (photos, textures, backgrounds) |
| List projects for a team |
| List files in a project |
| Get published components for a team library |
| Get published styles for a team library |
| Get version history of a file |
Config:
{
"token": "your-figma-personal-access-token",
"team_id": "your-team-id"
}Add your own service
Create
src/services/your-service.ts:
import type { ServiceAdapter, ServiceAction } from '../types.js';
const actions: ServiceAction[] = [
{
name: 'do_something',
description: 'What this action does',
params: {
id: { type: 'string', description: 'Resource ID', required: true },
optional_field: { type: 'string', description: 'Optional', required: false },
},
execute: async (params, config) => {
const token = config.token as string;
// Call your API...
return result;
},
},
];
export const yourServiceAdapter: ServiceAdapter = {
name: 'your-service',
description: 'What this service does',
actions,
};Register in
src/services/index.ts:
import { yourServiceAdapter } from './your-service.js';
export const availableAdapters: Record<string, ServiceAdapter> = {
asana: asanaAdapter,
'your-service': yourServiceAdapter, // add here
};Add config in your project's gateway config:
{
"services": {
"asana": { "token": "..." },
"your-service": { "token": "...", "other_config": "..." }
}
}The relay auto-registers any service that appears in both the adapter registry and the config file.
Multiple instances of the same service
You can register the same service multiple times with different configurations using service:label syntax in your config keys:
{
"services": {
"sentry:production": {
"token": "${SENTRY_PROD_TOKEN}",
"organization": "my-org",
"project": "prod-backend"
},
"sentry:staging": {
"token": "${SENTRY_STAGING_TOKEN}",
"organization": "my-org",
"project": "staging-backend"
},
"supabase": {
"token": "${SUPABASE_TOKEN}",
"service_role_key": "${SUPABASE_SERVICE_ROLE_KEY}",
"project_ref": "abcdefghij"
}
}
}Use
service:labelto create named instances (e.g.,"sentry:production","supabase:app-db")Plain keys like
"supabase"still work for single instancesEach instance gets its own config and appears separately in search results
Use the full instance name when calling execute:
execute("sentry:production", "list_issues", "{}")Search matches against both the service type and the label, so searching "production" finds all production instances
Per-project configuration
Different projects can use different configs pointing to different services:
~/.config/mcp-relay-kit/
├── project-a.json → asana + slack + sentry
├── project-b.json → asana + github
└── personal.json → asanaEach project's .mcp.json points to its own config via GATEWAY_CONFIG.
Testing
npm test # run all tests
npm run test:watch # watch modeTests cover the service registry (search, execute, validation), config loading (env var interpolation, error handling), each built-in adapter (mocked HTTP), and an E2E test that starts the real MCP server process and communicates via stdio.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- nexusOAuth
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
The MCP gateway with an EU-hosted, persistent memory layer that shrinks your token bill.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA universal gateway that aggregates multiple MCP servers into a single interface while providing advanced token optimization, result filtering, and automated summarization. It enables efficient management of large tool catalogs and reduces context usage by up to 95% for major AI clients.3415MIT
- FlicenseAqualityAmaintenanceA multiplexing gateway that aggregates multiple MCP servers into a single port, significantly reducing context token usage through a Meta-MCP discovery system. It enables dynamic tool discovery and invocation across various transport protocols including stdio, HTTP, and SSE.1558
- FlicenseNot gradedqualityDmaintenanceA local MCP gateway that compresses multiple upstream servers into two tools, search and execute, to minimize model context usage. It provides a compact, code-driven interface for discovering and calling tools across various upstream sources on demand.
- FlicenseNot gradedqualityBmaintenanceA unified gateway for AI agent tools that provides a single MCP stdio endpoint for executing tool calls with unified auth, rate limiting, and observability. Enables agents to interact with multiple external APIs through a standardized interface.1
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SGudbrandsson/mcp-relay-kit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server