MCP Streamable-HTTP JSON-RPC endpoint

Model Context Protocol server (JSON-RPC 2.0 over Streamable HTTP). OAuth-capable clients discover Peelaway sign-in from the canonical MCP endpoint; a pk_ bearer key remains available as a fallback. Methods: initialize, tools/list, tools/call. Tools: edit_image, get_job_status, get_job_result, share_image. See /mcp.json for the manifest.

post/mcp

Request

  • Base URL: https://mcp.peelaway.io
  • URL: https://mcp.peelaway.io/mcp
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.peelaway.io/auth/oauth2/authorize, token URL https://api.peelaway.io/auth/oauth2/token, scopes: mcp:tools)
    • HTTP bearer

Request body

jsonrpc'2.0'
method'initialize' | 'tools/list' | 'tools/call'
paramsobject

Response

A JSON-RPC 2.0 response object (or batch array).

Changes

No recorded changes to this operation across all 1 revision of this API.