mcp

mcp is a command for Claude Code from nitinjain999/platform-skills. It costs 33 tokens per session (3,362 once invoked), scanned B, original, Apache-2.0.

A development helper for building and checking MCP (Model Context Protocol) servers and clients, which let AI applications use external tools and data.

In plain words
What is it for?
Use it to scaffold MCP projects, add tools, resources, and prompt templates, test protocol behavior, diagnose connection issues, and prepare authentication, rate limiting, and deployment settings.
Why use it?
It reduces the work of setting up the protocol correctly and helps find schema, connection, and error-handling problems before deployment.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is npx @modelcontextprotocol/inspector node dist/index.js.

Part of the platform-skills plugin — 1 skill, 43 commands shipped together

Good fit Use it to scaffold MCP projects, add tools, resources, and prompt templates, test protocol behavior, diagnose connection issues, and prepare authentication, rate limiting, and deployment settings.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills
agentmods
npx agentmods add commands/nitinjain999/platform-skills/mcp

Made for: Claude Code.

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp

README.md
[![agentmods](https://agentmods.dev/badge/commands/nitinjain999/platform-skills/mcp/github.svg)](https://agentmods.dev/commands/nitinjain999/platform-skills/mcp)
Your own site
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/mcp"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp

Your own site · 80×15
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/mcp"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,362 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.03362
Opus 5 $0.00016 $0.01681
Sonnet 5 $0.00007 $0.00672
Haiku 4.5 $0.00003 $0.00336

Measured 9d ago against content hash a134d246f52d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

mcp scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Claude Code (`~/.claude/settings.json` → `mcpServers`):**
commands/mcp.md · 354 lines

How it starts

The opening of the file, as written. The whole thing — 354 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build, review, or debug an MCP (Model Context Protocol) server or client.

Mode: create

Scaffold a production-ready MCP server.

Steps:

  1. Ask for: language (TypeScript or Python), transport (stdio / HTTP+SSE), list of tools and resources needed
  2. Generate project scaffold with correct SDK setup
  3. Implement tool handlers with Zod (TypeScript) or Pydantic (Python) schema validation
  4. Add resource providers and prompt templates as needed
  5. Configure transport layer
  6. Add error handling — return isError: true content, never throw unhandled exceptions to clients
  7. Add authentication and rate limiting for HTTP transports
  8. Provide MCP Inspector test commands and expected responses
  9. Add deployment checklist (env vars, secrets, logging)

Validation:

# Smoke-test the MCP server before connecting a host
npx @modelcontextprotocol/inspector <your-server-command>
# This opens an interactive inspector — verify: tools list, resources list, no startup errors
# If the server is not discovered by the host, run /platform-skills:mcp debug

Reference: references/mcp.md → Protocol Fundamentals, TypeScript SDK, Python SDK

Mode: review

Review an existing MCP server or client implementation.

Evaluate in priority order:

  1. Protocol compliance — JSON-RPC 2.0 correctness, proper capability negotiation, well-formed content arrays
  2. Schema validation — all tool inputs validated with Zod/Pydantic; no z.any() or empty schemas
  3. Security — no credentials in tool responses or resource content; auth on HTTP transports; rate limiting present
  4. Error handling — errors return isError: true with a message, not unhandled exceptions
  5. Transport — correct transport for the use case; no blocking sync code in async transports

Output: Critical (must fix) / Improvement (should fix) / Note (informational)

Reference: references/mcp.md → Security, Error Handling, Testing and Debugging

Mode: debug

Diagnose MCP protocol or integration failures.

Read the full file on GitHub · 354 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 354 lines · 33 tokens per session scan B a134d246f52d

Subscribe to this mod's changes

mcp is a command published in the GitHub repository nitinjain999/platform-skills (41 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 3,362 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.