Skip to main content

MCP servers

Settings → MCP servers lists the MCP servers the organization has registered: name, transport (remote http/sse or local stdio), description and status. The switch in the Status column turns the server on and off without opening the form. A task receives a server from here when it lists it by name in mcp_servers (see Task MCP servers).

The task looks the name up in this order: the plugin's .mcp.json in the Playbook, the servers on this screen and, last, Kobana's MCP server catalog.

Create and edit​

Click New server (or Edit, on the server's pencil) and fill in:

FieldRule
Nameunique in the organization: letters, numbers, - and _, up to 64 characters. It is the name the task uses in mcp_servers.
Descriptionoptional: for whoever maintains it.
Configuration (JSON)one mcpServers entry in the .mcp.json format.
Onwhen off, the server stays registered, but a task that asks for it does not receive it.

Remote:

{ "type": "http", "url": "https://docs.banking.kobana.com.br/mcp" }

With a token, in an environment secret:

{
"type": "http",
"url": "https://mcp.exemplo.com/mcp",
"headers": { "Authorization": "Bearer ${EXEMPLO_MCP_TOKEN}" }
}

Credentials​

Credentials are never stored here. A header or variable with a credential name (Authorization, *_TOKEN, *_KEY, password…) is only accepted as ${VAR}. The value lives in Settings → Secrets, in the execution's environment, and the variable must be in the task's required_secrets.

Local server (stdio)​

A stdio server runs a program on the execution's machine. It only runs if the command and args are the same as those of an entry in Kobana's catalog, or if Kobana allows local servers for the organization. For each local server, the list shows Allowed by the catalog or Allowed for the organization; one that is not allowed shows the alert Won't run: stdio outside the Kobana catalog and is refused at execution time.

Delete​

The server leaves the organization. A task that still lists it in mcp_servers goes back to looking for it in the plugin's .mcp.json and in Kobana's catalog; if it is in neither, the server is refused at execution time.

Through the API: /v1/mcp_servers. Through Kadu's MCP: kadu_mcp_servers_*. In both, the error message comes in the language of Accept-Language (Portuguese, English or Spanish), and details.reason carries the reason as a stable code.