modelcontextprotocol-client
Connect @modelcontextprotocol/client 2.x to MCP servers, inspect negotiated protocol and advertised tools, handle structured and error results, and close client resources reliably.
- Compatibility
- MCP client 2.0.0 with server 2.0.0 for local integration fixtures. The split client requires Node.js 20 or newer; use a supported LTS release.
Pinned to revision bfc607ec8302, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.