Skip to content

Commit 8757cdd

Browse files
authored
Merge pull request #34 from f/feature/configs
Feature/configs
2 parents 93158a5 + 805b129 commit 8757cdd

File tree

4 files changed

+1807
-499
lines changed

4 files changed

+1807
-499
lines changed

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
- [Interactive Shell](#interactive-shell)
3131
- [Project Scaffolding](#project-scaffolding)
3232
- [Server Aliases](#server-aliases)
33+
- [LLM Apps Config Management](#llm-apps-config-management)
3334
- [Server Modes](#server-modes)
3435
- [Mock Server Mode](#mock-server-mode)
3536
- [Proxy Mode](#proxy-mode)
@@ -397,6 +398,55 @@ mcp call read_file --params '{"path":"README.md"}' myfs
397398

398399
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.
399400

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+
400450
## Server Modes
401451

402452
MCP Tools can operate as both a client and a server, with two server modes available:

0 commit comments

Comments
 (0)