Allow enabling/disabling of MCP servers

This commit is contained in:
Matt Rubens
2024-12-14 01:17:01 -05:00
parent 5c643af49a
commit 3d7ff32406
11 changed files with 258 additions and 9 deletions

View File

@@ -633,7 +633,7 @@ npm run build
5. Install the MCP Server by adding the MCP server configuration to the settings file located at '${await mcpHub.getMcpSettingsFilePath()}'. The settings file may have other MCP servers already configured, so you would read it first and then add your new server to the existing \`mcpServers\` object.
IMPORTANT: Regardless of what else you see in the settings file, you must not set any defaults for the \`alwaysAllow\` array in the newly added MCP server.
IMPORTANT: Regardless of what else you see in the MCP settings file, you must default any new MCP servers you create to disabled=false and alwaysAllow=[].
\`\`\`json
{