Create a new MCP (Model Context Protocol) configuration that can be reused across multiple API requests. Configurations store connector settings, credentials, and access permissions.
name string required
Human-readable name for the configuration. Used to identify the configuration in lists and logs.
organization_id string required
Organization ID to associate this configuration with.
server_url string required
URL of the MCP server endpoint.
transport_type string required
Transport protocol for the MCP connection. Example: "sse", "stdio".
auth_type string required
Authentication type for the MCP server. Example: "none", "bearer", "oauth".
credentials object optional
Authentication credentials for the MCP server. Structure depends on auth_type.
tool_configuration object optional
Configuration for which tools are enabled or restricted on this MCP server.
Returns a JSON response indicating success or failure.
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/mcp-configurations" \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My MCP Server",
"organization_id": "org_abc123",
"server_url": "https://mcp.example.com/sse",
"transport_type": "sse",
"auth_type": "bearer",
"credentials": {
"token": "my-bearer-token"
}
}'