The tools-list, prompts-list, tasks-list, and resources-list commands now return objects that are not consistent with ListToolsResult, ListPromptsResult, ListTasksResult, and ListResourcesResult (see https://modelcontextprotocol.io/specification/2025-11-25/schema) in --json mode.
Update the commands to return objects consistent with the above. Skip the nextCursor, as pagination is done implicitly by mcpc, and merge the _meta fields and [key: string]: unknown; fields, in the order of the pagination pages. Also, update the "JSON output (--json):" section in help to reference the above objects and link to them in MCP spec.
The
tools-list,prompts-list,tasks-list, andresources-listcommands now return objects that are not consistent withListToolsResult,ListPromptsResult,ListTasksResult, andListResourcesResult(see https://modelcontextprotocol.io/specification/2025-11-25/schema) in--jsonmode.Update the commands to return objects consistent with the above. Skip the
nextCursor, as pagination is done implicitly by mcpc, and merge the_metafields and[key: string]: unknown;fields, in the order of the pagination pages. Also, update the "JSON output (--json):" section in help to reference the above objects and link to them in MCP spec.