Create an MCP server
MCP servers
Create an MCP server
Creates a new MCP server for an organization. Requires admin access to the organization. The server URL is validated, static headers are encrypted, and tools are synced after creation.
POST
Create an MCP server
Side effects
When an MCP server is successfully created:- Tool sync - Basedash connects to the MCP server and syncs its tools
- OAuth bootstrap - If the server advertises OAuth, the response includes an authorization URL
- Trial activation - If the organization has never been on a trial, a trial period is automatically started
Authorizations
API key authentication using Bearer token format: Bearer <basedash_api_key>
Path Parameters
Organization ID
Body
application/json
Display name for the MCP server
Required string length:
1 - 120MCP server URL
Required string length:
1 - 2000Static headers to use when connecting to the MCP server
Whether every member in the organization can use this MCP server
Response
MCP server created successfully