1MCP unified MCP runtime and aggregator

1MCP unified MCP runtime and aggregator

1mcp-agent•by1mcp-app

An aggregated MCP runtime that exposes multiple MCP servers behind one serve process, with a CLI workflow, stdio proxy, and direct streamable HTTP attachment for MCP clients.

License: Apache 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Aggregates many upstream MCP servers behind a single serve runtime, loading static servers at startup and resolving template servers from client or session context.
  • •Offers a CLI mode with instructions, inspect, and run commands for progressive tool discovery and execution.
  • •Supports a stdio proxy and direct streamable HTTP attachment for MCP clients.
  • •Provides instruction aggregation, presets, filters, and optional lazy loading with a stable progressive-discovery tool surface.

BEST FOR

  • •Giving a coding agent one stable runtime with a smaller working surface.
  • •Sharing a single MCP inventory across Cursor, Claude Code, Codex, and internal tooling.
  • •Exposing context-specific template servers per repo, branch, or session.

ABOUT 1MCP-AGENT

1MCP unified MCP runtime and aggregator is cataloged as an MCP server attributed to 1mcp-app. An aggregated MCP runtime that exposes multiple MCP servers behind one serve process, with a CLI workflow, stdio proxy, and direct streamable HTTP attachment for MCP clients. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for 1MCP unified MCP runtime and aggregator are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does 1MCP reduce configuration sprawl across MCP clients?

It centralizes the MCP inventory in one runtime so each client connects to the aggregated runtime instead of maintaining its own wiring and filtering rules.

What does lazy loading do and what does it not reduce?

Lazy loading keeps the backend surface at tool_list, tool_schema, and tool_invoke and reduces the initial schema payload, but it does not reduce backend connections or processes.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 502921643b3e · 采集于 2026-11-13 09:23:37 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

1MCP

NPM Version NPM Downloads CodeQl GitHub Repo stars Docs DeepWiki License

1MCP is the unified MCP runtime. 1mcp serve aggregates your MCP servers, and CLI mode adds a thinner agent-facing workflow for Codex, Claude, Cursor, and similar tool-using agents.

Why 1MCP

Most MCP setups eventually hit two kinds of sprawl:

  • Configuration sprawl: every client needs its own MCP wiring, auth choices, and filtering rules.
  • Agent sprawl: autonomous sessions carry too many tools and schemas into context up front.

1MCP addresses both:

  • 1mcp serve gives you one aggregated runtime in front of many MCP servers.
  • CLI mode lets agents discover tools progressively with instructions, inspect, and run.
  • Static servers can load at startup, while template servers are created from per-client or per-session context.
  • Presets, filters, and instruction aggregation keep the same runtime adaptable across clients and projects.
ApproachBest forTradeoff
1MCP CLI modeCodex, Claude, agent loopsRequires a running 1mcp serve instance
1MCP stdio proxyMaximum compatibility across clientsStill depends on serve, and auth-capable HTTP clients have a more direct path
Direct streamable HTTPMCP-native HTTP clientsNo project context, no .1mcprc, and a broader tool surface is exposed directly
Custom proxyingOne-off compatibility shimsYou own discovery, filtering, auth, and runtime lifecycle

Quick Start for Agent Users

This page is optimized for AI agent users. The 5-minute outcome is simple: start a real 1mcp serve runtime, connect your agent with cli-setup, then verify the instructions -> inspect -> run workflow.

You — setup: install 1MCP, add one upstream server, and start the runtime:

npm install -g @1mcp/agent
1mcp mcp add context7 -- npx -y @upstash/context7-mcp
1mcp serve

You — client setup: in a second shell, connect your agent to CLI mode:

1mcp cli-setup --codex
# or
1mcp cli-setup --claude --scope repo --repo-root .

AI agent — after startup: follow this workflow, skipping instructions if hooks already delivered the current instructions. Keep the runtime above running; you do not need to repeat these agent commands manually. Verify that startup delivers guidance and establishes session ownership. With a named or implicitly discovered local runtime, supported Codex sessions resolve their owner and assigned project automatically. Claude and hosts without automatic owner lookup add their own bootstrap --project-owner <own-file> to the commands below; each worker uses its own credential.

# Only if current target guidance is missing or needs refreshing:
1mcp instructions
1mcp inspect context7
1mcp inspect context7/query-docs
1mcp run context7/query-docs --args '{"libraryId":"/mongodb/docs","query":"aggregation pipeline"}'

If you want the full walkthrough (with success criteria and off-ramps), use the Quick Start guide.

For a given agent, choose one mode only. If you switch that agent to CLI mode, remove its old direct MCP configuration first.

Privacy and Product Usage Telemetry

Product Usage Telemetry is enabled by default outside CI and tests, with a notice before first collection. It sends aggregate command/feature counts and coarse platform information with a random, pseudonymous installation ID to 1MCP's first-party collector. It excludes prompts, tool arguments/results, credentials, paths, and arbitrary server/tool names.

To opt out for your local OS-user installation, run 1mcp telemetry disable; use 1mcp telemetry status to check the effective policy. DO_NOT_TRACK=1 also suppresses collection. Remote runtimes follow their owner's settings.

Read Privacy and Product Usage Telemetry (中文) for the complete data scope, local storage, retention policy, and reset limitations.

Work Across Projects and Worktrees

Use one local runtime across repositories and Git worktrees. After configuring an installed backend with mcp setup, the agent selects a checkout on each call:

1mcp inspect codegraph --project /absolute/checkout

For the session’s assigned checkout, omit --project; explicit overrides do not change that default. Follow Working Across Projects and Worktrees (中文) for setup, project sets, independent workers, optional preparation, and safe cleanup.

Why CLI Mode Exists

CLI mode is the primary workflow for agent-style sessions. It keeps MCP as the backend protocol but narrows what the agent sees at each step:

  • instructions explains the current runtime and recommended flow
  • inspect lets the agent discover only the server or tool it needs
  • run executes one selected tool after schema inspection

That gives agent loops a smaller working surface without giving up the unified runtime behind 1mcp serve.

Choose Another Path

Stdio Proxy

Use 1mcp proxy when you want the broadest client compatibility without giving up project context.

It is the recommended fallback after CLI mode because it:

  • works with the stdio transport that most AI clients already support
  • keeps project context through .1mcprc
  • supports template MCP servers resolved from project or session context
  • is easier to roll out with one-time global setup plus per-project config

Direct stdio mode is not the recommended path. It is mainly useful for debugging because 1MCP startup is slower than a thin standalone stdio setup.

Direct MCP Attachment

Direct MCP attachment is still supported for clients that want to talk to the aggregated runtime over streamable HTTP.

Examples:

{
  "mcpServers": {
    "1mcp": {
      "url": "http://127.0.0.1:3050/mcp?app=cursor"
    }
  }
}
claude mcp add -t http 1mcp "http://127.0.0.1:3050/mcp?app=claude-code"

Use this path if your client already speaks MCP natively, can work without project context, and you do not want CLI mode. For Codex, Claude, Cursor, and similar agent loops, prefer CLI mode first and proxy second.

Runtime Operators

Use the deeper docs if you are configuring or deploying the runtime itself:

Contributors

How It Works

flowchart LR
    A[User or Agent] --> B[1mcp serve]
    B --> C[Static servers loaded at startup]
    B --> D[Template servers resolved from client or session context]
    A --> E[CLI mode: instructions -> inspect -> run]
    E --> B
    F[Direct streamable HTTP client] --> B
    G[stdio-compatible client] --> H[1mcp proxy]
    H --> B

1MCP runs as an aggregated runtime behind 1mcp serve. Static servers are prepared from startup configuration, template servers are materialized when client context is known, and the runtime can use async loading for early HTTP listener availability and lazy loading for a stable tool surface. Instruction aggregation, presets, and notifications sit alongside that runtime rather than outside it.

Lazy loading is an opt-in stable tool-surface compatibility mode. It keeps the backend discovery and invocation surface at tool_list, tool_schema, and tool_invoke so capable agents can discover tools progressively without replacing their MCP tool table. Any explicitly enabled internal management tools remain directly exposed. Lazy loading reduces the initial schema payload, but it does not reduce backend connections or processes, make synchronous startup bind earlier, or repair orphaned proxy processes. See #392 for the async late-server visibility contract.

Core Capabilities

  • Unified runtime for many MCP servers behind one serve process
  • CLI mode for progressive discovery with 1mcp instructions, 1mcp inspect <server>, 1mcp inspect <server>/<tool>, and 1mcp run <server>/<tool> --args '<json>'
  • Template servers for per-client or per-session resolution
  • Opt-in async loading for early HTTP listener availability when clients can reconcile capability changes
  • Opt-in lazy loading for a stable progressive-discovery tool surface and smaller initial schemas
  • Opt-in automatic recovery for owned stdio backends, with health/status visibility and operator restart controls
  • Instruction aggregation across static and template-backed servers
  • Presets, filters, and preset change notifications
  • proxy for maximum compatibility with project context and template-server support
  • Direct streamable HTTP MCP access for native HTTP clients that do not need project context

Common Use Cases

  • Give a coding agent one stable runtime but a smaller working surface.
  • Share the same MCP inventory across Cursor, Claude Code, Codex, and internal tooling.
  • Expose context-specific template servers per repo, branch, or session.
  • Centralize auth, filtering, presets, and runtime lifecycle instead of rebuilding them in ad hoc scripts.

Contributing / License

Contributions are welcome. See CONTRIBUTING.md for the development workflow and LICENSE for the Apache 2.0 license.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for 1MCP unified MCP runtime and aggregator from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/1mcp-agent)

REPOSITORY STATS

GitHub Stars536
Forks74

GitHub API evidence checked 2026-11-25 00:10:55.153Z (UTC). Repository-level counts are shared by all components, not individual server installs. Open issues including pull requests: 20.

Last repository push (UTC):2026-11-23

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools