Mcp Config

MCP Tools

MCP server configuration and diagnostics. add - add server (scope selection + registration) [add.md], move - change server scope (project→local, local→user) [move.md], format - JSON format reference (differences per agent) [format.md], catalog - list of commonly used servers [catalog.md], diagnostics - connection failure diagnosis and troubleshooting [diagnostics.md]. Use when: "add MCP", "mcp-config", "MCP server config", "add context7", "MCP format", "MCP server list", "move MCP", "MCP scope", "scope change", "MCP connection failed", "MCP error", "Failed to reconnect", "code-mode not working", "MCP server issue".

Install

openclaw skills install mcp-config

MCP Server Configuration

Correctly add and manage MCP servers in the .mcp.json file.

Topics

TopicDescriptionGuide
addAdd server (scope selection + registration + validation)add.md
catalogCatalog of commonly used MCP serverscatalog.md
diagnosticsConnection failure diagnosis and troubleshootingdiagnostics.md
formatJSON format reference (differences per agent)format.md
moveChange server scope (project→local, local→user)move.md

Quick Reference

"add MCP"              → add topic (scope selection → registration)
"add context7"         → add topic + refer to catalog for config
"move MCP"             → move topic (scope change: remove + re-add)
"MCP format"           → format topic (JSON differences per agent)
"MCP server list"      → catalog topic
"MCP connection failed" → diagnostics topic (connection troubleshooting)
"Failed to reconnect"  → diagnostics topic

Core Rules

  • New MCP server = register as a separate key (do not put inside an existing server's env)
  • Scope selection AskUserQuestion required (global vs project, agent selection)
  • Antigravity requires transport: "stdio"