BACK TO TEMPLATES
mcp-configany

Multi-Server Enterprise MCP Config Template

Production mcp.json configuration file connecting Github, Postgres, Context7, Memory, and Brave Search MCP servers.

When to use this

Use this configuration template to wire multiple MCP servers (code search, database, memory, search) into your agent harness simultaneously.

The template

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
      }
    },
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://user:pass@localhost:5432/mydb"]
    },
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    },
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    },
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-brave-search"],
      "env": {
        "BRAVE_API_KEY": "YOUR_BRAVE_API_KEY"
      }
    }
  }
}

How to use

Save to .mcp.json or claude_desktop_config.json and replace API tokens.

Last verified 2026-07-26