mcp

The sandbox's MCP servers, their state and fresh URLs.

get/v1/sandboxes/{id}/mcp

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/sandboxes/{id}/mcp
  • Auth: HTTP bearer

Path parameters

idstring required

Resource identifier (UUID).

Response

Success

runningboolean required
portinteger nullable
publicboolean

The URLs are a public preview: no link token, no expiry.

tokenstring

Send it as Authorization: Bearer <token>.

headersobject

The headers every MCP request needs.

urlExpiresAtstring nullable

When the URLs' link token expires; read again for new ones. null for public URLs, which do not expire.

warningsstring[]

Changes

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