PUT
/
api
/
v1
/
mcp
/
agents
/
{agent_id}
/
servers
/
{server_id}
Update Mcp Server
curl --request PUT \
  --url https://agent-studio.thena.ai/api/v1/mcp/agents/{agent_id}/servers/{server_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "auth_config": {},
  "health_check_url": "<string>",
  "tool_discovery_endpoint": "<string>",
  "status": "<string>"
}'
{
  "agent_id": "123e4567-e89b-12d3-a456-426614174001",
  "auth_config": {
    "client_id": "our_dynamically_registered_client_id",
    "type": "oauth2"
  },
  "created_at": "2023-01-01T00:00:00Z",
  "health_check_url": "https://api.salesforce.com/mcp/health",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "last_health_check": "2023-01-01T00:00:00Z",
  "name": "Salesforce MCP",
  "status": "connected",
  "updated_at": "2023-01-01T00:00:00Z",
  "url": "https://api.salesforce.com/mcp"
}

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string
required
server_id
string<uuid>
required

Body

application/json

Model for updating an MCP server configuration.

Response

200
application/json

Successful Response

Model for an MCP server configuration.