+
Skip to content

1mcp-app/agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

1MCP - One MCP Server for All

A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.

NPM Version NPM Downloads CodeQl GitHub Repo stars 1MCP Docs DeepWiki NPM License

Overview

1MCP (One MCP) is designed to simplify the way you work with AI assistants. Instead of configuring multiple MCP servers for different clients (Claude Desktop, Cherry Studio, Cursor, Roo Code, Claude, etc.), 1MCP provides a single, unified server.

Features

  • 🔄 Unified Interface: Aggregates multiple MCP servers into one
  • 🔒 OAuth 2.1 Authentication: Production-ready security with scope-based authorization
  • ⚡ High Performance: Efficient request forwarding with proper error handling
  • 🛡️ Security First: Stdio transport isolation, input sanitization, and comprehensive audit logging
  • 🔧 Easy Configuration: Single JSON configuration file with hot-reload support
  • 📈 Health Monitoring: Built-in health check endpoints for monitoring and observability

Quick Start

1. Install 1MCP

Binary (Recommended - No Node.js Required):

# Linux/macOS
curl -L https://github.com/1mcp-app/agent/releases/latest/download/1mcp-linux-x64.tar.gz | tar -xz
sudo mv 1mcp /usr/local/bin/

# Windows (PowerShell)
Invoke-WebRequest -Uri "https://github.com/1mcp-app/agent/releases/latest/download/1mcp-win32-x64.zip" -OutFile "1mcp.zip"
Expand-Archive -Path "1mcp.zip" -DestinationPath "."

NPM:

npx -y @1mcp/agent --help

2. Add MCP Servers

1mcp mcp add context7 -- npx -y @upstash/context7-mcp
1mcp mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem ~/Documents

3. Start the Server

1mcp

4. Connect Your AI Assistant

For Cursor, add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "1mcp": {
      "url": "http://127.0.0.1:3050/mcp?app=cursor"
    }
  }
}

Install MCP Server to Cursor

For VSCode, add to settings.json:

{
  "servers": {
    "1mcp": {
      "url": "http://127.0.0.1:3050/mcp?app=vscode"
    }
  }
}

Install MCP Server to VSCode

For Claude Code:

claude mcp add -t http 1mcp "http://127.0.0.1:3050/mcp?app=claude-code"

That's it! All your MCP servers are now available through one unified endpoint. 🎉

Commands

Core Commands

  • 1mcp [serve] - Start the 1MCP server (default command)
  • 1mcp mcp add <name> - Add a new MCP server to configuration
  • 1mcp mcp list - List all configured MCP servers
  • 1mcp mcp status [name] - Show server status and details

For detailed command usage, run: 1mcp <command> --help

Documentation

📚 Complete Documentation - Comprehensive guides, API reference, and examples

Key Topics

How It Works

1MCP acts as a proxy, managing and aggregating multiple MCP servers. It starts and stops these servers as subprocesses and forwards requests from AI assistants to the appropriate server. This architecture allows for a single point of entry for all MCP traffic, simplifying management and reducing overhead.

Contributing

Contributions are welcome! Please read our CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

About

A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 6

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载