One MCP 标志

One MCP

社区
burugo

A centralized reverse-proxy platform for MCP servers — manage, group, and export as Skills from a single endpoint.

发布者burugo
代码仓库one-mcp
语言Go
复刻数
46
星标数
417
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    One MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 417 个星标和 46 个复刻。

One MCP

One MCP - A centralized proxy for Model Context Protocol (MCP) services

✨ Manage, monitor, and configure your MCP services from a single interface ✨

Go Report Card Go CI GitHub license

Go React TypeScript Docker


Overview

One MCP is a comprehensive management platform for Model Context Protocol (MCP) services. Acting as a centralized proxy, it lets you discover, install, configure, and monitor MCP services from various providers. Built with Go and React, it offers both powerful backend capabilities and an intuitive web interface.

Screenshot

Features

  • Service Management — Install, configure, and monitor MCP services (stdio / SSE / streamable HTTP) from a marketplace or custom sources
  • Service Groups — Combine multiple MCP services into a single endpoint; export as Anthropic Skills for Claude Code & Droid
  • Analytics — Track usage, request rates, response times, and system health in real time
  • Multi-User & OAuth — Role-based access control with GitHub / Google login
  • Flexible Deployment — SQLite (default) / MySQL / PostgreSQL, optional Redis, Docker ready, i18n (EN / ZH)

Screenshot Screenshot

Service Groups

Create service groups to combine multiple MCP services and export as Skills:

Screenshot

Quick Start

Using Homebrew (macOS & Linux)

bash
# Add tap
brew tap burugo/tap

# Install one-mcp
brew install one-mcp

# Start as background service (default port: 3000)
brew services start one-mcp

# Stop service
brew services stop one-mcp

If port 3000 is already in use, restart with a custom port:

bash
ONE_MCP_PORT=3001 brew services restart one-mcp

Access the application at http://localhost:3000 (or your custom port).

Using Docker (Recommended)

bash
# Run with Docker
docker run --name one-mcp -d \
  --restart always \
  -p 3000:3000 \
  -v $(pwd)/data:/data \
  buru2020/one-mcp:latest

# Access the application
open http://localhost:3000

Manual Installation

bash
# Clone the repository
git clone https://github.com/burugo/one-mcp.git
cd one-mcp

# Set up environment
cp .env_example .env

bash ./run.sh

Default Login: Username root, Password 123456

Installation

Prerequisites

Homebrew Installation (macOS & Linux)

  • Homebrew installed

Manual Installation

  • Go: Version 1.19 or later
  • Node.js: Version 16 or later
  • Database: SQLite (default), MySQL, or PostgreSQL
  • Redis: Optional

Environment Configuration

Create a .env file from the template:

bash
cp .env_example .env

Key configuration options:

bash
# Server Configuration
PORT=3000

# Database (SQLite is default, MySQL and PostgreSQL are supported)
# SQLite(default)
# SQLITE_PATH=/data/one-mcp.db
# MySQL:
# SQL_DSN=root:password@tcp(localhost:3306)/one_mcp
# PostgreSQL:
# SQL_DSN=postgres://username:password@localhost/database_name?sslmode=disable

# Redis (optional, replace local cache for production environment)
REDIS_CONN_STRING=redis://localhost:6379

# GitHub API (optional, for querying npm's github homepage star count, without this, there will be rate limit issues)
GITHUB_TOKEN=your-github-token

Homebrew Installation (macOS & Linux)

bash
# Add tap
brew tap burugo/tap

# Install one-mcp
brew install one-mcp

# Run in foreground
one-mcp --port 3000

# Or run as system service (default port: 3000)
brew services start one-mcp

# Use a custom service port when 3000 is occupied
ONE_MCP_PORT=3001 brew services restart one-mcp

Docker Deployment

bash
# Build the Docker image
docker build -t one-mcp .

# Run with docker-compose (recommended)
docker-compose up -d

# Or run directly
docker run -d \
  --name one-mcp \
  -p 3000:3000 \
  -v ./data:/data \
  -e PORT=3000 \
  one-mcp

Manual Deployment

  1. Build the application:

    bash
    ./deploy/build.sh
  2. Run the server:

    bash
    ./one-mcp --port 3000
  3. Access the application: Open http://localhost:3000 in your browser

Configuration

Runtime Configuration (~/.config/one-mcp/config.ini)

One MCP supports runtime configuration from an INI file at:

bash
~/.config/one-mcp/config.ini

The runtime priority is:

text
defaults < config file < environment variables < flags
  • defaults: built-in defaults (for example port 3000)
  • config file: values from ~/.config/one-mcp/config.ini
  • environment variables: values like PORT, SQLITE_PATH, ENABLE_GZIP
  • flags: command-line flags like --port (highest priority)

On first startup, One MCP automatically creates a minimal default config.ini.

Example config.ini:

ini
PORT=3000
SQLITE_PATH=one-mcp.db
ENABLE_GZIP=true

Notes:

  • One MCP only reads ~/.config/one-mcp/config.ini for runtime file-based config.
  • Homebrew service values (ONE_MCP_PORT, --port) still override config.ini.

OAuth Setup

GitHub OAuth

  1. Create a GitHub OAuth App at https://github.com/settings/applications/new
  2. Set Homepage URL: http://your-domain.com
  3. Set Authorization callback URL: http://your-domain.com/oauth/github
  4. Configure in the application preferences

Google OAuth

  1. Create credentials at https://console.developers.google.com/
  2. Set Authorized JavaScript origins: http://your-domain.com
  3. Set Authorized redirect URIs: http://your-domain.com/oauth/google
  4. Configure in the application preferences

Database Configuration

SQLite (Default)

No additional configuration required. Database file is created at ./data/one-mcp.db.

MySQL

bash
SQL_DSN=username:password@tcp(localhost:3306)/database_name

PostgreSQL

bash
SQL_DSN=postgres://username:password@localhost/database_name?sslmode=disable

API Documentation

The application provides RESTful APIs for all functionality:

  • Base URL: http://localhost:3000/api
  • Authentication: Bearer token (obtained via login)
  • Content-Type: application/json

Key Endpoints

  • POST /api/auth/login - User authentication
  • GET /api/services - List installed services
  • POST /api/services - Install new service
  • GET /api/market/search - Search marketplace
  • GET /api/analytics/usage - Usage statistics

Development

Development Environment

bash
# Start development servers
./run.sh

# This will start:
# - Backend server on :3000
# - Frontend dev server on :5173 (with hot reload)

Project Structure

one-mcp/
├── backend/         # Go backend code
├── frontend/        # React frontend code  
├── data/           # Database and uploads
├── main.go         # Application entry point
├── build.sh        # Production build script
└── run.sh          # Development script

Testing

bash
# Frontend tests
cd frontend && npm test

# Backend tests
go test ./...

For detailed development instructions, see DEVELOPMENT.md.

Contributing

We welcome contributions! Please see our contributing guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow Go and TypeScript best practices
  • Add tests for new functionality
  • Update documentation as needed
  • Ensure all tests pass before submitting

Roadmap

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.


⭐ Star this project if you find it helpful!

Made with ❤️ by the One MCP team

将 One MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 One MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 One MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 One MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "one-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 One MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 One MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 One MCP 帮我完成这项任务吗?
One MCP
当然,我看过了。
以下是我使用 One MCP 得到的结果。

常见问题

One MCP MCP 服务器有什么用途?

One MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 One MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 One MCP。

为什么在 TypingMind 中使用 One MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 One MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 One MCP MCP 连接到 TypingMind?

One MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

One MCP MCP 在 TypingMind 中提供哪些工具?

One MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 One MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 One MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇