Skip to main content
Glama
MCP Builder
by XD3an

mcp-builder

A Python-based MCP server to install other MCP servers.

The purpose of this server is to provide a complete, user-friendly, and cross-platform way to install and configure MCP servers.

TODO

  • Support for more MCP Clients (e.g. Cursor, Windsurf, ...)

  • Support for more MCP server types and sources (e.g., Node.js, Java, etc.)

  • Support recovery mechanism for failed installations

  • ...

Features

  • Package Repository Installation: Install MCP servers from PyPI or npm packages

  • Local Installation: Install MCP servers from local directories

  • Configuration Management: Configure environment variables and arguments for installed servers

  • Automatic Detection: Automatically detect the type of MCP server (Node.js or Python)

  • Cross-Platform Support: Works on Windows, macOS, and Linux

Related MCP server: MCP Server Deepdive

Requirements

  • Python 3.10 or higher

  • pip (for Python packages)

  • Node.js and npm (optional, for JavaScript packages)

Installation

Install from Source

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

Usage

Running Directly

After installation, you can run the MCP Builder directly:

# Using the entry point
mcpbuilder

# Or as a module
python -m mcp_builder.server

Development Mode

For development and testing, you can use the MCP CLI tools:

# 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 Client Integration

Claude Desktop Integration

To use MCP Builder with Claude Desktop, add it to your claude_desktop_config.json file:

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

The configuration file is located at:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Example Commands

Once integrated with Claude Desktop, you can ask Claude to:

read https://github.com/microsoft/playwright-mcp help me install playwright-mcp in my claude config

demo image

How It Works

MCP Builder modifies the Claude Desktop configuration file to register MCP servers. It supports:

  1. Node.js Packages: Installs using npx and configures Claude to use them

  2. Python Packages: Configures Claude to use Python modules

  3. Local Repositories: Installs dependencies and configures Claude to use local code

Available Tools

2 tools
install_local_mcp_serverC
Install an MCP server from a local directory.

Args:
    path: The path to the MCP server code cloned on your computer
    args: The arguments to pass along
    env: The environment variables to set, delimited by =

Inputs: path (required), args, env.

install_repo_mcp_serverC
Install an MCP server via pip or npm.

Args:
    name: The package name of the MCP server
    args: The arguments to pass along
    env: The environment variables to set, delimited by =

Inputs: name (required), args, env.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one installs from a local directory, while the other installs from a package repository via pip or npm. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the installation source.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with 'install' as the verb and descriptive nouns ('local_mcp_server', 'repo_mcp_server'). The naming is predictable and readable, with no deviations in style or convention.

    Tool Count2/5

    With only 2 tools, the server feels thin for a 'Builder' purpose, which might imply broader capabilities like configuration, management, or testing of MCP servers. The count is too low for the apparent scope, limiting functionality and potentially causing gaps in agent workflows.

    Completeness2/5

    The tool surface is severely incomplete for a 'Builder' domain, as it only covers installation from two sources. Missing are obvious operations like uninstalling, listing installed servers, configuring servers, or building/testing MCP projects, which are essential for comprehensive server management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A Python-based MCP server implementation that can be easily installed via pip or directly from GitHub, providing a simple way to deploy and run MCP server functionality.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      This repository provides a template for creating MCP servers with Python, including installation instructions and tools for testing with the MCP Inspector.
      -