XCut AI Claude API
The Claude API from XCut AI — 1 operation(s) for claude.
The Claude API from XCut AI — 1 operation(s) for claude.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/xcut-ai:xcut-ai-claude-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: XCut AI MCP server Claude API
version: 1.1.0
summary: 'Remote Model Context Protocol server for XCut AI: outlier posts, Meta Ad Library research, video breakdowns, and scripts written with brand memory.'
description: 'XCut AI exposes its agent-facing API as a remote MCP server (Streamable HTTP, JSON-RPC 2.0, stateless). Hook templates, playbooks and quick tools work without an account; tools that read or change the user''s XCut AI canvases, brand memory, imports or credits require an OAuth 2.1 access token carrying the scopes below, or a personal API key from XCut AI Settings → Connected apps. Tool and prompt names, schemas and per-tool scopes come from the server itself (tools/list); this document declares the security model and the error model. Developer docs: https://xcut.ai/developers. Agent index: https://xcut.ai/llms.txt.'
termsOfService: https://xcut.ai/terms-conditions
contact:
name: XCut AI
url: https://xcut.ai/developers
email: info@xcut.ai
servers:
- url: https://mcp.xcut.ai
description: 'Production. OAuth 2.1 metadata: /.well-known/oauth-authorization-server (RFC 8414) and /.well-known/oauth-protected-resource (RFC 9728).'
security:
- oauth2:
- xcut.read
- apiKey: []
- {}
tags:
- name: Claude
paths:
/claude/mcp:
post:
operationId: mcpClaude
summary: 'MCP endpoint (Claude build: same server without AI image generation)'
description: Identical transport, auth and errors to /mcp. Its protected-resource metadata is at /.well-known/oauth-protected-resource/claude/mcp and its tokens carry that resource as audience.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcRequest'
responses:
'200':
$ref: '#/components/responses/JsonRpc'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'413':
$ref: '#/components/responses/PayloadTooLarge'
default:
$ref: '#/components/responses/Problem'
security:
- oauth2:
- xcut.read
- xcut.write
- apiKey: []
- {}
tags:
- Claude
components:
responses:
PayloadTooLarge:
description: The request body exceeds 1 MB.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
example:
type: about:blank
title: Content Too Large
status: 413
detail: Request body too large.
instance: /mcp
JsonRpc:
description: JSON-RPC 2.0 response. A protocol error (unknown method or tool, invalid params) is a JSON-RPC error object in this 200 response. A tool that ran and failed sets result.isError = true and puts a ToolError in result.structuredContent.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
Forbidden:
description: The token is valid but lacks a scope this tool requires (insufficient_scope). WWW-Authenticate names the missing scope.
headers:
WWW-Authenticate:
schema:
type: string
example: Bearer error="insufficient_scope", error_description="This tool needs the xcut.write permission.", resource_metadata="https://mcp.xcut.ai/.well-known/oauth-protected-resource/mcp", scope="xcut.read xcut.write"
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthError'
MethodNotAllowed:
description: 'Only POST is accepted at the MCP endpoint (stateless server: no GET SSE stream, no DELETE session). Allow lists the methods.'
headers:
Allow:
schema:
type: string
example: POST
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
example:
type: about:blank
title: Method Not Allowed
status: 405
detail: Use POST for MCP requests.
instance: /mcp
Problem:
description: Any other HTTP-level failure (unknown path 404, wrong method 405, server fault 500) as an RFC 9457 problem document. detail says what to do next.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
example:
type: about:blank
title: Not Found
status: 404
detail: No route at /v1/hooks. The MCP endpoint is POST /mcp; see https://xcut.ai/developers.
instance: /v1/hooks
Unauthorized:
description: 'No credentials, or credentials that are invalid or expired, for a tool that needs an account. WWW-Authenticate follows RFC 6750 and RFC 9728 §5.1: Bearer error, error_description, resource_metadata and the scopes the tool set needs.'
headers:
WWW-Authenticate:
schema:
type: string
example: Bearer error="invalid_token", error_description="Sign in to XcutAI to use this tool.", resource_metadata="https://mcp.xcut.ai/.well-known/oauth-protected-resource/mcp", scope="xcut.read xcut.write"
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthError'
example:
error: invalid_token
error_description: Sign in to XcutAI to use this tool.
BadRequest:
description: The body is not parseable JSON or not a JSON-RPC 2.0 request.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcErrorResponse'
example:
jsonrpc: '2.0'
id: null
error:
code: -32700
message: 'Parse error: key must be a string at line 1 column 2'
schemas:
JsonRpcRequest:
type: object
required:
- jsonrpc
- method
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
method:
type: string
examples:
- initialize
- tools/list
- tools/call
- prompts/list
- resources/list
- resources/read
params:
type: object
JsonRpcError:
type: object
required:
- code
- message
properties:
code:
type: integer
description: -32700 parse error, -32600 invalid request, -32601 method not found, -32602 invalid params, -32603 internal error.
message:
type: string
data: {}
Problem:
type: object
description: RFC 9457 problem details.
required:
- title
- status
properties:
type:
type: string
format: uri-reference
default: about:blank
description: Problem type URI; about:blank means the HTTP status code is the whole story.
title:
type: string
description: Short human-readable summary, the HTTP reason phrase when type is about:blank.
status:
type: integer
minimum: 400
maximum: 599
detail:
type: string
description: What went wrong and what to do next.
instance:
type: string
format: uri-reference
description: The request path.
additionalProperties: true
JsonRpcErrorResponse:
type: object
required:
- jsonrpc
- error
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
- type: 'null'
error:
$ref: '#/components/schemas/JsonRpcError'
ToolError:
type: object
description: Returned in result.structuredContent when result.isError is true. message is written for the person in the chat and safe to show verbatim.
required:
- error
- message
- retryable
properties:
error:
type: string
description: Machine-readable code.
enum:
- INVALID_INPUT
- SIGN_IN_REQUIRED
- INSUFFICIENT_SCOPE
- OUT_OF_CREDITS
- NOT_FOUND
- FORBIDDEN
- CONFLICT
- RATE_LIMITED
- TIMEOUT
- UPSTREAM_UNAVAILABLE
- INTERNAL
- INVALID_JOB
- JOB_EXPIRED
- JOB_FAILED
- RESULT_TOO_LARGE
message:
type: string
retryable:
type: boolean
description: Whether repeating the same call can succeed.
retry_after_s:
type: integer
description: Present when waiting is the fix (RATE_LIMITED).
additionalProperties: true
JsonRpcResponse:
type: object
required:
- jsonrpc
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
- type: 'null'
result:
type: object
description: 'Method result. For tools/call: content (text blocks), structuredContent (typed JSON, or a ToolError when isError is true) and isError.'
properties:
isError:
type: boolean
structuredContent:
oneOf:
- $ref: '#/components/schemas/ToolError'
- type: object
additionalProperties: true
additionalProperties: true
error:
$ref: '#/components/schemas/JsonRpcError'
OAuthError:
type: object
description: RFC 6750 bearer-token error body, mirrored in the WWW-Authenticate header.
required:
- error
properties:
error:
type: string
enum:
- invalid_request
- invalid_token
- insufficient_scope
error_description:
type: string
securitySchemes:
oauth2:
type: oauth2
description: 'OAuth 2.1 authorization code with PKCE (S256). Public clients register dynamically at the registration endpoint or present a client ID metadata document. Request only the scopes the task needs: xcut.read for research and reading the user''s workspace, xcut.write for anything that imports, runs an agent, or adds to a canvas or calendar and therefore spends credits. offline_access adds a refresh token.'
flows:
authorizationCode:
authorizationUrl: https://mcp.xcut.ai/oauth/authorize
tokenUrl: https://mcp.xcut.ai/oauth/token
refreshUrl: https://mcp.xcut.ai/oauth/token
scopes:
xcut.read: See the user's canvases, brand memory, calendar, imported content and credit balance
xcut.write: Import content, run analyses and agents, and add to the user's canvases and calendar, using their credits
offline_access: Receive a refresh token so the connection survives the access token's expiry
apiKey:
type: http
scheme: bearer
description: 'Personal API key created in XCut AI under Settings → Connected apps (prefix xcut_sk_), sent as Authorization: Bearer <key>. For clients that cannot complete the OAuth flow (for example Meta Muse custom connectors). A key authenticates as the account that created it and carries the scopes (xcut.read, xcut.write) assigned to it when it was created; it can be revoked in the same settings page.'
externalDocs:
description: 'Developer documentation: quickstart, sandbox call, authentication, endpoints, error model, rate limits'
url: https://xcut.ai/developers