Agent skill · Security

generate-server-card

Generate an MCP server card JSON (mcp-gateway-registry format) by analyzing server source code in a folder or GitHub URL. Studies code to detect server name, tools, transport, auth, and generates a registry-compatible config.

agentic-communitygithub.com/agentic-communityGitHub ↗
claude-codeApache-2.0
Install
npx skills add agentic-community/mcp-gateway-registry --skill generate-server-card --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 10 KB
Bundled scripts: none
Path: .claude/skills/generate-server-card/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 845
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Steps
  2. 1. Carefully study the source code
  3. 2. Generate the server card JSON
  4. 3. Do NOT populate toollist
  5. 4. Set the path
  6. 5. Set the proxypassurl and mcpendpoint
  7. 6. Detect transport type
  8. 7. Detect auth scheme
  9. 8. Save the output
  10. 9. Validate the generated JSON
  11. 10. Report results
  12. Reference: Minimal server card
  13. Reference: Full server card with tools
Commands it runs
python3 -c "
import json
import sys
file_path = '<OUTPUT_FILE_PATH>'
Step 1: JSON format check
with open(file_path) as f:
card = json.load(f)
except json.JSONDecodeError as e:
Step 2: Required fields
errors = []
More from mcp-gateway-registry
All skills →
About this skill
What does the generate-server-card skill do?

Generate an MCP server card JSON (mcp-gateway-registry format) by analyzing server source code in a folder or GitHub URL. Studies code to detect server name, tools, transport, auth, and generates a registry-compatible config.

How do I install it?

Run `npx skills add agentic-community/mcp-gateway-registry --skill generate-server-card --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agentic-community/mcp-gateway-registry, a repository with 845 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going