Room & Story MCP API

The Mcp API from Room & Story — 1 operation(s) for mcp.

GitHub OpenAPI

Operations 1

POST /api/mcp Public MCP JSON-RPC request #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/roomandstory-com:roomandstory-com-mcp-api"
All apis
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.

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. 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 Specification

roomandstory-com-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Room & Story agent MCP API
  version: 1.1.0
  description: Public Streamable HTTP MCP with per-account agent keys. Create a key at /agents/connect. See /agents/guide for setup, budget and retry behavior.
servers:
- url: https://roomandstory.com
tags:
- name: MCP
paths:
  /api/mcp:
    post:
      operationId: mcpRequest
      summary: Public MCP JSON-RPC request
      security:
      - AgentKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - jsonrpc
              - method
              properties:
                jsonrpc:
                  const: '2.0'
                id:
                  type:
                  - string
                  - number
                method:
                  type: string
                  enum:
                  - initialize
                  - notifications/initialized
                  - server/discover
                  - ping
                  - tools/list
                  - tools/call
                params:
                  type: object
      responses:
        '200':
          description: JSON-RPC result; inspect isError for tool failures
        '202':
          description: Notification accepted
        '401':
          description: Missing, expired or revoked key
        '403':
          description: Invalid browser Origin
        '503':
          description: Temporary service failure
      tags:
      - MCP
components:
  securitySchemes:
    AgentKey:
      type: http
      scheme: bearer
      bearerFormat: Room & Story agent key
      description: Create a key at https://roomandstory.com/agents/connect. Each key has an account scope, render allowance and expiry.
x-mcp-tools:
- name: get_capabilities
  description: Read supported styles, rooms, formats, credit cost and connection requirements. No render is created.
  inputSchema:
    type: object
    properties: {}
    required: []
    additionalProperties: false
  annotations:
    readOnlyHint: true
    destructiveHint: false
    idempotentHint: true
    openWorldHint: false
- name: upload_image
  description: Save a private room image (base64, maximum 9 MiB). Requires the connected user to accept upload terms in Data & privacy first. Does not generate or spend credits.
  inputSchema:
    type: object
    properties:
      mime:
        type: string
        enum:
        - image/jpeg
        - image/png
        - image/webp
      data:
        type: string
        description: Raw base64 image bytes, without a data URL prefix. Maximum 9 MiB decoded.
    required:
    - mime
    - data
    additionalProperties: false
  annotations:
    readOnlyHint: false
    destructiveHint: false
    idempotentHint: false
    openWorldHint: false
- name: quote_project
  description: Validate an uploaded image and design brief and quote exactly one image credit. Does not reserve credits or generate. Quote expires after 15 minutes.
  inputSchema:
    type: object
    properties:
      source:
        type: string
        format: uuid
      name:
        type: string
        description: Property or project name
      mode:
        type: string
        enum:
        - staging
        - redesign
      room:
        type: string
        description: Exact room name from get_capabilities
      style:
        type: string
        description: Style ID from get_capabilities
      palette:
        type: string
        description: Palette ID from get_capabilities
      instructions:
        type: string
        description: Optional design instructions, at most 1500 characters
    required:
    - source
    - name
    - mode
    - room
    - style
    - palette
    additionalProperties: false
  annotations:
    readOnlyHint: true
    destructiveHint: false
    idempotentHint: false
    openWorldHint: false
- name: create_render
  description: Spend at most one existing image credit to submit the quoted design. Only call within the user’s authorized budget. Reuse the exact quote on retries to prevent duplicate charges. Never automatically request a new quote after an uncertain response.
  inputSchema:
    type: object
    properties:
      quote:
        type: string
        description: Opaque quote token returned by quote_project
      max_credits:
        type: integer
        const: 1
    required:
    - quote
    - max_credits
    additionalProperties: false
  annotations:
    readOnlyHint: false
    destructiveHint: false
    idempotentHint: true
    openWorldHint: true
- name: get_job
  description: Read or reconcile a saved render owned by the connected account. Poll no more longer than every 15 seconds. Never regenerate a saved result.
  inputSchema:
    type: object
    properties:
      id:
        type: string
        format: uuid
    required:
    - id
    additionalProperties: false
  annotations:
    readOnlyHint: true
    destructiveHint: false
    idempotentHint: true
    openWorldHint: false
- name: export_project
  description: Return the original and generated concept download links for one completed render. Optional include a small image preview. Full-resolution downloads use the owner’s session or authenticated agent download endpoint. Does not publish or make files public.
  inputSchema:
    type: object
    properties:
      id:
        type: string
        format: uuid
      include_image:
        type: boolean
        default: false
    required:
    - id
    additionalProperties: false
  annotations:
    readOnlyHint: true
    destructiveHint: false
    idempotentHint: true
    openWorldHint: false