Skip to main content
A session is a short-lived, revocable credential that lets an MCP client connect as a single tenant user. Instead of handing an agent your workspace API key, you mint a session: it returns an MCP URL plus a bearer token (an nv_sess_… token) that expires and can be revoked at any time. The session’s tool list is the fused native + third-party toolset, filtered by that user’s Account Kit. See Architecture → Sessions.

Tools

Creating a Session

The token travels in the Authorization header — never in the URL. The returned mcp.url + mcp.headers are everything an MCP client needs to connect.
Response:

Parameters

The MCP connection is bound to the session’s tenant user: multi-tenant tools (connections, vault, logs) default to that user, and execution stays gated by the user’s Account Kit. Revoke a session and the connection is rejected immediately.

Listing & Revoking

A session is active, expired (past its TTL), or revoked.

Error Handling

Typical Workflow