Skip to main content
POST
/
api
/
mcp-server
/
create_from_api
Mcp Create From Api
curl --request POST \
  --url https://app.apigene.ai/api/mcp-server/create_from_api \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "api_name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Body

application/json

Request model for creating an MCP server from an API name.

api_name
string
required

The name of the API to create MCP server from

Response

Successful Response