POST
/
api
/
v2
/
public
/
mcp-servers
curl -X POST "https://api.gocobalt.io/api/v2/public/mcp-servers" \
  -H "Authorization: Bearer YOUR_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production MCP Server",
    "description": "MCP server for production customer integration workflows"
  }'
{
    "_id": "686e23c7397a76e76449bc14",
    "name": "MCP Server Dhananjay",
    "description": "This is a Dummy MCP Server"
}
This API allows you to create a new MCP server in your organization.

Request description

This API supports two authentication methods. You can use either Session Token authentication OR the combination of API key and linked account ID.

Authentication Option 1: Session Token

Authorization
string
required
Bearer token using your session token for authenticationFormat: Bearer YOUR_SESSION_TOKEN

Authentication Option 2: API Key + Linked Account

x-api-key
string
required
Your Cobalt API key
linked_account_id
string
required
The unique identifier for the linked account

Body Parameters

name
string
required
Name of the MCP server
description
string
required
Description of the MCP server

Response description

_id
string
Unique identifier for the created MCP server
name
string
Name of the MCP server
description
string
Description of the MCP server
{
    "_id": "686e23c7397a76e76449bc14",
    "name": "MCP Server Dhananjay",
    "description": "This is a Dummy MCP Server"
}
curl -X POST "https://api.gocobalt.io/api/v2/public/mcp-servers" \
  -H "Authorization: Bearer YOUR_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production MCP Server",
    "description": "MCP server for production customer integration workflows"
  }'