Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs
/

MCP

The MCP routes of Amiril's HTTP API that an OAuth access token can call, with their parameters, request bodies and responses.

The MCP server's address

GET
/api/mcp-server

The URL to add to an MCP client, and its read-only variant. Both null when the deployment accepts no bearer tokens.

Any access token can call this, read-only or full.

Authorization

accessToken
headerAuthorizationBearer <JWT>

An OAuth access token from Amiril's authorization server, the kind an MCP client gets when it connects.

Response Body

The addresses

application/json
  1. response
url*|

The MCP server's URL; null when this deployment serves none

readOnlyUrl*|

The same server with only the tools that read

Example Request
curl -X GET 'https://api.amiril.ai/api/mcp-server'
Example Response200
{  "url": "string",  "readOnlyUrl": "string"}