Mcp servers: "Using JSON Files to Manage MCP Servers with an 'Always Allow' Parameter"

Yes, there is a spelling error in your sentence. “Whehter” should be corrected to “whether”. Here’s the corrected version:

“Use a JSON file to control the MCP servers like Cline or Claude and has a parameter to control whether to always allow.”

{
  "mcpServers": {
    "postgres": {
      "command": "node",
      "args": [
        "F://node_modules//node_modules//@modelcontextprotocol//server-postgres//dist//index.js",
        "postgresql://postgres:postgres@localhost/novel"
      ],
      "alwaysAllow": [
        "query"
      ]
    }
  }
}
2 Likes

The disable flag is extremely useful too, IMO. It sure beats deleting config settings entirely just to temporarily disable a server.
"disabled": true,

1 Like