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:| File | URL | Purpose |
|---|---|---|
llms.txt | /llms.txt | Concise API overview for LLMs |
llms-full.txt | /llms-full.txt | Complete API reference with all parameters |
openapi.yaml | /docs/openapi.yaml | OpenAPI 3.1 spec for tool generation |
ai-plugin.json | /.well-known/ai-plugin.json | Agent marketplace discovery |
Using with Claude Code
Via MCP Server
Install our MCP server to give Claude direct API access:“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
- Create a Custom GPT
- Add the OpenAPI spec as an Action:
/docs/openapi.yaml - Configure authentication with your API key
- 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