Class: Evilution::MCP::CompleteResultServer Private

Inherits:
MCP::Server
  • Object
show all
Defined in:
lib/evilution/mcp/complete_result_server.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

MCP protocol revision 2026-07-28 (SEP-2322) makes resultType mandatory on list results: a client may only treat a missing field as "complete" for servers that negotiated an earlier revision. The mcp gem echoes back any client-offered revision it supports — 2026-07-28 included — yet its list handlers still omit the field, so strict clients reject the whole list and the server appears to expose no tools at all.

Every list result this server produces is final (there is no input_required round trip in the evilution tool surface), so the field is always "complete". The value is written as a literal rather than MCP::ResultType::COMPLETE because the gem dependency allows versions that predate that constant. Older revisions ignore the extra key.

Constant Summary collapse

RESULT_TYPE_COMPLETE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"complete"