mcp-server

mcp-server is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 102 tokens per session (1,583 once invoked), scanned A, original, MIT.

Guidance for building an MCP server, a service that lets an AI application use tools, read information, or follow reusable prompts. It covers tool design, read-only resources, transports, access control, errors, and testing with a real client.

In plain words
What is it for?
Use it to expose an internal system to an AI client, wrap an existing API for agent use, or improve and test an MCP server.
Why use it?
An API designed for programmers is not automatically easy for an AI model to use correctly. This helps define clear tools and useful errors within a safe security boundary.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai plugin — 12 skills shipped together

Good fit Use it to expose an internal system to an AI client, wrap an existing API for agent use, or improve and test an MCP server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/mcp-server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill mcp-server
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install ai, the plugin that ships this one along with the rest of its 12 skills.

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-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/mcp-server/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/mcp-server)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/mcp-server"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/mcp-server/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-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/mcp-server"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00102 $0.01583
Opus 5.5 $0.00041 $0.00633
Sonnet 5.5 $0.00020 $0.00317
Haiku 4.5 $0.00010 $0.00158

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

Security

Grade A, and why

mcp-server scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai/mcp-server/SKILL.md · 148 lines

How it starts

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

MCP Server

Purpose

Build an MCP server that a model can use correctly. The protocol is straightforward; the difficulty is designing a tool surface that a language model uses well, which is a different problem from designing an API for a programmer.

When to Use

  • Exposing a system's capabilities to an LLM client.
  • Wrapping an internal API for agent use.
  • Improving an MCP server whose tools the model uses incorrectly.

Capabilities

  • Tool design: granularity, naming, schema, and descriptions.
  • Resources for read-only context.
  • Prompts as reusable, parameterized templates.
  • Transports: stdio for local, HTTP/SSE for remote.
  • Authentication and authorization.
  • Error returns that let a model recover.

Inputs

  • The underlying system and its API.
  • The tasks a model should be able to accomplish.
  • The security boundary: what the model may do, and on whose behalf.

Outputs

  • A server whose tool descriptions unambiguously state when each tool applies.
  • Errors that are instructive rather than merely accurate.
  • A test suite exercising the tools as a model would call them.

Workflow

  1. Design around tasks, not endpoints — Do not mirror your REST API one-to-one. A model needs find_order_by_customer, not GET /orders with fourteen optional query parameters.
  2. Write the description as if it were the prompt — Because it is. State what the tool does, when to use it, when not to use it, and what it returns. This text determines whether the model uses the tool correctly.
  3. Constrain the inputs — Enums, not free strings. Required parameters, not optional ones the model must guess.
  4. Return errors a model can act on — What went wrong, and what to do instead. An error that names the valid values lets the model self-correct in one step.
  5. Keep responses compact — Return what the model needs. A tool returning a 40 KB JSON blob spends the model's context on noise.
  6. Test as a client — Not with unit tests on the handlers. Connect a real client and watch which tools the model picks and how it uses them. It will surprise you.

Read the full file on GitHub · 148 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. 1mo ago Changed · +62 tokens per session c3da3bd951b3
  2. 3mo ago First seen · 148 lines · 40 tokens per session scan A 47942eb12235

Subscribe to this mod's changes

mcp-server is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 1,583 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp-server compared with skills from other repositories

mcp-server next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-servernimadorostkar/Claude-Skills-collectionSkill41todayMITA102Claude Code
offensive-api-abuseSnailSploit/Claude-RedSkill12k13d agoMITB184Claude Code, Codex
offensive-graphqlSnailSploit/Claude-RedSkill12k13d agoMITB219Claude Code, Codex
agent-readiness-auditmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA117Claude Code
mcp-server-specmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA101Claude Code
api-docs-writermohitagw15856/pm-claude-skillsSkill1.6ktodayMITB80Claude Code, Codex
agent-ready-auth-mdfabricioctelles/skillsSkill1504d agoApache-2.0A37Claude Code, Codex