Create a new API key

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi-v2.exoscale.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Exoscale APIv2 MCP server": {
  "url": "https://openapi-v2.exoscale.com/mcp"
}
Close
POST /api-key
application/json

Body Required

  • role-id string(uuid) Required

    IAM API Key Role ID

  • name string Required

    IAM API Key Name

    Minimum length is 1, maximum length is 255.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • name string

      IAM API Key name

    • key string

      IAM API Key

    • secret string

      IAM API Key Secret

    • role-id string(uuid)

      IAM API Key Role ID

POST /api-key
curl \
 --request POST 'https://api-ch-gva-2.exoscale.com/v2/api-key' \
 --header "Content-Type: application/json" \
 --data '{"role-id":"string","name":"string"}'
Request examples
{
  "role-id": "string",
  "name": "string"
}
Response examples (200)
{
  "name": "string",
  "key": "string",
  "secret": "string",
  "role-id": "string"
}