Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Fine Structure MCP API
version: 1.0.0
summary: Build, edit, validate and publish complete web applications with AI.
description: 'Fine Structure is an AI software-building platform: it generates complete applications, runs autonomous AI agent teams, and maintains a business brain over your data.
Getting started is self-serve: sign up free at https://finestructure.ai (free tier included, no credit card), then create an API/MCP token at https://finestructure.ai/api-keys and pass it as `Authorization: Bearer fse2_mcp_`.
Every operation below is also available as an MCP tool via the JSON-RPC endpoint POST /api/mcp (Streamable HTTP transport).'
termsOfService: https://finestructure.ai/terms
contact:
name: Fine Structure support
email: support@finestructure.ai
url: https://finestructure.ai/contact
servers:
- url: https://finestructure.ai
description: Production
tags:
- name: MCP
description: Model Context Protocol (JSON-RPC 2.0)
paths:
/api/mcp:
post:
operationId: mcp_jsonrpc
summary: MCP JSON-RPC 2.0 endpoint (initialize, tools/list, tools/call)
description: Model Context Protocol endpoint over Streamable HTTP. Supports the methods initialize, tools/list and tools/call per the MCP specification.
tags:
- MCP
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcRequest'
responses:
'200':
description: JSON-RPC 2.0 response (success or error object)
content:
application/json:
schema:
type: object
components:
schemas:
JsonRpcRequest:
type: object
properties:
jsonrpc:
type: string
const: '2.0'
id:
oneOf:
- type: string
- type: integer
- type: 'null'
method:
type: string
enum:
- initialize
- tools/list
- tools/call
params:
type: object
additionalProperties: true
required:
- jsonrpc
- method
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: fse2_mcp_<token>
description: User-created Fine Structure token. Create one self-serve at https://finestructure.ai/api-keys. Tokens are scoped by account, app and permissions.
externalDocs:
description: Agent integration guide
url: https://finestructure.ai/api/mcp/docs