Skip to content

Commit dbb2ac4

Browse files
author
Abhimanyu Siwach
committed
move changes to draft spec and use errors to denote rejection of elicitation request
1 parent 34c4b85 commit dbb2ac4

File tree

9 files changed

+114
-230
lines changed

9 files changed

+114
-230
lines changed

docs/docs.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"docs/concepts/prompts",
4747
"docs/concepts/tools",
4848
"docs/concepts/sampling",
49-
"docs/concepts/elicitation",
5049
"docs/concepts/roots",
5150
"docs/concepts/transports"
5251
]
@@ -106,8 +105,7 @@
106105
"group": "Client Features",
107106
"pages": [
108107
"specification/2025-03-26/client/roots",
109-
"specification/2025-03-26/client/sampling",
110-
"specification/2025-03-26/client/elicitation"
108+
"specification/2025-03-26/client/sampling"
111109
]
112110
},
113111
{
@@ -204,7 +202,8 @@
204202
"group": "Client Features",
205203
"pages": [
206204
"specification/draft/client/roots",
207-
"specification/draft/client/sampling"
205+
"specification/draft/client/sampling",
206+
"specification/draft/client/elicitation"
208207
]
209208
},
210209
{

docs/docs/concepts/elicitation.mdx

Lines changed: 0 additions & 200 deletions
This file was deleted.

docs/specification/2025-03-26/changelog.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ the previous revision, [2024-11-05](/specification/2024-11-05).
1818
1. Added comprehensive **tool annotations** for better describing tool behavior, like
1919
whether it is read-only or destructive (PR
2020
[#185](https://github.com/modelcontextprotocol/specification/pull/185))
21-
1. Added support for **[elicitation](/specification/2025-03-26/client/elicitation)**, enabling
22-
servers to request additional information from users during interactions
2321

2422
## Other schema changes
2523

2624
- Added `message` field to `ProgressNotification` to provide descriptive status updates
2725
- Added support for audio data, joining the existing text and image content types
2826
- Added `completions` capability to explicitly indicate support for argument
2927
autocompletion suggestions
30-
- Added `elicitation` capability for clients to indicate support for server-initiated
31-
user information requests with array-based responses
3228

3329
See
3430
[the updated schema](http://github.com/modelcontextprotocol/specification/tree/main/schema/2025-03-26/schema.ts)

docs/specification/2025-03-26/index.mdx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ Servers offer any of the following features to clients:
5959
- **Prompts**: Templated messages and workflows for users
6060
- **Tools**: Functions for the AI model to execute
6161

62-
Clients may offer the following features to servers:
62+
Clients may offer the following feature to servers:
6363

6464
- **Sampling**: Server-initiated agentic behaviors and recursive LLM interactions
65-
- **Elicitation**: Server-initiated requests for additional information from users
6665

6766
### Additional Utilities
6867

@@ -109,14 +108,6 @@ considerations that all implementors must carefully address.
109108
- What results the server can see
110109
- The protocol intentionally limits server visibility into prompts
111110

112-
5. **Elicitation Controls**
113-
- Users must explicitly approve any elicitation requests
114-
- Users should control:
115-
- Whether to provide the requested information
116-
- What information to share in response
117-
- The ability to modify or cancel responses
118-
- Clients should clearly indicate which server is requesting information
119-
120111
### Implementation Guidelines
121112

122113
While MCP itself cannot enforce these security principles at the protocol level,

docs/specification/draft/changelog.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ the previous revision, [2025-03-26](/specification/2025-03-26).
99

1010
1. Removed support for JSON-RPC **[batching](https://www.jsonrpc.org/specification#batch)**
1111
(PR [#416](https://github.com/modelcontextprotocol/specification/pull/416))
12-
2. TODO
12+
2. Added support for **[elicitation](/specification/draft/client/elicitation)**, enabling
13+
servers to request additional information from users during interactions. (PR [#382](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/382))
1314

1415
## Other schema changes
1516

16-
- TODO
17-
1817
## Full changelog
1918

2019
For a complete list of all changes that have been made since the last protocol revision,

docs/specification/2025-03-26/client/elicitation.mdx renamed to docs/specification/draft/client/elicitation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Elicitation
33
---
44

5-
<Info>**Protocol Revision**: 2025-03-26</Info>
5+
<Info>**Protocol Revision**: draft</Info>
66

77
The Model Context Protocol (MCP) provides a standardized way for servers to request additional
88
information from users through the client during interactions. This flow allows clients to
@@ -33,7 +33,7 @@ Applications **SHOULD**:
3333
## Capabilities
3434

3535
Clients that support elicitation **MUST** declare the `elicitation` capability during
36-
[initialization](/specification/2025-03-26/basic/lifecycle#initialization):
36+
[initialization](/specification/draft/basic/lifecycle#initialization):
3737

3838
```json
3939
{
@@ -195,17 +195,17 @@ Each content item can be one of:
195195

196196
## Error Handling
197197

198-
Clients **SHOULD** return errors for common failure cases:
198+
Clients **SHOULD** return standard JSON-RPC errors for common failure cases:
199199

200200
Example when the user cancels:
201201

202202
```json
203203
{
204204
"jsonrpc": "2.0",
205205
"id": 1,
206-
"result": {
207-
"content": [],
208-
"cancelled": true
206+
"error": {
207+
"code": -1,
208+
"message": "User rejected the elicitation request"
209209
}
210210
}
211211
```

docs/specification/draft/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ Servers offer any of the following features to clients:
5959
- **Prompts**: Templated messages and workflows for users
6060
- **Tools**: Functions for the AI model to execute
6161

62-
Clients may offer the following feature to servers:
62+
Clients may offer the following features to servers:
6363

6464
- **Sampling**: Server-initiated agentic behaviors and recursive LLM interactions
65+
- **Elicitation**: Server-initiated requests for additional information from users
6566

6667
### Additional Utilities
6768

0 commit comments

Comments
 (0)