Feature-detect the server with get_agent_capabilities
Goal: discover this MCP server’s full tool surface and MIF conformance level at runtime, without hard-coding assumptions about which tools it exposes or whether it depends on host hooks.
Prerequisites
Section titled “Prerequisites”- None — the tool takes no parameters and makes no GitHub API call.
-
Call
get_agent_capabilitieswith an empty input. -
Read the response:
{"tools": ["create_issue", "update_issue", "add_sub_issue", "list_sub_issues","add_item_to_project", "set_field_value", "get_project_items","create_milestone", "list_milestones", "assign_milestone","create_discussion", "list_discussions","format_mif_issue_body", "parse_mif_issue_body","get_session_context", "get_agent_capabilities"],"mifConformance": "L1","hooksSupported": false}
Verify it worked
Section titled “Verify it worked”toolslists all 16 tool names registered by this server — use it to confirm your MCP host sees the full surface rather than a subset.hooksSupported: falseis a fixed, documented signal that this MCP layer never relies on host lifecycle hooks: on a host with noSessionStarthook, callget_session_contextexplicitly instead of assuming context was injected automatically, and validate MIF conformance yourself viaparse_mif_issue_bodyrather than assuming avalidate-mifhook already ran.
See also: tool reference.