Skip to content

get-server-config ​

Generate installation configuration for an MCP server. Returns ready-to-use config for various clients.

Example Prompts ​

"How do I install the PostgreSQL MCP server for Claude Desktop?"

"Give me the config to add the GitHub server to VS Code"

"Generate the installation config for the filesystem server"

"Set up the Slack MCP server for me"

Usage ​

Tool: get-server-config
Parameters:
  - serverId (required): The server ID
  - format (optional): Config format

Example ​

Input:

json
{
  "serverId": "postgres",
  "format": "claude-desktop"
}

Output:

json
{
  "format": "claude-desktop",
  "config": {
    "mcpServers": {
      "postgres": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-postgres"],
        "env": {
          "POSTGRES_URL": "postgresql://user:pass@localhost:5432/db"
        }
      }
    }
  },
  "instructions": "Add to ~/Library/Application Support/Claude/claude_desktop_config.json"
}

Parameters ​

ParameterTypeRequiredDescription
serverIdstringYesServer ID
formatstringNoclaude-desktop (default), vscode, generic

Config Formats ​

FormatDescription
claude-desktopClaude Desktop configuration
vscodeVS Code / Copilot configuration
genericGeneric MCP configuration

Returns ​

  • Ready-to-use configuration JSON
  • Instructions for where to add it
  • Required environment variables

Released under the MIT License.