Skip to content
API Reference

keycard-upsert-mcp-config

Add or update an MCP server entry in .mcp.json.

Add or update an MCP server entry in .mcp.json.

Use this skill when you want to add or update an MCP server in .mcp.json.

Do not use this skill to set a keycard.toml field (use keycard-upsert-config), or to discover which MCP servers are available in your zone (use keycard-discover-entities).

add "<name>" command="<cmd>" args=[...] env={...}

  • “Add an MCP server called my-server using npx with args -y @my/mcp-server”
  • “Add a local MCP tool at /usr/local/bin/my-mcp”