# mcpkit

> Find the problems that break an MCP server in specific MCP clients (Claude, ChatGPT, Cursor, VS Code, Codex and more), with sourced client facts, SDK upgrade help and CI output.

mcpkit is a free AI agent skill on Agensi by Vraj Ved, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Vraj Ved](https://www.agensi.io/creators/vrajved)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcpkit
- Tags: llm-ops, mcp, model-context-protocol, node-js, debugging

## About this skill

Building Model Context Protocol (MCP) servers is difficult because every client—Claude Desktop, ChatGPT, Cursor, VS Code, and others—implements the protocol with unique constraints. A server that works in one environment might silently fail in another due to name truncation, schema depth limits, or handling of structured content.

### What it does
- **Multi-client validation** checks server definitions against known constraints for Claude Desktop, ChatGPT, Cursor, VS Code, Cline, and more.
- **Protocol inspection** records exactly what the server exposes including tools, resources, and prompts.
- **Schema auditing** identifies deep nesting or root-level combinators that break specific LLM clients.
- **Runtime probing** optionally executes tools with `readOnlyHint` to verify output schema compliance.
- **SDK management** detects outdated MCP SDKs across Node.js, Python, Go, and Rust and provides precise upgrade commands.
- **Transport verification** catches stdout pollution that corrupts JSON-RPC messages on stdio transports.

### How it works
1. Run `npx -y @vrajved/mcpkit -- [start command]` to boot the server and perform a full suite of cross-client checks.
2. Review the Markdown report for `FAIL` and `WARN` statuses, each containing a specific `checkId` and a concrete fix.
3. Use the `upgrade` command to check for SDK updates and optionally apply them if the environment allows.
4. Integrate with CI using the `-f github` flag to surface protocol violations directly in pull request annotations.

### Frameworks & tools
Works with any MCP server regardless of language (Node.js, Python, Go, Rust). Requires Node.js 20+ to run the validator. Supports both stdio and Streamable HTTP transports.

### Why this beats prompting it yourself
LLMs often guess at protocol limits or rely on outdated documentation. This tool uses a sourced database of real-world client behaviors to catch silent failures, like name collisions in VS Code or schema stripping in Codex CLI, that simple prompting cannot detect.

### Proven on real projects

Run against a live 4-tool MCP server (an LP-solver exposed over MCP) across all 12 supported clients: 0 fails, 0 warnings, 3 informational notes across the whole surface. This is the same validator you'd run against your own server, not a curated example.

### Use cases
- Validating a new MCP server before deployment to ensure cross-client compatibility.
- Debugging why tools disappear in specific editors like Cursor or VS Code.
- Verifying that tool results containing `structuredContent` also provide required text fallbacks.
- Auditing OAuth 2.0 implementations for PKCE S256 compliance required by ChatGPT.

### Known limitations
The tool requires a functional build of the server to run. Probing is limited to tools marked as read-only to prevent side effects. Remote servers require reachable URLs and valid headers.

## Requires

- Use MCP
- @vrajved/mcpkit
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the mcpkit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Why do I need a separate validator if my MCP server already starts up successfully?

mcpkit solves the "works on my machine" problem for MCP servers by validating your server against the specific, often undocumented constraints of clients like Claude Desktop, Cursor, and ChatGPT simultaneously.

### Which programming languages and MCP SDKs are supported by this tool?

It is language-agnostic and works with any server built in Node.js, Python, Go, or Rust, provided you have Node.js 20+ installed to run the validator itself.

### Can I integrate mcpkit into my existing CI/CD pipeline?

Yes, you can use the `-f github` flag to generate annotations directly in your Pull Requests, flagging protocol-breaking changes before they reach your production branch. Gate merges on mcpkit's exit code in your branch protection rules to enforce it.

### How does the skill handle protocol updates and SDK versioning?

The tool includes a specialized `upgrade` command that scans your environment for outdated SDKs and provides the exact terminal commands needed to bring your server up to the latest protocol version.

### How does this differ from the official Model Context Protocol inspector?

The official inspector is built for manually exploring and debugging one server at a time. mcpkit is built for automated, unattended compatibility checking across many clients at once, with a sourced database of client-specific quirks like schema depth limits and name truncation rules, so you can run it in CI without a human clicking through a UI.

### Is it safe to run the runtime probing feature on a live database-connected tool?

To prevent accidental data modification, runtime probing is strictly limited to tools marked with a `readOnlyHint`, ensuring your production data remains safe during the audit.

### Does mcpkit work with private or authenticated MCP servers?

Yes, two ways. For a quick check, pass a static header: mcpkit --url https://example.com/mcp -H "Authorization: Bearer ***". For full OAuth-protected servers, run mcpkit oauth login --url https://example.com/mcp once to authenticate interactively, then mcpkit check --oauth --url https://example.com/mcp to run checks using the stored token. Tokens are saved locally per server and refreshed automatically; mcpkit never registers a new client or opens a browser unless you explicitly run oauth login.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
