> ## Documentation Index
> Fetch the complete documentation index at: https://vetta.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP sessions

> Mint, inspect, and immediately revoke bounded MCP credentials.

The `mcp` group manages [MCP sessions](https://vetta.sh/docs/api/mcp-sessions.md). Signed in as a person, `naive mcp create --name my-agent` connects your own agent. Naming `--scopes` and `--tools` makes a session for a system, and needs `admin`. Claude and ChatGPT need no token from here: they [sign in with OAuth](https://vetta.sh/docs/api/mcp.md#sign-in-with-oauth).

```bash theme={"system"}
naive mcp create \
  --name release-agent \
  --scopes agents:read,sessions:write \
  --tools agents_list,sessions_create \
  --expires-in 3600
```

Add `--identity idn_...` to label the session with a persona (recorded, not enforced yet). The create reply prints the bearer once;
store it immediately.

```bash theme={"system"}
naive mcp list --limit 20
naive mcp show mcs_...
naive mcp revoke mcs_...
```

`list` and `show` return only metadata and the non-sensitive prefix. `revoke` is one-way and is
enforced on the credential's next request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.