prefer latest MCP version (#11827)
This commit is contained in:
Generated
+542
-555
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -20,7 +20,7 @@ uninlined_format_args = "allow"
|
||||
string_slice = "warn"
|
||||
|
||||
[workspace.dependencies]
|
||||
rmcp = { version = "3.0.0", default-features = false, features = ["schemars", "auth"] }
|
||||
rmcp = { version = "3.2.0", default-features = false, features = ["schemars", "auth"] }
|
||||
agent-client-protocol-schema = { version = "=1.5.0", default-features = false }
|
||||
agent-client-protocol = { version = "2.0.0", default-features = false }
|
||||
agent-client-protocol-http = { version = "2.0.0", default-features = false }
|
||||
|
||||
@@ -99,7 +99,7 @@ fn provider_creation_error(error: anyhow::Error, context: impl fmt::Display) ->
|
||||
error.context(message)
|
||||
}
|
||||
|
||||
pub const MCP_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V_2025_11_25;
|
||||
pub const MCP_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::V_2026_07_28;
|
||||
|
||||
fn normalize_legacy_provider_thinking_effort(
|
||||
mut model_config: goose_providers::model::ModelConfig,
|
||||
@@ -249,7 +249,7 @@ impl AgentConfig {
|
||||
goose_platform,
|
||||
mcp_host_info: None,
|
||||
elicitation_handler: None,
|
||||
mcp_protocol_version: Some(MCP_PROTOCOL_VERSION),
|
||||
mcp_protocol_version: None,
|
||||
session_name_update_tx: None,
|
||||
use_login_shell_path: None,
|
||||
is_subagent: false,
|
||||
|
||||
@@ -718,7 +718,7 @@ impl McpClient {
|
||||
transport,
|
||||
ClientLifecycleMode::Auto {
|
||||
preferred_versions: vec![ProtocolVersion::V_2026_07_28],
|
||||
legacy_version: Some(ProtocolVersion::LATEST),
|
||||
legacy_version: Some(ProtocolVersion::V_2025_11_25),
|
||||
},
|
||||
)
|
||||
.await?
|
||||
|
||||
@@ -12,7 +12,7 @@ use tokio_util::sync::CancellationToken;
|
||||
|
||||
use goose::agents::extension::{Envs, ExtensionConfig};
|
||||
use goose::agents::extension_manager::{ExtensionManager, ExtensionManagerCapabilities};
|
||||
use goose::agents::{GoosePlatform, MCP_PROTOCOL_VERSION};
|
||||
use goose::agents::GoosePlatform;
|
||||
use goose_providers::model::ModelConfig;
|
||||
|
||||
use test_case::test_case;
|
||||
@@ -218,7 +218,16 @@ async fn test_replayed_session(
|
||||
let mut env = HashMap::new();
|
||||
|
||||
if matches!(mode, TestMode::Record) {
|
||||
args.extend(command.into_iter().map(str::to_string));
|
||||
args.extend(command.into_iter().map(|arg| {
|
||||
if arg == "tests/fastmcp_test_server.py" {
|
||||
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
||||
.join(arg)
|
||||
.to_string_lossy()
|
||||
.into_owned()
|
||||
} else {
|
||||
arg.to_string()
|
||||
}
|
||||
}));
|
||||
|
||||
for key in required_envs {
|
||||
match env::var(key) {
|
||||
@@ -263,7 +272,7 @@ async fn test_replayed_session(
|
||||
mcpui: true,
|
||||
host_info: None,
|
||||
elicitation_handler: None,
|
||||
protocol_version: Some(MCP_PROTOCOL_VERSION),
|
||||
protocol_version: None,
|
||||
},
|
||||
true,
|
||||
));
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,6 @@
|
||||
[
|
||||
{
|
||||
"resultType": "complete",
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
@@ -13,6 +14,25 @@
|
||||
"text": "<div align=\"center\">\n\n# goose\n\n_a local, extensible, open source AI agent that automates engineering tasks_\n\n<p align=\"center\">\n <a href=\"https://opensource.org/licenses/Apache-2.0\">\n <img src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\">\n </a>\n <a href=\"https://discord.gg/7GaTvbDwga\">\n <img src=\"https://img.shields.io/discord/1287729918100246654?logo=discord&logoColor=white&label=Join+Us&color=blueviolet\" alt=\"Discord\">\n </a>\n <a href=\"https://github.com/block/goose/actions/workflows/ci.yml\">\n <img src=\"https://img.shields.io/github/actions/workflow/status/block/goose/ci.yml?branch=main\" alt=\"CI\">\n </a>\n</p>\n</div>\n\ngoose is your on-machine AI agent, capable of automating complex development tasks from start to finish. More than just code suggestions, goose can build entire projects from scratch, write and execute code, debug failures, orchestrate workflows, and interact with external APIs - _autonomously_.\n\nWhether you're prototyping an idea, refining existing code, or managing intricate engineering pipelines, goose adapts to your workflow and executes tasks with precision.\n\nDesigned for maximum flexibility, goose works with any LLM and supports multi-model configuration to optimize performance and cost, seamlessly integrates with MCP servers, and is available as both a desktop app as well as CLI - making it the ultimate AI assistant for developers who want to move faster and focus on innovation.\n\n[](https://youtu.be/D-DpDunrbpo)\n\n# Quick Links\n- [Quickstart](https://block.github.io/goose/docs/quickstart)\n- [Installation](https://block.github.io/goose/docs/getting-started/installation)\n- [Tutorials](https://block.github.io/goose/docs/category/tutorials)\n- [Documentation](https://block.github.io/goose/docs/category/getting-started)\n\n\n# a little goose humor 🦢\n\n> Why did the developer choose goose as their AI agent?\n> \n> Because it always helps them \"migrate\" their code to production! 🚀\n\n# goose around with us\n- [Discord](https://discord.gg/block-opensource)\n- [YouTube](https://www.youtube.com/@goose-oss)\n- [LinkedIn](https://www.linkedin.com/company/goose-oss)\n- [Twitter/X](https://x.com/goose_oss)\n- [Bluesky](https://bsky.app/profile/opensource.block.xyz)\n- [Nostr](https://njump.me/opensource@block.xyz)\n"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"_meta": {
|
||||
"io.modelcontextprotocol/serverInfo": {
|
||||
"name": "github-mcp-server",
|
||||
"title": "GitHub MCP Server",
|
||||
"version": "1.7.0",
|
||||
"icons": [
|
||||
{
|
||||
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAADK0lEQVRIibWVQWhcVRSGv3Pfy0zGdBIMRWk7iziMTpORptpqiNSNG1dNizaFFlxIoYuCC7NwJdiVlhYprtwpighCF9GtuhCRtuCoaWdqGF7HkE4aWm1CpklmJpl3j4vMS99M2k4G9N+8d8659/8u9553H/zPkscVM5lMf03do6iOKbJXIAGgUBJ0GpHvolKfzOfzCx0BEonRWDRemRD0PaC3zSKXED1fLfdcLJUuV9oC0ukXdluxkyq81Ma4VX9Y4x4p5rOzjwSkUvsSdMkVYE+H5oHmjM9IoTA1FyRM8JJIjMbokm83zUW/Vvi5raXwC8rnjWiPdXRyYGCgOyi7wUs0XpkAXmyEa/XV8qmZmZnqc0P7XrXKW2BuKDovgorqLoWMFb4p3rj2I4w7qcHCMSAOctDt7n0X+GiDT6NbrPsXDw50xftzKg7odvcmtXf4DsJTjXBpzbXPzF6/vmgAauoepblbnGTyQLvu2VQmk4kgxEKpvui6cwSCM1Ada5qheq5YzC5tF5DP59dQzjYlZcOzccgyGK65mC+2ax7IWPfLcGxhKARgV7i4vBy70ymgUMj+A9SDWGB3GOCEB/f0VJ/sFJBKjfQS6srAOwD8HR7su/7BTgE2Umn98u9uAgR+ayqpnOkUIK1zZMPTACjyQzOA11ND+z+E8aate4TMs4PD7wu80ezP940nJJMH+ky0XgKeAHkH1TcRXgNywFeoueJN//5T2CCZGT7kWBlV9CSwvwV6n/XuhOddLRuAYjG7hMjHgEH1tEb0BEgWeB44J8aebF2243Nc0fMPMUfgguddLUOoe/r7dlwWJzqGMCxq6q5Wz/jSVQZ+Nb795N69u4thk/6dT7uInNiyYcoU9ZW3FxYWfAjdpp7n1XzjHAbmUJ3wTXQ8gvOZb+oXV1d3zLf6WEcWW3MoJXX9w57n1YKUCdeL+eysOv4oyrQqn65Tv+1adz4WrxzaskXWNs0V5Jq6/is3c7lb4byhRTdzuVvUV0ZQPgDuA6jqlj+fqhvkllE9q+vLL7eab4Afo1RqpJdI9Rhr3ZeCQwuUTqfjvoket7WuS51cjP+5/gWC8y5uIkrtDQAAAABJRU5ErkJggg==",
|
||||
"mimeType": "image/png",
|
||||
"theme": "light"
|
||||
},
|
||||
{
|
||||
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAB8ElEQVRIibWVu09UQRSHv9k1IgW7AY0RBWKsTGx9ND4qS5F/wEYLDb0xAY0UxkdrZ2NHYWfsaYyVT4iJwZpNjJooLBQEYz6LvZsdxmH3LtFfN3PO+X5zzzwu/GeFbkF1BJgCJoHjwFgRagDLwAvgeQjhR1+u6qA6q67ZW6vqjDpYFn5YfV0CnOqDOtELPqY2dgFvq6Ee6daWd1HyvPqyBPSV+jQav1H3tbkhMpgF7hXDLaAeQthUzwFXgE/AF0BgFDgBPAshLKhV4CcwVNTPhBAexKsfcfuGbqhdT1imA1+j+lV1GKBSxKeAWpRfTca94HuB+BTVgcuxwWRS8zCEsFbWIISwBcwl0x2m+jnZuKNl4RHjQMJYjoPNJFju0vxt8itiNKHTomqSO7wLeA3YE01VYoPvSf7Jfg2AU8n4W2zwPglO78Igrekw1enMDb1fXKCuUivq7Uz99Tiprq6rvwuzhSLpo3pLvZABn1Vv2nrkUjWLPdlWMFcEF9WD6tuo4EnG4HEG3Nad3KcOqEtRe/bb+ic8Uo9l8i/tAF9UB3bq54StJ3dTvaGOqofM3IuiRalW1PH8bnUKx4tVxLqYyTuf5Czl4JV0IoSwApwB7gLr7enMWtpzG7TeodNFbXmpNfWq6YloxYbUa2q9L+i/1h8/EAGdUrF9ZQAAAABJRU5ErkJggg==",
|
||||
"mimeType": "image/png",
|
||||
"theme": "dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
+18
-16
File diff suppressed because one or more lines are too long
+108
-10
@@ -1,8 +1,10 @@
|
||||
STDIN: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}},"roots":{},"sampling":{},"elicitation":{}},"clientInfo":{"name":"goose-desktop","version":"0.0.0"}}}
|
||||
STDIN: {"jsonrpc":"2.0","id":0,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientInfo":{"name":"goose-desktop","version":"0.0.0"},"io.modelcontextprotocol/clientCapabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}},"roots":{},"sampling":{},"elicitation":{}}}}}
|
||||
STDERR: warning: The `native-tls` setting is deprecated and will be removed in a future release. Use `system-certs` instead.
|
||||
STDERR: /Users/jackamadeo/.cache/uv/archive-v0/al1Eg6tdenSv08iE/lib/python3.14/site-packages/fastmcp/server/auth/providers/jwt.py:10: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
|
||||
STDERR: /Users/jackamadeo/.cache/uv/archive-v0/bp02wML-MrQTiYuR/lib/python3.14/site-packages/fastmcp/server/auth/providers/jwt.py:10: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
|
||||
STDERR: It will be compatible before version 2.0.0.
|
||||
STDERR: from authlib.jose import JsonWebKey, JsonWebToken
|
||||
STDERR: /Users/jackamadeo/.cache/uv/archive-v0/bp02wML-MrQTiYuR/lib/python3.14/site-packages/authlib/integrations/httpx_client/assertion_client.py:5: AuthlibDeprecationWarning: The httpx module is deprecated; please use httpx2 instead.
|
||||
STDERR: from ._compat import httpx2
|
||||
STDERR:
|
||||
STDERR:
|
||||
STDERR: ╭──────────────────────────────────────────────────────────────────────────────╮
|
||||
@@ -25,18 +27,114 @@ STDERR: │ ✨ FastMCP 3.0 is coming!
|
||||
STDERR: │ Pin `fastmcp < 3` in production, then upgrade when you're ready. │
|
||||
STDERR: ╰──────────────────────────────────────────────────────────────────────────────╯
|
||||
STDERR: ╭──────────────────────────────────────────────────────────────────────────────╮
|
||||
STDERR: │ 🎉 Update available: 3.4.7 │
|
||||
STDERR: │ 🎉 Update available: 4.0.1 │
|
||||
STDERR: │ Run: pip install --upgrade fastmcp │
|
||||
STDERR: ╰──────────────────────────────────────────────────────────────────────────────╯
|
||||
STDERR:
|
||||
STDERR:
|
||||
STDERR: [08/11/26 11:30:18] INFO Starting MCP server 'mymcp' with server.py:2506
|
||||
STDERR: [09/02/26 13:57:17] INFO Starting MCP server 'mymcp' with server.py:2506
|
||||
STDERR: transport 'stdio'
|
||||
STDERR: /Users/jackamadeo/.cache/uv/archive-v0/al1Eg6tdenSv08iE/lib/python3.14/site-packages/redis/asyncio/connection.py:2861: DeprecationWarning: FakeConnection is deprecated. Use FakeAsyncRedisConnection instead
|
||||
STDERR: /Users/jackamadeo/.cache/uv/archive-v0/bp02wML-MrQTiYuR/lib/python3.14/site-packages/redis/asyncio/connection.py:2861: DeprecationWarning: FakeConnection is deprecated. Use FakeAsyncRedisConnection instead
|
||||
STDERR: return self.connection_class(**self.connection_kwargs)
|
||||
STDOUT: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":true},"tasks":{"list":{},"cancel":{},"requests":{"tools":{"call":{}},"prompts":{"get":{}},"resources":{"read":{}}}}},"serverInfo":{"name":"mymcp","version":"2.14.4"}}}
|
||||
STDERR: WARNING:root:Failed to validate request: 31 validation errors for ClientRequest
|
||||
STDERR: PingRequest.method
|
||||
STDERR: Input should be 'ping' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: InitializeRequest.method
|
||||
STDERR: Input should be 'initialize' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: InitializeRequest.params.protocolVersion
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: InitializeRequest.params.capabilities
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: InitializeRequest.params.clientInfo
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: CompleteRequest.method
|
||||
STDERR: Input should be 'completion/complete' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: CompleteRequest.params.ref
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: CompleteRequest.params.argument
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: SetLevelRequest.method
|
||||
STDERR: Input should be 'logging/setLevel' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: SetLevelRequest.params.level
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: GetPromptRequest.method
|
||||
STDERR: Input should be 'prompts/get' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: GetPromptRequest.params.name
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: ListPromptsRequest.method
|
||||
STDERR: Input should be 'prompts/list' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: ListResourcesRequest.method
|
||||
STDERR: Input should be 'resources/list' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: ListResourceTemplatesRequest.method
|
||||
STDERR: Input should be 'resources/templates/list' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: ReadResourceRequest.method
|
||||
STDERR: Input should be 'resources/read' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: ReadResourceRequest.params.uri
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: SubscribeRequest.method
|
||||
STDERR: Input should be 'resources/subscribe' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: SubscribeRequest.params.uri
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: UnsubscribeRequest.method
|
||||
STDERR: Input should be 'resources/unsubscribe' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: UnsubscribeRequest.params.uri
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: CallToolRequest.method
|
||||
STDERR: Input should be 'tools/call' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: CallToolRequest.params.name
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: ListToolsRequest.method
|
||||
STDERR: Input should be 'tools/list' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: GetTaskRequest.method
|
||||
STDERR: Input should be 'tasks/get' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: GetTaskRequest.params.taskId
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: GetTaskPayloadRequest.method
|
||||
STDERR: Input should be 'tasks/result' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: GetTaskPayloadRequest.params.taskId
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDERR: ListTasksRequest.method
|
||||
STDERR: Input should be 'tasks/list' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: CancelTaskRequest.method
|
||||
STDERR: Input should be 'tasks/cancel' [type=literal_error, input_value='server/discover', input_type=str]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/literal_error
|
||||
STDERR: CancelTaskRequest.params.taskId
|
||||
STDERR: Field required [type=missing, input_value={'_meta': {'io.modelconte...{}, 'elicitation': {}}}}, input_type=dict]
|
||||
STDERR: For further information visit https://errors.pydantic.dev/2.13/v/missing
|
||||
STDOUT: {"jsonrpc":"2.0","id":0,"error":{"code":-32602,"message":"Invalid request parameters","data":""}}
|
||||
STDIN: {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}},"roots":{},"sampling":{},"elicitation":{}},"clientInfo":{"name":"goose-desktop","version":"0.0.0"}}}
|
||||
STDOUT: {"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":true},"tasks":{"list":{},"cancel":{},"requests":{"tools":{"call":{}},"prompts":{"get":{}},"resources":{"read":{}}}}},"serverInfo":{"name":"mymcp","version":"2.14.4"}}}
|
||||
STDIN: {"jsonrpc":"2.0","method":"notifications/initialized"}
|
||||
STDIN: {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{"_meta":{"agent-session-id":"test-session-id","progressToken":0}}}
|
||||
STDOUT: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"divide","description":"Divide two numbers and return the result.","inputSchema":{"properties":{"dividend":{"description":"Dividend/numerator of the division.","type":"number"},"divisor":{"description":"Divisor/denominator of the division.","type":"number"}},"required":["dividend","divisor"],"type":"object"},"outputSchema":{"description":"Generic wrapper for non-object return types.","properties":{"result":{"type":"number"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true},"_meta":{"_fastmcp":{"tags":[]}}}]}}
|
||||
STDIN: {"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"_meta":{"agent-session-id":"test-session-id","agent-tool-call-request-id":"test-id","progressToken":1},"name":"divide","arguments":{"dividend":10,"divisor":2}}}
|
||||
STDOUT: {"jsonrpc":"2.0","id":2,"result":{"content":[{"type":"text","text":"5.0"}],"structuredContent":{"result":5.0},"isError":false}}
|
||||
STDIN: {"jsonrpc":"2.0","id":2,"method":"tools/list","params":{"_meta":{"agent-session-id":"test-session-id","progressToken":0}}}
|
||||
STDOUT: {"jsonrpc":"2.0","id":2,"result":{"tools":[{"name":"divide","description":"Divide two numbers and return the result.","inputSchema":{"properties":{"dividend":{"description":"Dividend/numerator of the division.","type":"number"},"divisor":{"description":"Divisor/denominator of the division.","type":"number"}},"required":["dividend","divisor"],"type":"object"},"outputSchema":{"description":"Generic wrapper for non-object return types.","properties":{"result":{"type":"number"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true},"_meta":{"_fastmcp":{"tags":[]}}}]}}
|
||||
STDIN: {"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"_meta":{"agent-session-id":"test-session-id","agent-tool-call-request-id":"test-id","progressToken":1},"name":"divide","arguments":{"dividend":10,"divisor":2}}}
|
||||
STDOUT: {"jsonrpc":"2.0","id":3,"result":{"content":[{"type":"text","text":"5.0"}],"structuredContent":{"result":5.0},"isError":false}}
|
||||
|
||||
Reference in New Issue
Block a user