Skip to main content
POST
/
mcp-server
/
strata
/
add
Add
curl --request POST \
  --url https://api.klavis.ai/mcp-server/strata/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "strataId": "<string>",
  "servers": [
    "Affinity"
  ],
  "externalServers": [
    {
      "name": "<string>",
      "url": "<string>",
      "headers": {}
    }
  ]
}'
{
  "addedServers": [
    "<string>"
  ],
  "addedExternalServers": [
    {
      "name": "<string>",
      "url": "<string>",
      "headers": {}
    }
  ],
  "oauthUrls": {},
  "apiKeyUrls": {}
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Body

application/json
strataId
string
required

The strata server ID

Minimum length: 1
servers

List of Klavis integration to add (e.g., 'jira', 'linear'), 'ALL' to add all Klavis integration, or null to add no servers.

externalServers
ExternalServerRequest · object[] | null

Optional list of external MCP servers to add with their URLs. Each server will be validated before being added.

Response

Successful Response

addedServers
string[]
required

List of Klavis integration that were added

addedExternalServers
ExternalServerInfo · object[]

List of external MCP servers that were added with name and URL

oauthUrls
object

Map of connected integration to OAuth URL, supports white labeling if configured

apiKeyUrls
object

Map of connected integration to API key setup URL

I