refactor(cli,server): disambiguate ToolMetadata across mcp-server/mcp-cli/mcp-core#157
Merged
Merged
Conversation
…-cli/mcp-core Rename mcp_execution_server::types::ToolMetadata to IntrospectedToolSummary and mcp_execution_cli::commands::introspect::ToolMetadata to ToolDisplay so the three unrelated ToolMetadata shapes in the workspace stop sharing a name. mcp_execution_core::metadata::ToolMetadata, the canonical _meta.json sidecar type, is unchanged. Pure rename, wire/protocol-invisible (serde serializes by field name only). BREAKING CHANGE: mcp-execution-server::types::ToolMetadata is renamed to IntrospectedToolSummary and mcp-execution-cli::commands::introspect::ToolMetadata is renamed to ToolDisplay. Source-breaking for any external library consumer of these two crates; treat as a minor version bump at 0.7.x (pre-1.0 SemVer convention). Closes #156
bug-ops
enabled auto-merge (squash)
July 9, 2026 18:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mcp_execution_server::types::ToolMetadatatoIntrospectedToolSummaryandmcp_execution_cli::commands::introspect::ToolMetadatatoToolDisplay, so the three unrelatedToolMetadatashapes in the workspace stop sharing a name.mcp_execution_core::metadata::ToolMetadata, the canonical_meta.jsonsidecar type, is unchanged.mcp-execution-server/mcp-execution-cli(neither crate setspublish = false, both types arepub-reachable) — documented in CHANGELOG.md and flagged viaBREAKING CHANGE:footer; treat as a minor bump at 0.7.x per pre-1.0 SemVer convention.Closes #156.
Test plan
cargo +nightly fmt --checkcargo +stable clippy --all-targets --all-features --workspace -- -D warningscargo nextest run --all-features --workspace --no-fail-fast(714 passed)cargo test --doc --all-features --workspace