-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
package:dart_mcptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Steps to reproduce
- Use
dart_mcp: 0.3.2 - Build any MCP server from the
dart_mcp/exampledirectory (e.g. `dart_mcp/example/tools_server.dart) - Connect the built server to any non-Dart MCP Client
- Send a
pingrequest, and you will receive the error
Expected results
An empty response is getting received.
Actual results
Error response is getting received.
{
"error": "MCP error -32000: type 'CastMap<String, dynamic, String, Object?>' is not a subtype of type 'Null' in type cast"
}Screenshots or Video
ping.mp4
Metadata
Metadata
Assignees
Labels
package:dart_mcptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)