MCP Launchpad 标志

MCP Launchpad

社区
kenneth-liao

A lightweight CLI for efficiently discovering (search) and executing tools from multiple MCP (Model Context Protocol) servers.

发布者kenneth-liao
代码仓库mcp-launchpad
语言Python
复刻数
32
星标数
207
可用工具
0
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

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

  • 0 个可用工具

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

  • 可直接复制的配置

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

  • 开源社区热度

    关联的代码仓库有 207 个 Star 和 32 个 Fork。

MCP Launchpad

A lightweight CLI for discovering and executing tools from multiple MCP (Model Context Protocol) servers.

Python 3.13+ License: MIT

Installation

Prerequisite: uv - Python package and environment manager

bash
uv tool install https://github.com/kenneth-liao/mcp-launchpad.git

Verify it works:

bash
mcpl --help

Quick Reference

bash
# Find tools
mcpl search "<query>"                    # Search all tools (returns 5 by default)
mcpl search "<query>" --limit 10         # Get more results
mcpl list                                # List all MCP servers
mcpl list <server>                       # List tools for a server

# Get tool details
mcpl inspect <server> <tool>             # Full schema
mcpl inspect <server> <tool> --example   # Schema + example call

# Execute tools
mcpl call <server> <tool> '{}'                        # No arguments
mcpl call <server> <tool> '{"param": "value"}'        # With arguments

# Troubleshooting
mcpl verify                              # Test all server connections
mcpl session status                      # Check daemon status
mcpl session stop                        # Restart daemon (auto-restarts on next call)

Configuration

Create mcp.json in your project directory (or ~/.claude/mcp.json for global config):

json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-server-filesystem", "/path/to/allowed/dir"]
    }
  }
}

Validate with mcpl list. If you don't see your servers, restart your terminal and run mcpl list --refresh.

Adding More Servers

json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-server-filesystem", "/path/to/dir"]
    },
    "github": {
      "command": "uvx",
      "args": ["mcp-server-github"],
      "env": {
        "GITHUB_TOKEN": "${GITHUB_TOKEN}"
      }
    }
  }
}

Environment variables use ${VAR} syntax and are loaded from ~/.claude/.env and ./.env.

Config Discovery

MCP Launchpad searches for config files in this order:

  1. ./mcp.json - Project-level config
  2. ./.claude/mcp.json - Project-level Claude config
  3. ~/.claude/mcp.json - User-level config

When multiple config files are found, mcpl prompts you to select which ones to use. Your preferences are saved and can be changed later with mcpl config files --select.

Agent Integration

MCP Launchpad works with any AI agent that can run bash commands (Claude Code, Cursor, Windsurf, etc.).

Copy the root CLAUDE.md contents into your own CLAUDE.md or AGENTS.md to teach your agent how to use mcpl. This can be done at the project level (./CLAUDE.md) or user level (~/.claude/CLAUDE.md).

Important: OAuth Authentication

Agents cannot complete OAuth flows because they require browser interaction. You must authenticate all OAuth-protected MCP servers before agents can use them:

bash
mcpl auth login <server>    # Authenticate a specific server
mcpl list --refresh         # Prompts to authenticate each server that requires OAuth
mcpl auth status            # Verify all servers are authenticated

Tip: Add a section to your CLAUDE.md listing your connected MCP servers for better tool discovery.

What This Enables

With the instructions in place, your agent can:

  • Search for tools across all your MCP servers
  • Execute tools by calling mcpl via bash
  • Discover capabilities dynamically as you add new MCP servers
  • Handle errors gracefully with built-in troubleshooting guidance

Table of Contents

Commands

mcpl search <query>

Search for tools across all configured servers. Returns 5 results by default.

bash
mcpl search "sentry errors"
mcpl search "issues" --limit 10   # Get more results

mcpl list [server]

List configured servers or tools for a specific server.

bash
mcpl list           # List all servers
mcpl list github    # List tools for github server

mcpl call <server> <tool> [arguments]

Execute a tool on a server.

bash
mcpl call github list_issues '{"owner": "acme", "repo": "api"}'

mcpl inspect <server> <tool>

Get the full schema for a specific tool.

bash
mcpl inspect github list_issues --example   # Include example call

mcpl session status|stop

Manage the session daemon.

bash
mcpl session status   # Show daemon status and connected servers
mcpl session stop     # Stop the session daemon

mcpl auth login|logout|status

Manage OAuth 2.1 authentication for HTTP servers.

bash
mcpl auth login notion    # Authenticate with an OAuth-protected server
mcpl auth logout notion   # Remove stored authentication
mcpl auth logout --all    # Clear all stored tokens
mcpl auth status          # Show authentication status for all servers

mcpl enable|disable <server>

Enable or disable servers without modifying the config file.

bash
mcpl disable slow-server    # Temporarily disable a server
mcpl enable slow-server     # Re-enable it

mcpl config

Show the current configuration and loaded servers.

bash
mcpl config

mcpl config files

Manage which config files are active when multiple are available.

bash
mcpl config files                    # View config files and their status
mcpl config files --select           # Interactive selection prompt
mcpl config files --activate 1       # Activate config by number
mcpl config files --deactivate 2     # Deactivate config by number
mcpl config files --all              # Activate all discovered configs
mcpl config files --reset            # Clear preferences (re-prompts on next run)

mcpl verify

Test that all configured servers can connect and respond.

bash
mcpl verify

JSON Mode

Add --json for machine-readable output:

bash
mcpl --json search "github"
mcpl --json call github list_repos '{}'

Session Daemon

MCP Launchpad uses a session daemon to maintain persistent connections to MCP servers, improving performance for repeated calls. The daemon starts automatically on first mcpl call.

Automatic Cleanup

EnvironmentCleanup Trigger
Regular terminalParent terminal process exits
VS Code / Claude CodeIDE session ends (detected via VS Code socket)
Any environmentIdle timeout (default: 1 hour of no activity)
Manualmcpl session stop command

Troubleshooting

bash
mcpl session status                         # Check daemon status
mcpl session stop                           # Stop the daemon manually
mcpl call github list_repos '{}' --no-daemon  # Bypass daemon for debugging

If you encounter persistent issues, stopping and restarting the daemon usually resolves them.

Advanced Topics

HTTP Server Configuration

HTTP servers connect to remote MCP endpoints over HTTP.

json
{
  "mcpServers": {
    "remote-api": {
      "type": "http",
      "url": "https://api.example.com/mcp",
      "headers": {
        "Authorization": "Bearer ${API_TOKEN}"
      }
    }
  }
}
FieldRequiredDescription
typeYesMust be "http"
urlYesFull URL to the MCP endpoint
headersNoHTTP headers (supports ${VAR} syntax)

For OAuth-protected servers, see OAuth Authentication.

SSE Transport Configuration

Some legacy MCP servers use Server-Sent Events (SSE) instead of the newer Streamable HTTP transport:

json
{
  "mcpServers": {
    "legacy-server": {
      "type": "sse",
      "url": "https://legacy.example.com/sse",
      "headers": {
        "Authorization": "Bearer ${API_TOKEN}"
      }
    }
  }
}

Note: SSE transport is provided for compatibility with older MCP servers. New servers should use standard HTTP transport.

OAuth Authentication

Some remote MCP servers (like Notion, Figma, and other cloud services) require OAuth authentication. MCP Launchpad handles this securely using OAuth 2.1 with PKCE.

Quick Start

When you connect to a server that requires authentication, mcpl will prompt you:

bash
$ mcpl list notion --refresh
Server 'notion' requires OAuth authentication.
Would you like to authenticate now? [Y/n]

Or authenticate proactively:

bash
mcpl auth login notion

This opens your browser for authorization. After you approve, tokens are stored securely.

Commands

CommandDescription
mcpl auth login <server>Authenticate with an OAuth-protected server
mcpl auth logout <server>Remove stored authentication
mcpl auth logout --allClear all stored tokens
mcpl auth status [server]Show authentication status

Configuration

For servers that require pre-registered OAuth credentials:

json
{
  "mcpServers": {
    "notion": {
      "type": "http",
      "url": "https://mcp.notion.com/mcp",
      "oauth_client_id": "${NOTION_CLIENT_ID}",
      "oauth_client_secret": "${NOTION_CLIENT_SECRET}",
      "oauth_scopes": ["read", "write"]
    }
  }
}

Tokens are encrypted and stored locally in ~/.cache/mcp-launchpad/oauth/ using your system's keyring.

Troubleshooting

IssueSolution
"Server requires OAuth authentication"Run mcpl auth login <server>
Token expiredRun mcpl auth login <server> --force
Browser doesn't openCopy the URL from terminal and open manually
"Invalid client" errorsCheck oauth_client_id and oauth_client_secret
Keyring warningsUsing fallback encryption (still secure)
"Metadata fetch failed"Configure credentials manually in mcp.json

Login Options

bash
mcpl auth login notion                     # Basic authentication
mcpl auth login figma --scope "read write" # Request specific scopes
mcpl auth login custom --force             # Re-authenticate (replace existing tokens)
mcpl auth login server --client-id "id"    # Specific client ID

# Secure secret input (recommended)
echo "secret" | mcpl auth login server --client-secret-stdin

# Or via environment variable
export MCPL_CLIENT_SECRET="secret"

Options:

  • --scope TEXT - Additional OAuth scopes to request
  • --force - Force re-authentication even if already logged in
  • --client-id TEXT - Use a specific OAuth client ID
  • --client-secret-stdin - Read client secret from stdin
  • --timeout INTEGER - Browser callback timeout (default: 120 seconds)

Client Registration Strategy

MCP Launchpad uses a flexible registration approach:

  1. Config file - Pre-configured credentials in mcp.json
  2. DCR - Dynamic Client Registration if supported by the server
  3. Interactive - Manual input as fallback

This approach is more flexible than Claude Code, which requires DCR support.

Server Compatibility

MCP Launchpad supports OAuth servers with varying levels of standards compliance:

  • RFC 9728 - MCP-native OAuth servers with /.well-known/oauth-authorization-server at the MCP resource path
  • RFC 8414 - Standard OAuth servers with /.well-known/oauth-authorization-server at the server root
  • Non-compliant - Servers without metadata discovery (falls back to manual configuration)

Security Features

  • Fernet encryption (AES-128-CBC + HMAC) for tokens at rest
  • OS keyring integration (Keychain on macOS, libsecret on Linux, DPAPI on Windows)
  • PKCE with S256 (RFC 7636) for secure authorization
  • Token revocation on logout (RFC 7009)
  • HTTPS enforcement for all OAuth endpoints

Note: If OS keyring is unavailable, a warning will be displayed and tokens will use fallback encryption.

Environment Variables

Common settings you may need to configure:

VariableDefaultDescription
MCPL_CONFIG_FILES(auto)Comma-separated list of config files (overrides discovery)
MCPL_CONNECTION_TIMEOUT45Server connection timeout in seconds
MCPL_IDLE_TIMEOUT3600Daemon idle timeout (0 to disable)

Connection Settings

VariableDefaultDescription
MCPL_CONNECTION_TIMEOUT45MCP server connection/initialization timeout (seconds)
MCPL_RECONNECT_DELAY5Delay before retrying a failed server connection (seconds)
MCPL_MAX_RECONNECT_ATTEMPTS3Max reconnection attempts before giving up

Daemon Settings

VariableDefaultDescription
MCPL_DAEMON_START_TIMEOUT30Max time to wait for daemon startup (seconds)
MCPL_DAEMON_CONNECT_RETRY_DELAY0.2Delay between connection attempts to daemon (seconds)
MCPL_PARENT_CHECK_INTERVAL5How often daemon checks if parent process is alive (seconds)

IDE/Session Settings

VariableDefaultDescription
MCPL_IDLE_TIMEOUT3600Shut down daemon after this many seconds of inactivity (0 to disable)
MCPL_IDE_ANCHOR_CHECK_INTERVAL10How often to check if IDE session is still active (seconds)
MCPL_SESSION_ID(auto)Override the session ID (for testing or advanced multi-session setups)

Platform Notes

Windows (Experimental)

Windows support uses named pipes for IPC communication. While functional, it may have limitations compared to Unix sockets on macOS/Linux.

If you encounter issues:

  1. Use --no-daemon flag to bypass the session daemon
  2. Set MCPL_SESSION_ID explicitly if session detection is unreliable
  3. Report issues at https://github.com/kenneth-liao/mcp-launchpad/issues

Development

Requires Python 3.13+

bash
git clone https://github.com/kenneth-liao/mcp-launchpad.git
cd mcp-launchpad
uv sync --all-extras

# Run tests
uv run pytest

# Run tests with coverage
uv run pytest --cov=mcp_launchpad

# Type checking
uv run mypy mcp_launchpad

Features

  • Unified Tool Discovery - Search across all configured MCP servers with BM25, regex, or exact matching
  • Persistent Connections - Session daemon maintains server connections for faster repeated calls
  • HTTP & Stdio Support - Connect to both local process-based servers and remote HTTP/Streamable MCP servers
  • SSE Transport Support - Connect to legacy MCP servers using Server-Sent Events
  • Multi-Config Management - Use multiple config files simultaneously with interactive selection
  • OAuth 2.1 Authentication - Secure authentication for OAuth-protected MCP servers (Notion, Figma, etc.)
  • Auto-Configuration - Reads from ./mcp.json (project-level) or ~/.claude/mcp.json (user-level)
  • Cross-Platform - Works on macOS, Linux, and Windows (experimental)
  • JSON Mode - Machine-readable output for scripting and automation

License

MIT

安装

TypingMind
{
  "mcpServers": {
    "mcp-launchpad": {
      "command": "mcpl",
      "args": [
        "--help"
      ]
    }
  }
}

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

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP Launchpad 后,您就可以在 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

将 MCP Launchpad 添加为服务器

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

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

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

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

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

常见问题

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

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

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

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

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

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

如何将 MCP Launchpad MCP 连接到 TypingMind?

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

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

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

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

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

相关 MCP 服务器

查看全部

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

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