Check an MCP wire
Check one MCP endpoint with the zero-dependency CLI in this public repository. Do not pay, sign, attach a wallet, call a tool, or send telemetry. The command exit code is the result: 0 has no error, 1 has a failed check, and 2 means the arguments are not usable.
This skill is skills/mcp-wire-check in epistemedeus/x402-data-gateway-skills. npx skills add discovers skills/<name>/SKILL.md. It is not marked metadata.internal.
Run the checker
From a checkout of this repository:
python3 actions/mcp-wire-check/mcp_wire_check.py --url https://example.com/mcp --json
https://example.com/mcp is a placeholder. Pass the real MCP endpoint. The program sends initialize, then notifications/initialized when the negotiated revision uses that handshake, then tools/list. It follows nextCursor and stops on a repeated cursor or the page cap.
Add --units-file units.json to resolve fixes without a network fetch. The default units URL is https://neomorphic.io/commons/units.json.
A skill-only install copies this directory and does not copy actions/. Clone the repository, or use a git tree that contains actions/mcp-wire-check, before running the command.
Rules
- Initialize. The result is JSON-RPC 2.0 with
protocolVersion,capabilities, andserverInfo.name. Spec: https://modelcontextprotocol.io/specification/2025-06-18/basic/lifecycle - Content type. A request response is
application/jsonortext/event-stream. Spec: https://modelcontextprotocol.io/specification/2025-06-18/basic/transports - Session. For a revision other than
2026-07-28, echo a validMcp-Session-Idwhen the server sends one. Visible ASCII is0x21to0x7E. - Cursors. Follow
nextCursoruntil it is absent. A repeated cursor or a page cap is a failure, and tools already read stay in the report. Spec: https://modelcontextprotocol.io/specification/2025-06-18/server/utilities/pagination - Schemas. Every tool needs an object
inputSchema. JSON-RPC error codes must be integers the JSON-RPC 2.0 spec allows. Spec: https://www.jsonrpc.org/specification
Print the JSON report. Quote the finding code, the remediation URLs, and any commons unit id the report attached. Do not invent a unit id.
Install
Default-branch install, after this skill is on the default branch:
npx skills add epistemedeus/x402-data-gateway-skills --skill mcp-wire-check --yes
This file can also be installed from a git tree URL for the branch that contains it. The skills CLI documents that form as https://github.com/<owner>/<repo>/tree/<branch>/skills/<name>. Do not claim a skills.sh directory page lists this skill until a fetch of that page shows it.
Boundaries
Contact is contact@neomorphic.io. Optional handoff documents, which this command does not modify:
