mcpr MCP server
Commit 7 Nov 2026Sinkronisasikan konfigurasi Model Context Protocol server di berbagai AI editor dan development tools melalui satu konfigurasi terpusat.
Juga dikenal sebagai mathematic-inc/mcpr
- Stars
- 4
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 7 Nov 2026
- Lisensi
- Apache-2.0
Apa itu mcpr MCP?
Sinkronisasikan konfigurasi Model Context Protocol server di berbagai AI editor dan development tools melalui satu konfigurasi terpusat.
Ringkasan dibuat dari README proyek
Tentang mcpr MCP server
mcpr memungkinkan developer untuk mengelola konfigurasi Model Context Protocol server di berbagai AI editor. Alih-alih memperbarui file konfigurasi satu per satu secara manual untuk setiap tool, Anda dapat mendefinisikan server Anda di satu lokasi terpusat dan menyinkronkannya ke berbagai client. CLI tool ini mendukung server command-line berbasis stdio maupun server berbasis HTTP/SSE, sehingga Anda dapat mengelola environment variables dan custom headers melalui satu interface.
Developer dapat menyinkronkan setup mereka ke berbagai aplikasi termasuk Claude Desktop, Cursor, VS Code, Windsurf, Zed, dan Claude Code. Tool ini mendukung konfigurasi global maupun setup lokal proyek menggunakan file mcpr.json. Saat Anda menambah atau menghapus server, sistem akan melakukan atomic syncing untuk memastikan client Anda tetap terupdate. Pendekatan terpusat ini menghilangkan kebutuhan untuk mengulang langkah konfigurasi setiap kali Anda berpindah antar lingkungan pengembangan berbasis AI yang berbeda.
Apa yang bisa Anda lakukan dengannya
- 1Sinkronisasikan server ke berbagai editorPush MCP server yang telah dikonfigurasi ke Claude Desktop dan Cursor secara bersamaan.
- 2Konfigurasi tool khusus proyekTambahkan MCP server yang hanya berlaku untuk direktori kerja Anda saat ini.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Konfigurasi
API_KEY
| Nama | Deskripsi | Tipe |
|---|---|---|
| API_KEY | — |
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkaumathematic-inc/mcpr is public and reachablegithub.com/mathematic-inc/mcpr ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-11-07github.com/mathematic-inc/mcpr ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubMCPR - 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.
Pertanyaan tentang mcpr MCP
AI editor apa saja yang didukung?
Tool ini mendukung Claude Desktop, Cursor, VS Code, Windsurf, Zed, Claude Code, dan beberapa lainnya termasuk Continue dan Cline.
Bisakah saya menggunakan environment variables dengan MCP server saya?
Ya, Anda bisa menambahkan environment variables ke MCP server berbasis stdio menggunakan flag --env.
Apakah mendukung server berbasis command-line dan web?
Ya, tool ini mendukung MCP server berbasis stdio (command-line) maupun HTTP/SSE.
Bagaimana cara kerjanya terhadap konfigurasi client yang sudah ada?
Tool ini membaca konfigurasi client yang sudah ada dan hanya memperbarui bagian MCP server, tanpa mengubah pengaturan lainnya.