title: MCP plugin-tools call scenario: id: mcp-plugin-tools-call surface: mcp coverage: primary: - plugins.mcp-tools - tools.invocation objective: Verify OpenClaw can expose plugin tools over MCP and a real MCP client can call one successfully. successCriteria: - Plugin tools MCP server lists memory_search. - A real MCP client calls memory_search successfully. - The returned MCP payload includes the expected memory-only fact. docsRefs: - docs/cli/mcp.md - docs/gateway/protocol.md codeRefs: - test/e2e/qa-lab/runtime/gateway-mcp-real-transports.ts - src/mcp/plugin-tools-serve.ts - src/mcp/plugin-tools-handlers.ts execution: kind: script path: test/e2e/qa-lab/runtime/gateway-mcp-real-transports.ts summary: Registers a fixture plugin, starts the real plugin-tools stdio server, and calls its tool with a real MCP client. args: - --scenario - mcp-plugin-tools-call - --artifact-base - ${outputDir}