generate-server-card

generate-server-card is a skill for Claude Code from agentic-community/mcp-gateway-registry. It costs 52 tokens per session (2,719 once invoked), scanned A, original, Apache-2.0.

A tool that examines an MCP server's source code and creates a JSON registration card for the MCP Gateway Registry. MCP, or Model Context Protocol, is a way for AI agents to call external tools and services.

In plain words
What is it for?
Use it to document an MCP server from a local folder or GitHub source, including its name, tools, transport, authentication, and registry configuration.
Why use it?
It removes the manual work of discovering a server's tools, connection method, and authentication details. The generated file follows the registry's expected format.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to document an MCP server from a local folder or GitHub source, including its name, tools, transport, authentication, and registry configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentic-community/mcp-gateway-registry/generate-server-card
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 agentic-community/mcp-gateway-registry --skill generate-server-card
Clone the repo
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/generate-server-card"><img src="https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/generate-server-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,719 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.00052 $0.02719
Opus 5 $0.00026 $0.01359
Sonnet 5 $0.00010 $0.00544
Haiku 4.5 $0.00005 $0.00272

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

Security

Grade A, and why

generate-server-card 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 10d 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.

.claude/skills/generate-server-card/SKILL.md · 272 lines

How it starts

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

Generate MCP Server Card

Generate an MCP server card JSON file in the mcp-gateway-registry format by analyzing the source code at $ARGUMENTS.

This format is used by https://github.com/agentic-community/mcp-gateway-registry for registering MCP servers in the gateway registry.

Steps

1. Carefully study the source code

Do NOT just skim the top-level files. MCP servers can be complex, multi-file projects. You MUST thoroughly explore the entire folder structure before generating the card.

If $ARGUMENTS is a local folder path, use Glob to find ALL Python files, YAML/JSON configs, and README files in the folder and its subfolders. Read every relevant file.

If $ARGUMENTS is a GitHub URL, use WebFetch to read the raw file contents. Follow imports to discover additional files.

Where to look (MCP servers are not always a single file):

  • Entrypoints: main.py, app.py, server.py, __main__.py, mcp_server.py
  • Tool definitions: look for @mcp.tool(), @server.tool(), @tool, tool handler functions, tool registrations
  • OpenAPI specs: .json or .yaml files in openapi-specs/, specs/, api/ folders - these define the tools when an API is exposed as MCP
  • Config files: pyproject.toml, requirements.txt, .bedrock_agentcore.yaml, deploy_*.py, docker-compose.yml
  • Deployment scripts: these reveal the gateway URL, auth scheme, transport type
  • Gateway configs: .deployment_info.json, .roo.json - these have the actual MCP endpoint URL
  • Sub-folders: check ALL subdirectories for additional tools, resources, or shared utilities
  • Resource definitions: MCP servers can expose resources and prompts in addition to tools

From the code, detect:

  • Server name: from constants, config files, class names, gateway name
  • Description: from docstrings, README, module-level comments, OpenAPI spec info
  • Tools: from @tool decorators, tool registrations, OpenAPI operationIds, function definitions
  • Tool schemas: parameter types, required fields, descriptions from function signatures or OpenAPI specs
  • Supported transports: streamable-http, sse, stdio - from server framework config
  • Auth scheme: none, bearer JWT, API key, OAuth2, Cognito - from deployment scripts or middleware
  • MCP endpoint URL: from deployment info, gateway URL, or config files
  • Proxy pass URL: the backend URL the gateway proxies to (may differ from the MCP endpoint)
  • Version: from constants, pyproject.toml, or default to 1.0.0
  • Provider info: organization name and URL if detectable
  • License: from pyproject.toml or LICENSE file
  • Status: active, beta, etc.

Read the full file on GitHub · 272 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. 10d ago First seen · 272 lines · 52 tokens per session scan A ece090d28e88

Subscribe to this mod's changes

generate-server-card is a skill published in the GitHub repository agentic-community/mcp-gateway-registry (903 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 2,719 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens