Skip to content

feat: add MCP protocol types and rmcp adapters#10356

Merged
bolinfest merged 1 commit intomainfrom
pr10356
Feb 2, 2026
Merged

feat: add MCP protocol types and rmcp adapters#10356
bolinfest merged 1 commit intomainfrom
pr10356

Conversation

@bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Feb 2, 2026

Currently, types from our custom mcp-types crate are part of some of our APIs:

use mcp_types::ContentBlock as McpContentBlock;
use mcp_types::Resource as McpResource;
use mcp_types::ResourceTemplate as McpResourceTemplate;
use mcp_types::Tool as McpTool;

To eliminate this crate in #10349 by switching to rmcp, we need our own wrappers for the rmcp types that we can use in our API, which is what this PR does.

Note this PR introduces the new API types, but we do not make use of them until #10349.


Stack created with Sapling. Best reviewed with ReviewStack.

@bolinfest bolinfest merged commit d1e71cd into main Feb 2, 2026
64 checks passed
@bolinfest bolinfest deleted the pr10356 branch February 2, 2026 16:41
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants