|
30 | 30 | - [Interactive Shell](#interactive-shell) |
31 | 31 | - [Project Scaffolding](#project-scaffolding) |
32 | 32 | - [Server Aliases](#server-aliases) |
| 33 | +- [LLM Apps Config Management](#llm-apps-config-management) |
33 | 34 | - [Server Modes](#server-modes) |
34 | 35 | - [Mock Server Mode](#mock-server-mode) |
35 | 36 | - [Proxy Mode](#proxy-mode) |
@@ -397,6 +398,55 @@ mcp call read_file --params '{"path":"README.md"}' myfs |
397 | 398 |
|
398 | 399 | Server aliases are stored in `$HOME/.mcpt/aliases.json` and provide a convenient way to work with commonly used MCP servers without typing long commands repeatedly. |
399 | 400 |
|
| 401 | +## LLM Apps Config Management |
| 402 | + |
| 403 | +MCP Tools provides a powerful configuration management system that helps you work with MCP server configurations across multiple applications: |
| 404 | + |
| 405 | +> 🚧 This works only on macOS for now. |
| 406 | +
|
| 407 | +```bash |
| 408 | +# Scan for MCP server configurations across all supported applications |
| 409 | +mcp configs scan |
| 410 | + |
| 411 | +# List all configurations (alias for configs view --all) |
| 412 | +mcp configs ls |
| 413 | + |
| 414 | +# View specific configuration by alias |
| 415 | +mcp configs view vscode |
| 416 | + |
| 417 | +# Add or update a server in a configuration |
| 418 | +mcp configs set vscode my-server npm run mcp-server |
| 419 | +mcp configs set cursor my-api https://api.example.com/mcp --headers "Authorization=Bearer token" |
| 420 | + |
| 421 | +# Add to multiple configurations at once |
| 422 | +mcp configs set vscode,cursor,claude-desktop my-server npm run mcp-server |
| 423 | + |
| 424 | +# Remove a server from a configuration |
| 425 | +mcp configs remove vscode my-server |
| 426 | + |
| 427 | +# Create an alias for a custom config file |
| 428 | +mcp configs alias myapp ~/myapp/config.json |
| 429 | + |
| 430 | +# Synchronize and merge configurations from multiple sources |
| 431 | +mcp configs sync vscode cursor --output vscode --default interactive |
| 432 | + |
| 433 | +# Convert a command line to MCP server JSON configuration format |
| 434 | +mcp configs as-json mcp proxy start |
| 435 | +# Output: {"command":"mcp","args":["proxy","start"]} |
| 436 | + |
| 437 | +# Convert a URL to MCP server JSON configuration format |
| 438 | +mcp configs as-json https://api.example.com/mcp --headers "Authorization=Bearer token" |
| 439 | +# Output: {"url":"https://api.example.com/mcp","headers":{"Authorization":"Bearer token"}} |
| 440 | +``` |
| 441 | + |
| 442 | +Configurations are managed through a central registry in `$HOME/.mcpt/configs.json` with predefined aliases for: |
| 443 | +- VS Code and VS Code Insiders |
| 444 | +- Windsurf |
| 445 | +- Cursor |
| 446 | +- Claude Desktop and Claude Code |
| 447 | + |
| 448 | +The system automatically displays server configurations in a colorized format grouped by source, showing command-line or URL information, headers, and environment variables. |
| 449 | + |
400 | 450 | ## Server Modes |
401 | 451 |
|
402 | 452 | MCP Tools can operate as both a client and a server, with two server modes available: |
|
0 commit comments