Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b4f29a6
add SEP doc from transport-wg
CaitieM20 Feb 20, 2026
a1b65dc
copilot initial pass, still WIP and under my review
CaitieM20 Feb 21, 2026
12d910c
Merge branch 'modelcontextprotocol:main' into SEP-MRTR
CaitieM20 Feb 23, 2026
21b4481
hand edits
CaitieM20 Feb 23, 2026
df843c7
add Incomplete Result to server result, add sections to schema.mdx, r…
CaitieM20 Feb 23, 2026
2bec19b
1. Moved inputResponses/requestState from CallToolRequestParams → Req…
CaitieM20 Feb 23, 2026
7519d64
renamed ElicitationInputRequest → ElicitationCreateRequest and Sampli…
CaitieM20 Feb 23, 2026
8b66f20
removing standalone ServerRequests for CreateMessageRequests and Eli…
CaitieM20 Feb 23, 2026
ca03c4e
update examples
CaitieM20 Feb 23, 2026
944a6a5
moving JSONRPCIncompleteResultResponse location in schema.ts
CaitieM20 Feb 23, 2026
ac8b3e6
update GetTaskPayloadResultResponse to be a JSONRPCResultResponse or …
CaitieM20 Feb 23, 2026
4f859d1
update SEP.md to reflect schema changes. Decision: Remove results wra…
CaitieM20 Feb 23, 2026
053d9cb
remove URLElicitationRequiredError
CaitieM20 Feb 23, 2026
9fd8dde
updating SEP examples to adhere strictly to schema
CaitieM20 Feb 23, 2026
c741ca4
WIP on updating Spec to be more readable, added new spec V2 to test o…
CaitieM20 Feb 24, 2026
2d37d9d
schema changes for ephemeral workflow
markdroth Feb 26, 2026
08cffb1
schema changes for persistent workflow
markdroth Feb 26, 2026
3e6c4f8
remove URLElicitationRequiredError
markdroth Feb 27, 2026
7980bf5
Merge branch 'main' into SEP-MRTR
CaitieM20 Feb 28, 2026
4e68c96
Merge branch 'main' into SEP-MRTR
CaitieM20 Feb 28, 2026
0a77824
fix examples form parameter accidentally removed
CaitieM20 Feb 28, 2026
65772ed
removing experimental edits
CaitieM20 Feb 28, 2026
5cc289d
merging in XXXX-MRTR.md changes in from transport-wg repo
CaitieM20 Feb 28, 2026
9010137
fix date typo
CaitieM20 Feb 28, 2026
ef5dabc
Merge branch 'SEP-MRTR' into mrtr-sep
CaitieM20 Feb 28, 2026
fbb388e
Merge pull request #2 from markdroth/mrtr-sep
CaitieM20 Feb 28, 2026
f01df3c
fixing some schema merge errors and deleting no longer used example
CaitieM20 Feb 28, 2026
aaa44a3
remove JSONRPCIncompleteResultType
CaitieM20 Feb 28, 2026
3fc57a1
add back examples fix GetTaskPayloadResultResponse
CaitieM20 Feb 28, 2026
bdc62ac
removing duplicate types
CaitieM20 Feb 28, 2026
b54eafb
fixing TaskInputResponseRequest having duplicate InputResponse fields…
CaitieM20 Feb 28, 2026
3443ffa
Removing inheritance from TaskAugmentedRequestParams these objects ar…
CaitieM20 Feb 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"jsonrpc": "2.0",
"id": "sampling-example",
"method": "sampling/createMessage",
"params": {
"messages": [
Expand Down
7 changes: 3 additions & 4 deletions schema/draft/examples/ElicitRequest/elicitation-request.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"jsonrpc": "2.0",
"id": "elicitation-example",
"method": "elicitation/create",
"params": {
"mode": "form",
Comment thread
CaitieM20 marked this conversation as resolved.
"message": "Please provide your GitHub username",
"requestedSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"title": "GitHub Username",
"description": "Your GitHub username"
}
},
"required": ["name"]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"jsonrpc": "2.0",
"id": 3,
"method": "tasks/result",
"params": {
"taskId": "echo_dc792e24-01b5-4c0a-abcb-0559848ca3c5"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"isError": false,
"content": [
{
"type": "text",
"text": "Echo: Hello World!"
}
],
"_meta": {
"io.modelcontextprotocol/related-task": {
"taskId": "echo_dc792e24-01b5-4c0a-abcb-0559848ca3c5"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"inputRequests": {
"echo_input": {
"method": "elicitation/create",
"params": {
"message": "Please provide the input string to echo back",
"requestedSchema": {
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": ["input"]
}
}
}
},
"_meta": {
"io.modelcontextprotocol/related-task": {
"taskId": "echo_dc792e24-01b5-4c0a-abcb-0559848ca3c5"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about calling this result InputRequiredResult to match the semantics of the internals?

"inputRequests": {
"github_login": {
"method": "elicitation/create",
"params": {
"message": "Please provide your GitHub username",
"requestedSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}
}
},
"capital_of_france": {
"method": "sampling/createMessage",
"params": {
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "What is the capital of France?"
}
}
],
"maxTokens": 100
}
}
},
"requestState": "eyJsb2NhdGlvbiI6Ik5ldyBZb3JrIn0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"inputRequests": {
"github_login": {
"method": "elicitation/create",
"params": {
"message": "Please provide your GitHub username",
"requestedSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}
}
}
},
"requestState": "eyJsb2NhdGlvbiI6Ik5ldyBZb3JrIn0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
Comment thread
CaitieM20 marked this conversation as resolved.
"requestState": "eyJwcm9ncmVzcyI6IjUwJSIsInN0YXRlIjoicHJvY2Vzc2luZyJ9"
}
16 changes: 16 additions & 0 deletions schema/draft/examples/InputRequest/elicitation-input-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"method": "elicitation/create",
"params": {
"mode": "form",
"message": "Please provide your GitHub username",
"requestedSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}
}
}
15 changes: 15 additions & 0 deletions schema/draft/examples/InputRequest/sampling-input-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"method": "sampling/createMessage",
"params": {
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "What is the capital of France?"
}
}
],
"maxTokens": 100
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"github_login": {
"method": "elicitation/create",
"params": {
"mode": "form",
"message": "Please provide your GitHub username",
"requestedSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}
}
},
"capital_of_france": {
"method": "sampling/createMessage",
"params": {
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "What is the capital of France?"
}
}
],
"maxTokens": 100
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"action": "accept",
"content": {
"name": "octocat"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"role": "assistant",
"content": {
"type": "text",
"text": "The capital of France is Paris."
},
"model": "claude-3-sonnet-20240307",
"stopReason": "endTurn"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"jsonrpc": "2.0",
"id": "sampling-example",
"result": {
"github_login": {
"action": "accept",
"content": {
"name": "octocat"
}
},
"capital_of_france": {
"role": "assistant",
"content": {
"type": "text",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"jsonrpc": "2.0",
"id": 4,
"method": "tasks/input_response",
"params": {
"inputResponses": {
"echo_input": {
"action": "accept",
"content": {
"input": "Hello World!"
}
}
},
"_meta": {
"io.modelcontextprotocol/related-task": {
"taskId": "echo_dc792e24-01b5-4c0a-abcb-0559848ca3c5"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"inputResponses": {
"echo_input": {
"action": "accept",
"content": {
"input": "Hello World!"
}
}
},
"_meta": {
"io.modelcontextprotocol/related-task": {
"taskId": "echo_dc792e24-01b5-4c0a-abcb-0559848ca3c5"
}
}
}

This file was deleted.

Loading