Gerente de MCP
# Add a new server
python mcpm.py add "filesystem npx -y @modelcontextprotocol/server-filesystem /path1 /path2"
# Update an existing server
python mcpm.py set "filesystem npx -y @modelcontextprotocol/server-filesystem /path3 /path4"
# List all servers
python mcpm.py ls
# Remove a server
python mcpm.py rm filesystem
producción
{
"mcpServers": {
"server_name": {
"command": "command",
"args": ["arg1", "arg2"]
}
}
}
El archivo se guardará en Saved to: /Users/username/.mcpm/config.json
Hacer
Especifique una ruta de salida, por ejemplo,
python mcpm.py add "filesystem npx -y @modelcontextprotocol/server-filesystem /path1 /path2" -o config.jsonSoporte para servidor SSE