PodWarden
User ManualPodWarden

Settings: MCP

Model Context Protocol server configuration and token management

PodWarden MCP settings page with server status and token management
MCP settings — configure the Model Context Protocol server and manage access tokens

What you see

URL: /settings (MCP tab)

The MCP tab manages PodWarden's built-in Model Context Protocol (MCP) server. MCP allows AI agents and tools (such as Claude Code) to interact with your PodWarden instance programmatically using a standardized protocol.

Fields

FieldDescription
MCP server statusWhether the MCP server is running and accepting connections
Endpoint URLThe URL where the MCP server is accessible (e.g. https://podwarden.example.com/mcp)
TokensList of active MCP access tokens (prefixed with pwm_)

Available actions

ActionWhat it does
Generate tokenCreates a new MCP access token (prefixed with pwm_). The token is displayed once -- copy it immediately
Revoke tokenPermanently deactivates an MCP token. Revoked tokens cannot be re-activated

How MCP works

PodWarden exposes an MCP endpoint at /mcp that provides 41 infrastructure management tools to AI agents. With a valid pwm_ token, an agent can:

  • List and inspect clusters, hosts, workloads, and deployments
  • Create and modify stacks and assignments
  • Deploy and undeploy workloads
  • Check ingress DNS, HTTP, and TLS status
  • Manage backup policies and snapshots
  • Run provisioning jobs

Token security

  • MCP tokens start with pwm_ to distinguish them from Hub API keys (pwc_).
  • Each token has full access to all MCP tools -- there is no per-tool scoping.
  • Tokens are stored as hashed values in the database.
  • Revoke any token that may have been compromised.

Related docs