Server facts
agent MCP Server
GitHub stars
542
Last commit
Nov 30, 2026
Runtime
node
License
Apache-2.0
Project
- Author
- 1mcp-app
- Repository
- github.com/1mcp-app/agent
- Website
- docs.1mcp.app
- License
- Apache-2.0
- Category
- MCP Gateways & Proxies
Tech
- Runtime
- node
- Transports
- streamable-httpstdio
- Remote access
- No
- Authentication
- Optional gateway authentication & per-worker credentials
Activity
- GitHub stars
- 542
- Last commit
- Data as of
Tags
- mcp
- mcp server
- unified mcp server
Overview
Engineering teams evaluating an `agent mcp` gateway architecture often struggle with duplicated client configs and bloated tool schemas injected into every coding-agent loop. Published under Apache-2.0 as `@1mcp/agent`, 1MCP aggregates static and context-resolved template MCP servers behind a single `1mcp serve` Node.js runtime. After installing globally (`npm install -g @1mcp/agent`) and registering upstream servers (`1mcp mcp add`), operators choose among progressive CLI mode (`1mcp cli-setup --codex` or `--claude`), the `1mcp proxy` `stdio` bridge for broad client compatibility with `.1mcprc` project context, or direct Streamable HTTP attachment at `http://127.0.0.1:3050/mcp` (including `claude mcp add -t http 1mcp`).
Instead of flooding agent context windows upfront, CLI mode narrows each step to `1mcp instructions`, `1mcp inspect <server>/<tool>`, and `1mcp run <server>/<tool> --args`, while opt-in lazy loading stabilizes native MCP discovery around `tool_list`, `tool_schema`, and `tool_invoke`. A shared local runtime also spans multiple repositories and Git worktrees via `--project /absolute/checkout`, combining presets, filters, instruction aggregation, opt-in async loading, and automatic recovery for owned `stdio` backends. Note that non-CI installations collect coarse usage metrics by default (excluding prompts, tool arguments/results, credentials, and paths) and opt out cleanly via `1mcp telemetry disable` or `DO_NOT_TRACK=1`.
Install & configure
Requirements
- Node.js and npm (`npm install -g @1mcp/agent`)
- A running `1mcp serve` daemon process when using CLI mode, `1mcp proxy`, or Streamable HTTP
- At least 1 upstream MCP server registered via `1mcp mcp add` or runtime configuration
npm install -g @1mcp/agentInstall with `npm install -g @1mcp/agent`, add upstream servers (`1mcp mcp add context7 -- npx -y @upstash/context7-mcp`), start `1mcp serve`, then connect via `1mcp cli-setup --codex` / `--claude`, `1mcp proxy`, or Streamable HTTP at `http://127.0.0.1:3050/mcp`.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
A supported configuration example is not available for this client and transport. Check the client documentation for its connection flow; do not substitute an undocumented JSON format.
Read the Claude Desktop setup guideConfig file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"1mcp": {
"url": "http://127.0.0.1:3050/mcp?app=cursor"
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"1mcp": {
"type": "http",
"url": "http://127.0.0.1:3050/mcp?app=cursor"
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"1mcp": {
"serverUrl": "http://127.0.0.1:3050/mcp?app=cursor"
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"1mcp": {
"type": "http",
"url": "http://127.0.0.1:3050/mcp?app=cursor"
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Tools
Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.
| Tool | What it does |
|---|---|
| tool_list | Opt-in lazy-loading discovery tool that lists available backend tools without replacing the full MCP tool table. |
| tool_schema | Opt-in lazy-loading tool that fetches the input schema for a specific backend tool on demand. |
| tool_invoke | Opt-in lazy-loading tool that executes a selected backend tool after schema inspection. |
Use cases
- Share a unified catalog of upstream MCP servers across Claude Code, Codex, Cursor, and internal tooling without repeating client configs.
- Shrink prompt-token overhead in autonomous coding loops by switching agents to progressive `1mcp instructions` -> `inspect` -> `run` discovery.
- Run a single local runtime across multiple Git repositories and worktrees by resolving template servers from per-checkout `.1mcprc` or `--project` context.
- Centralize presets, filtering, instruction aggregation, and opt-in stdio backend recovery for a team's MCP stack.
Strengths
- Multiple attachment patterns—progressive CLI mode, `.1mcprc`-aware `stdio` proxy, and Streamable HTTP—adapt to any MCP client.
- Supports template MCP servers resolved dynamically per client, repository checkout, or Git worktree session.
- Opt-in lazy loading (`tool_list`, `tool_schema`, `tool_invoke`), async loading, presets, and automatic stdio backend recovery reduce friction at scale.
- Apache-2.0 licensed with clear telemetry transparency and simple opt-out (`1mcp telemetry disable` or `DO_NOT_TRACK=1`).
Limitations
- CLI mode and `1mcp proxy` both depend on maintaining a live `1mcp serve` background runtime; direct stdio mode is discouraged due to slower startup.
- Direct Streamable HTTP attachment omits `.1mcprc` project context and exposes a broader tool surface unless paired with lazy loading.
- Product usage telemetry is enabled by default outside CI/tests until explicitly disabled.
agent setup notes
- agent's example uses http, while its catalog transports are streamable-http / stdio; use the example's connection type.