Skip to content

Commit abf8f4d

Browse files
committed
fix(mcp): add required description field for rmcp 0.15.0 compatibility
Implementation struct gained a required description field in rmcp 0.15.0. Populate it from CARGO_PKG_DESCRIPTION.
1 parent 76d8c58 commit abf8f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/mcpls-core/src/mcp/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ impl ServerHandler for McplsServer {
434434
name: "mcpls".to_string(),
435435
title: Some("MCPLS - MCP to LSP Bridge".to_string()),
436436
version: env!("CARGO_PKG_VERSION").to_string(),
437+
description: Some(env!("CARGO_PKG_DESCRIPTION").to_string()),
437438
icons: None,
438439
website_url: Some("https://github.com/bug-ops/mcpls".to_string()),
439440
},

0 commit comments

Comments
 (0)