mcp-config-multi-server.json 686 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "mcpServers": {
  3. "gogs": {
  4. "type": "stdio",
  5. "command": "node",
  6. "args": ["/data/gogs-mcp/dist/index.js"],
  7. "env": {}
  8. },
  9. "custom-api": {
  10. "type": "stdio",
  11. "command": "node",
  12. "args": ["/path/to/custom-mcp-server/dist/index.js"],
  13. "env": {
  14. "API_KEY": "${CUSTOM_API_KEY}",
  15. "API_URL": "https://api.example.com"
  16. }
  17. },
  18. "database": {
  19. "type": "stdio",
  20. "command": "node",
  21. "args": ["/path/to/database-mcp/dist/index.js"],
  22. "env": {
  23. "DB_HOST": "${DB_HOST}",
  24. "DB_USER": "${DB_USER}",
  25. "DB_PASSWORD": "${DB_PASSWORD}",
  26. "DB_NAME": "myapp"
  27. }
  28. }
  29. }
  30. }