mcpr MCPサーバー
コミット 2026年11月7日単一の集中管理された設定から、複数のAIエディタや開発ツール間でModel Context Protocol serverの設定を同期します。
別名 mathematic-inc/mcpr
- スター
- 4
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年11月7日
- ライセンス
- Apache-2.0
mcpr MCPとは
単一の集中管理された設定から、複数のAIエディタや開発ツール間でModel Context Protocol serverの設定を同期します。
プロジェクトのREADMEから生成された概要
mcpr MCP server について
mcprは、複数のAIエディタにわたるModel Context Protocol serverの設定管理を開発者向けに実現します。ツールごとに個別の設定ファイルをマニュアルで更新する代わりに、サーバーを1つの中心的な場所で定義し、さまざまなクライアントへ同期できます。このCLIツールは、stdioベースのコマンドラインサーバーとHTTP/SSEベースのサーバーの両方をサポートしており、単一のインターフェースを通じて環境変数やカスタムヘッダーを管理できます。
開発者は、Claude Desktop、Cursor、VS Code、Windsurf、Zed、Claude Codeを含む幅広いアプリケーションにセットアップを同期できます。このツールは、グローバル設定と、ローカルのmcpr.jsonファイルを使用したプロジェクトローカルの設定の両方をサポートしています。サーバーを追加または削除すると、システムはアトミックな同期を実行し、クライアントが常に最新の状態に保たれるようにします。この集中管理方式により、AIを活用した開発環境を切り替えるたびに設定手順を繰り返す必要がなくなります。
できること
- 1複数のエディタへサーバーを同期設定済みのMCP serverをClaude DesktopとCursorに同時に反映します。
- 2プロジェクト固有のツールを設定現在の作業ディレクトリにのみ適用されるMCP serverを追加します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
設定
API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| API_KEY | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能mathematic-inc/mcpr is public and reachablegithub.com/mathematic-inc/mcpr ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-07github.com/mathematic-inc/mcpr ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るMCPR - MCP Registry
A CLI tool for managing Model Context Protocol (MCP) servers across multiple AI-powered code editors and development tools.
Overview
MCPR provides a centralized way to configure and synchronize MCP server configurations to various client applications that support the MCP standard. Instead of manually editing configuration files for each tool, define your MCP servers once and sync them everywhere.
Features
- Centralized Configuration - Define MCP servers in one place, sync to all your tools
- Multi-Client Support - Works with Claude Desktop, Cursor, VS Code, Windsurf, Zed, and more
- Stdio & HTTP Servers - Support for both command-line and HTTP/SSE-based MCP servers
- Project-Local Configs - Global or per-project server configurations
- Shell Completion - Tab completion for commands and server names
- Atomic Syncing - Automatic sync to all clients after configuration changes
Installation
go install github.com/mathematic-inc/mcpr@latest
Or build from source:
git clone https://github.com/mathematic-inc/mcpr.git
cd mcpr
go build -o mcpr .
Quick Start
# Add a stdio-based MCP server
mcpr add stdio npx -y @modelcontextprotocol/server-filesystem /path/to/dir
# Add an HTTP-based MCP server
mcpr add http https://example.com/mcp --name my-server
# Sync to a client
mcpr client sync claude-desktop
# List configured servers
mcpr list
# List supported clients
mcpr list --clients
Commands
mcpr add
Add new MCP server configurations.
mcpr add stdio [command] [args...]
Add a stdio-based MCP server that communicates through standard input and output.
# Basic usage
mcpr add stdio npx -y @modelcontextprotocol/server-filesystem /home/user
# With custom name
mcpr add stdio --name filesystem npx -y @modelcontextprotocol/server-filesystem /home/user
# With environment variables
mcpr add stdio --env API_KEY=secret --env DEBUG=true npx my-server
# Add to local project config
mcpr add stdio --local npx my-project-server
Flags:
--name, -n- Custom name for the server (defaults to command name)--env, -e- Environment variables in KEY=VALUE format (repeatable)--local, -l- Add to local project configuration
mcpr add http [url]
Add an HTTP/SSE-based MCP server.
# Basic usage
mcpr add http https://example.com/mcp
# With custom name and headers
mcpr add http --name my-api --header "Authorization=Bearer token" https://api.example.com/mcp
Flags:
--name, -n- Custom name for the server (defaults to URL host)--header, -H- HTTP headers in Key=Value format (repeatable)--local, -l- Add to local project configuration
mcpr remove
Remove an MCP server from configuration. Alias: rm
mcpr remove my-server
mcpr rm my-server
After removal, all synced clients are automatically updated.
mcpr client
Manage client synchronization.
mcpr client sync [client-name]
Sync MCP servers to a client application.
# Sync all servers to a specific client
mcpr client sync claude-desktop
# Resync all previously synced clients
mcpr client sync
# Sync specific servers only
mcpr client sync cursor --servers server1,server2
# Sync to local client config
mcpr client sync claude-code --local
Flags:
--servers, -s- Comma-separated list of specific servers to sync--local, -l- Use local client configuration
mcpr client remove [client-name]
Remove a client from the sync list.
mcpr client remove cursor
mcpr client remove claude-code --local
Flags:
--local, -l- Remove from local configuration
mcpr list
Display configured items.
# List all configured servers
mcpr list
# List all supported clients
mcpr list --clients
mcpr list -c
Flags:
--clients, -c- List supported clients instead of servers
Supported Clients
| Client | Description | Local Config Support |
|---|---|---|
claude-desktop |
Claude Desktop app | No |
claude-code |
Claude Code CLI | Yes |
cursor |
Cursor editor | Yes |
windsurf |
Windsurf editor | Yes |
zed |
Zed editor | No |
vscode |
VS Code with GitHub Copilot | Yes |
continue |
Continue AI extension | No |
cline |
Cline VS Code extension | No |
codex |
OpenAI Codex CLI | No |
gemini |
Google Gemini CLI | No |
kilocode |
Kilo Code VS Code extension | No |
zencoder |
ZenCoder VS Code extension | No |
Configuration
File Locations
- Global config:
~/.config/mcpr/config.json - Local config:
mcpr.jsonin project directory (or parent directories)
Configuration Structure
{
"servers": [
{
"name": "filesystem",
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user"],
"env": {}
},
{
"name": "my-api",
"type": "http",
"url": "https://api.example.com/mcp",
"headers": {
"Authorization": "Bearer token"
}
}
],
"synced_clients": [
{
"name": "claude-desktop",
"local": false,
"servers": null
},
{
"name": "cursor",
"local": false,
"servers": ["filesystem"]
}
]
}
Server Types
Stdio Servers
Stdio servers communicate via standard input/output streams:
{
"name": "my-server",
"type": "stdio",
"command": "npx",
"args": ["-y", "my-mcp-server"],
"env": {
"API_KEY": "secret"
}
}
HTTP Servers
HTTP servers communicate via HTTP/SSE:
{
"name": "my-api",
"type": "http",
"url": "https://api.example.com/mcp",
"headers": {
"Authorization": "Bearer token"
}
}
Examples
Setting Up a Development Environment
# Add common MCP servers
mcpr add stdio --name filesystem npx -y @modelcontextprotocol/server-filesystem ~/projects
mcpr add stdio --name git npx -y @modelcontextprotocol/server-git
mcpr add stdio --name github npx -y @modelcontextprotocol/server-github --env GITHUB_TOKEN=ghp_xxx
# Sync to all your tools
mcpr client sync claude-desktop
mcpr client sync cursor
mcpr client sync vscode
Project-Specific Configuration
# In your project directory
cd ~/projects/my-app
# Add project-specific server
mcpr add stdio --local --name my-app-server ./scripts/mcp-server.js
# Sync to Claude Code's local config
mcpr client sync claude-code --local
Syncing Specific Servers
# Only sync certain servers to a client
mcpr client sync cursor --servers filesystem,git
How It Works
- Add servers to MCPR's central configuration
- Sync clients to copy server configs to each tool's native format
- Auto-resync happens when you add or remove servers
MCPR reads each client's existing configuration and updates only the MCP server sections, preserving all other settings.
Contributing
AI agents maintain this repository. Start with a GitHub Discussion and wait for a maintainer to review your proposal. If we accept it, a Mathematic maintainer or agent will open the pull request. GitHub restricts pull request creation to Mathematic maintainers and repository collaborators with write, maintain, or admin access, plus authorized maintenance agents.
When Mathematic implements a proposal, the implementation pull request will link to the Discussion and credit its original author.
See CONTRIBUTING.md for the full process.
License
Apache-2.0
This project is free and open-source work by a 501(c)(3) non-profit. If you find it useful, please consider donating.
mcpr MCPのよくある質問
どのAIエディタがサポートされていますか?
Claude Desktop、Cursor、VS Code、Windsurf、Zed、Claude Codeに加え、ContinueやClineなど複数のツールをサポートしています。
MCP serverで環境変数を使用できますか?
はい、--envフラグを使用することで、stdioベースのMCP serverに環境変数を追加できます。
コマンドラインベースとWebベースの両方のサーバーをサポートしていますか?
はい、stdio(コマンドライン)とHTTP/SSEベースの両方のMCP serverをサポートしています。
既存のクライアント設定はどのように扱われますか?
クライアントの既存設定を読み込み、MCP serverのセクションのみを更新します。その他の設定は変更されません。