diff --git a/docs/protocol/v1/draft/initialization.mdx b/docs/protocol/v1/draft/initialization.mdx index 2faca0d05..6808096c7 100644 --- a/docs/protocol/v1/draft/initialization.mdx +++ b/docs/protocol/v1/draft/initialization.mdx @@ -330,6 +330,16 @@ The Agent **SHOULD** specify whether it supports the following capabilities: that may be included in `session/prompt` requests. + + Object indicating which [MCP capabilities](#mcp-capabilities) the Agent + supports. + + + + Object indicating which optional [session capabilities](#session-capabilities) + the Agent supports. + + Authentication-related capabilities supported by the Agent. @@ -389,6 +399,12 @@ As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `ses Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities. + + The [`session/list`](/protocol/v1/draft/session-list) method is available. + Omitted or `null` both mean the Agent does not advertise support. Supplying an + empty object means the Agent supports listing sessions. + + The [`session/delete`](/protocol/v1/draft/session-delete) method is available. Omitted or `null` both mean the Agent does not advertise support. Supplying an @@ -441,6 +457,19 @@ Optionally, they **MAY** support other session methods and notifications by spec capability. + + The [`session/resume`](/protocol/v1/draft/session-setup#resuming-sessions) + method is available. Omitted or `null` both mean the Agent does not advertise + support. Supplying an empty object means the Agent supports resuming sessions. + + + + The + [`session/close`](/protocol/v1/draft/session-setup#closing-active-sessions) + method is available. Omitted or `null` both mean the Agent does not advertise + support. Supplying an empty object means the Agent supports closing sessions. + + `session/load` is still handled by the top-level `loadSession` capability. This will be unified in future versions of the protocol. diff --git a/docs/protocol/v1/initialization.mdx b/docs/protocol/v1/initialization.mdx index 64154c8fb..2c969eb77 100644 --- a/docs/protocol/v1/initialization.mdx +++ b/docs/protocol/v1/initialization.mdx @@ -260,6 +260,16 @@ The Agent **SHOULD** specify whether it supports the following capabilities: may be included in `session/prompt` requests. + + Object indicating which [MCP capabilities](#mcp-capabilities) the Agent + supports. + + + + Object indicating which optional [session capabilities](#session-capabilities) + the Agent supports. + + Authentication-related capabilities supported by the Agent. @@ -311,6 +321,12 @@ As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `ses Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities. + + The [`session/list`](/protocol/v1/session-list) method is available. Omitted + or `null` both mean the Agent does not advertise support. Supplying an empty + object means the Agent supports listing sessions. + + The [`session/delete`](/protocol/v1/session-delete) method is available. Omitted or `null` both mean the Agent does not advertise support. Supplying an @@ -334,6 +350,18 @@ Optionally, they **MAY** support other session methods and notifications by spec Supplying `{ "mode": { "override": {} } }` also advertises `override` mode. + + The [`session/resume`](/protocol/v1/session-setup#resuming-sessions) method is + available. Omitted or `null` both mean the Agent does not advertise support. + Supplying an empty object means the Agent supports resuming sessions. + + + + The [`session/close`](/protocol/v1/session-setup#closing-active-sessions) + method is available. Omitted or `null` both mean the Agent does not advertise + support. Supplying an empty object means the Agent supports closing sessions. + + `session/load` is still handled by the top-level `loadSession` capability. This will be unified in future versions of the protocol.