The mcp area has 2 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
mcp
Model Context Protocol endpoint (Streamable HTTP)
- Request:
POSTon/mcp
mcp(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>mcpSurface
The MCP tools, prompts and resources Overlane offers
- Request:
GETon/v1/mcp/surface
mcpSurface(args?: Record<string, never>, options?: CallOptions): Promise<Record<string, unknown>>