Skip to main content

Using with AI Agents

StagingSpaces is designed to work seamlessly with AI agents like Claude (via Claude Code or MCP), GPT, and other LLM-based tools.

Machine-readable API reference

We provide several formats for AI agent consumption:

Using with Claude Code

Via MCP Server

Install our MCP server to give Claude direct API access:
Then tell Claude:
“Stage this room photo with a scandinavian style”
Claude will use the MCP tools to call the API directly.

Via llms.txt

Point Claude at the API reference:
“Read https://stagingspaces-production-6fb7.up.railway.app/llms.txt and use the StagingSpaces API to stage my room photos”

Using with GPT / Custom GPTs

  1. Create a Custom GPT
  2. Add the OpenAPI spec as an Action: /docs/openapi.yaml
  3. Configure authentication with your API key
  4. The GPT can now stage images on your behalf

Using with any agent framework

LangChain

CrewAI / AutoGPT

Use the OpenAPI spec at /docs/openapi.yaml to auto-generate tools.

Agent-friendly design decisions

  • Simple auth: Single Bearer token, no OAuth flows
  • Multipart uploads: Standard file upload format all HTTP libraries support
  • Predictable responses: Consistent JSON structure across all endpoints
  • Claim codes: Human-readable codes (SS-7X9K2M) agents can relay to users
  • Idempotent reads: GET endpoints are safe to call repeatedly
  • Clear errors: Error messages include actionable fix suggestions