mcp_probe 0.3.1
mcp_probe: ^0.3.1 copied to clipboard
Conformance checks and a test harness for Model Context Protocol (MCP) servers. Runs any MCP server over stdio and asserts on its behavior from package:test. Built on dart_mcp.
0.3.1 #
- Declare the diagram in
pubspec.yamlso pub.dev renders it on the package page. It was already in the repository and the README, but pub.dev shows only what thescreenshots:field points at, so the page opened with prose where the picture should have been.
0.3.0 #
- Add the
utilities/pingconformance rule. MCP requires a server to answer apingrequest promptly with an empty result;checkServerand the CLI now send one and report an error if the server times out or answers with a protocol error, so a server that stops responding to liveness pings is caught.
0.2.0 #
- Add a command-line tool.
dart pub global activate mcp_probeinstalls anmcp_probe check <command> [args...]executable that runs a server over stdio, prints each conformance finding, and exits non-zero if any check reports an error, so it drops into a CI step without writing any Dart.
0.1.3 #
listTools,listResourcesandlistPromptsnow follownextCursorpagination and return every page combined. Previously only the first page was fetched, so a conformance run against a paginated server validated just those items and could report the server green without ever seeing the rest.
0.1.2 #
- Docs: tightened the README wording and visuals.
0.1.1 #
- Expand the package description to name what the package does in the words people search for. No code changes.
0.1.0 #
- Initial release.
McpServerHarness: runs an MCP server as a child process over stdio, with per-request timeouts and guaranteed process cleanup.checkServerandConformanceReport: conformance rules for the initialize handshake, declared capabilities, tool definitions, and JSON-RPC error behavior, with Markdown rendering.package:testhelpers in thepackage:mcp_probe/testing.dartentrypoint:expectToolExists,expectToolCallSucceeds,expectToolCallFails,expectResourceExists.