Skip to main content
Glama

MCP Builder

by XD3an

mcp-builder

基于 Python 的 MCP 服务器,用于安装其他 MCP 服务器。

该服务器的目的是提供一种完整、用户友好且跨平台的方式来安装和配置 MCP 服务器。

待办事项
  • [ ] 支持更多 MCP 客户端(例如 Cursor、Windsurf 等)
  • [ ] 支持更多 MCP 服务器类型和源(例如 Node.js、Java 等)
  • [ ] 支持安装失败的恢复机制
  • ...

特征

  • 软件包存储库安装:从 PyPI 或 npm 软件包安装 MCP 服务器
  • 本地安装:从本地目录安装 MCP 服务器
  • 配置管理:为已安装的服务器配置环境变量和参数
  • 自动检测:自动检测 MCP 服务器的类型(Node.js 或 Python)
  • 跨平台支持:适用于 Windows、macOS 和 Linux

要求

  • Python 3.10 或更高版本
  • pip(用于 Python 包)
  • Node.js 和 npm(可选,用于 JavaScript 包)

安装

从源安装

git clone https://github.com/xd3an/mcp-builder.git cd mcp-builder pip install -e .

用法

直接运行

安装完成后,您可以直接运行 MCP Builder:

# Using the entry point mcpbuilder # Or as a module python -m mcp_builder.server

开发模式

对于开发和测试,您可以使用 MCP CLI 工具:

# Install MCP CLI tools pip install "mcp[cli]" # Run in development mode mcp dev path/to/mcp_builder/server.py # npx @modelcontextprotocol/inspector npx @modelcontextprotocol/inspector python -m mcp_builder.server

MCP 客户端集成

Claude 桌面集成

要将 MCP Builder 与 Claude Desktop 一起使用,请将其添加到您的claude_desktop_config.json文件中:

{ "mcpServers": { "mcp-builder": { "command": "python", "args": [ "-m", "mcp_builder.server" ] } } }

配置文件位于:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
示例命令

与 Claude Desktop 集成后,您可以要求 Claude:

阅读https://github.com/microsoft/playwright-mcp帮助我在 Claude 配置中安装 playwright-mcp

演示图像

工作原理

MCP Builder 修改 Claude Desktop 配置文件以注册 MCP 服务器。它支持:

  1. Node.js 包:使用npx安装并配置 Claude 使用它们
  2. Python 包:配置 Claude 使用 Python 模块
  3. 本地存储库:安装依赖项并配置 Claude 使用本地代码
-
security - not tested
F
license - not found
-
quality - not tested

基于 Python 的服务器,可帮助用户轻松跨不同平台安装和配置其他 MCP 服务器。

  1. 待办事项
    1. 特征
      1. 要求
        1. 安装
          1. 从源安装
        2. 用法
          1. 直接运行
          2. 开发模式
          3. MCP 客户端集成
        3. 工作原理

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            MCP server that builds itself by creating new tools as needed based on user requests (Requires restart of Claude Desktop to use newly created tools).
            Last updated -
            4
            13
            Python
            The Unlicense
          • -
            security
            F
            license
            -
            quality
            This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
            Last updated -
            Python
          • A
            security
            A
            license
            A
            quality
            A server that provides a persistent Python REPL environment through the MCP protocol, allowing execution of Python code, variable management, and package installation.
            Last updated -
            3
            3
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            A dynamic MCP server implementation that automatically loads tools, resources, and prompts from their respective directories, allowing for easy extension and configuration.
            Last updated -
            Python
            MIT License

          View all related MCP servers

          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/XD3an/mcp-builder'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server