Skip to content

MCP Integration

The Tundra MCP plugin exposes your infrastructure as an MCP server, letting AI tools manage servers, sites, databases, DNS, and more through natural language.

  1. Go to Plugins → Marketplace → MCP Server → Install
  2. Once installed, go to Settings → AI Agents (MCP)
  3. Click Create token — choose a scope and expiry
  4. Copy the connection URL
Terminal window
# Add to your Claude Code MCP config
claude mcp add tundra \
--transport http \
--url https://panel.example.com/mcp/v1 \
--header "Authorization: Bearer tnd_mcp_<token>"
ToolWhat it does
list_serversList all enrolled servers
list_sitesList sites with status
create_siteProvision a new site
trigger_deploymentDeploy a site
rollback_deploymentRoll back to a previous release
list_databasesList databases
list_domainsList domains and DNS zones
get_audit_logFetch recent audit entries
get_metricsGet server metrics

MCP tokens can be scoped to limit what the AI can do:

ScopeAccess
readList and read all resources
deploymentsTrigger and roll back deployments
sitesCreate and manage sites
adminFull access (same as owner session)

All MCP tool invocations are logged in plugin_mcp_tool_invocations and visible in Settings → Audit Log filtered by actor_type = mcp_token.