MCP server for invoking HTTP endpoints, gRPC methods, and SignalR hubs on a running application. Provides tools for API exploration, debugging, and real-time communication testing.
The Kaya MCP server provides 13 tools for HTTP, gRPC, and SignalR invocation with reasonable parameter documentation. However, there are significant gaps: output schemas are not explicitly documented in the tool definitions (tools return serialized JSON strings without schema declarations), parameter descriptions are present but inconsistent in depth, and error handling returns generic 'ERROR: {message}' strings rather than actionable recovery guidance. Tool naming follows verb_noun conventions reasonably well (http_invoke, grpc_stream_start, signalr_connect), but descriptions lack the depth needed for LLMs to confidently distinguish between similar tools or understand non-obvious prerequisites. The code shows try-catch blocks with error suppression (catch (Exception ex) { return $"ERROR: {ex.Message}"; }) which violates the error-handling pattern by not providing recovery guidance or error classification.
Invokes a unary gRPC method via Kaya.GrpcExplorer middleware proxy.
Completes the client-side of a streaming session.
Reads buffered server responses from an active streaming session.
Sends one message into an active streaming session.
Starts a gRPC streaming session and returns a sessionId.
Invokes an HTTP endpoint on the running application. Returns status code, response body, content type, and elapsed time.
Creates and starts a SignalR hub connection and returns a sessionId.
Output schemas not documented. Tools return serialized JSON (e.g., JsonSerializer.Serialize(new { statusCode, body, contentType, elapsedMs })) but the MCP tool registration does not declare output schema. LLMs cannot know what fields to expect or plan downstream tool calls.
Generic error handling. All tools return 'ERROR: {ex.Message}' on exception, providing no recovery guidance, error classification, or actionable next steps. Violations the error-classification and recovery-guide patterns. Examples: HttpInvoke, GrpcInvoke, all streaming tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Disconnects a SignalR session.
Reads and clears buffered SignalR events for a session.
Discovers SignalR hubs from Kaya.ApiExplorer SignalR debug endpoint.
Invokes a hub method on an active SignalR session.
Reads and clears buffered logs for a SignalR session.
Registers an event handler on an active SignalR session.
Parameter descriptions lack depth and constraints. For example, 'durationSeconds' on grpc_stream_events and signalr_events has no range specified (what are valid bounds?). 'headers' and 'metadata' parameters accept 'Optional JSON object string' but no format specification or validation rules are documented. LLMs cannot validate input before submission.
Insufficient tool composition guidance. The grpc_stream_* and signalr_* tool families form multi-step workflows (start -> send -> events -> end) but the descriptions do not explain the sequence or state dependencies. An LLM encountering these tools for the first time does not know that grpc_stream_send requires an active sessionId from grpc_stream_start.
No indication of idempotency or safety. Tools like grpc_stream_send and signalr_invoke modify state, but descriptions do not declare whether repeated calls with the same input have side effects. Agents need to know if retrying is safe or if it risks duplicate messages/state changes.
Stateful session management not safeguarded. Tools create long-lived sessionIds (grpc_stream_start, signalr_connect) but there is no documented cleanup strategy, timeout behavior, or resource limits. An agent could orphan sessions or exhaust server memory if sessions are not reaped.