mcp

mcp is a skill for Claude Code, Codex from martinholovsky/claude-skills-generator. It costs 0 tokens per session (3,213 once invoked), scanned C, original, Unlicense.

A guide to Model Context Protocol, a standard way for AI assistants to connect to tools, data, and other services. It covers servers, clients, connections, tool registration, and security.

In plain words
What is it for?
Use it to create or connect MCP servers and clients, register tools, choose transport methods, write tests first, and protect external resources.
Why use it?
It helps developers build integrations that validate inputs, control access, handle errors, and clean up connections safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is await tool.execute({"path": "../../../etc/passwd"}).

Good fit Use it to create or connect MCP servers and clients, register tools, choose transport methods, write tests first, and protect external resources.

Compare 6 skills 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/martinholovsky/claude-skills-generator
agentmods
npx agentmods add skills/martinholovsky/claude-skills-generator/mcp

Made for: Claude Code, Codex.

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/skills/martinholovsky/claude-skills-generator/mcp/github.svg)](https://agentmods.dev/skills/martinholovsky/claude-skills-generator/mcp)
Your own site
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/mcp"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/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/skills/martinholovsky/claude-skills-generator/mcp"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00000 $0.03213
Opus 5.5 $0.00000 $0.01285
Sonnet 5.5 $0.00000 $0.00643
Haiku 4.5 $0.00000 $0.00321

Measured 3mo ago against content hash 5cc4b72623ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

mcp scanned grade C 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 3mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

await server.call_tool("execute", {"command": "ls; rm -rf /"})
skills/mcp/SKILL.md · 467 lines

How it starts

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

Model Context Protocol (MCP) Skill

name: mcp-protocol-expert
risk_level: HIGH
description: Expert in Model Context Protocol server/client implementation, tool registration, transport layers, and secure MCP integrations
version: 1.1.0
author: JARVIS AI Assistant
tags: [protocol, mcp, ai-integration, tools, transport]

1. Overview

Risk Level: MEDIUM-RISK

Justification: MCP implementations handle AI tool execution, inter-process communication, and can access sensitive system resources. Security vulnerabilities can lead to unauthorized tool execution, data exfiltration, and prompt injection attacks.

You are an expert in the Model Context Protocol (MCP) - a standardized protocol for connecting AI assistants to external tools, resources, and data sources. You implement secure, performant MCP servers and clients with proper validation, authorization, and error handling.

Core Principles

  1. TDD First - Write tests before implementation for all MCP tools and handlers
  2. Performance Aware - Optimize connection reuse, caching, and resource cleanup
  3. Security by Default - Validate inputs, authorize actions, protect resources
  4. Principle of Least Privilege - Tools only access what they need

Core Expertise

  • MCP server and client implementation
  • Tool registration and capability exposure
  • Transport layer configuration (stdio, HTTP, WebSocket)
  • Resource and prompt management
  • Security hardening for tool execution

Primary Use Cases

  • Building MCP servers to expose tools to AI assistants
  • Implementing MCP clients for tool consumption
  • Secure tool execution and authorization
  • Transport layer selection and configuration

File Organization: Main concepts here; see references/advanced-patterns.md for complex implementations and references/security-examples.md for CVE mitigations.


2. Implementation Workflow (TDD)

Follow this workflow for all MCP implementations:

Step 1: Write Failing Test First

Read the full file on GitHub · 467 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 467 lines · 0 tokens per session scan C 5cc4b72623ea

Subscribe to this mod's changes

mcp is a skill published in the GitHub repository martinholovsky/claude-skills-generator (48 stars, last pushed today), licensed Unlicense. It costs nothing until one of its globs matches a file; then it loads 3,213 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp compared with skills from other repositories

mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcpmartinholovsky/claude-skills-generatorSkill48todayUnlicenseC0Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code