create-mcp

create-mcp is a skill for Claude Code, Codex from davekilleen/Dex. It costs 82 tokens per session (5,266 once invoked), scanned B, original, MIT.

A guided workflow for building a new MCP integration, which lets an agent connect to an external tool or service.

In plain words
What is it for?
It helps design and create an MCP server for a tool that the agent needs to access.
Why use it?
It helps when no ready-made connection exists and the agent cannot yet work with a particular tool.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is DEX_MCP_ONCE_TOKEN=$(./.venv/bin/python core/utils/smoke.py \.

Good fit It helps design and create an MCP server for a tool that the agent needs to access.

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/davekilleen/Dex
agentmods
npx agentmods add skills/davekilleen/dex/create-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 create-mcp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/create-mcp"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/create-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,266 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.00082 $0.05266
Opus 5.5 $0.00033 $0.02106
Sonnet 5.5 $0.00016 $0.01053
Haiku 4.5 $0.00008 $0.00527

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

Security

Grade B, and why

create-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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Or add to your shell config / the vault-root `.env` file (keep `.env` owner-only: `chmod 600 .env`).
.agents/skills/create-mcp/SKILL.md · 743 lines

How it starts

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

What This Command Does

In plain English: A guided wizard that helps you create and integrate an MCP server into Dex. No coding knowledge required - you describe what you want, we build it together.

When to use it:

  • You want to connect Dex to an external service (calendar, email, CRM, API)
  • You have data somewhere that would be useful in Dex
  • You want to automate interactions with a tool you use regularly

How to run it:

/create-mcp                    # Starts the wizard from the beginning
/create-mcp "calendar"         # Jumps ahead with a service hint

Why MCP Matters: Probabilistic AI vs Deterministic Tools

The Problem with AI Alone

AI models like Claude are fundamentally probabilistic - they generate responses by predicting the most likely next token based on patterns in their training data. This is powerful for reasoning and language, but dangerous for facts:

Question Without MCP With MCP
"What's on my calendar today?" "I don't have access to your calendar, but typically..." Queries actual calendar, returns real events
"What are our top support tickets this week?" "Based on typical patterns, around 10-15..." Queries Zendesk: "32 tickets, 12 P0, avg response time 2.3hrs"
"Did Sarah email about the roadmap?" "I can't access your email..." Searches Gmail, finds 3 matching threads

Without MCP, AI can only:

  • Guess based on general knowledge
  • Hallucinate plausible-sounding but wrong answers
  • Admit it doesn't have access

What MCP Actually Does

MCP (Model Context Protocol) provides guardrails and structure for AI interactions with external systems:

┌─────────────────────────────────────────────────────────────┐
│                    YOUR QUESTION                            │
│         "What features are customers using most?"           │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    AI REASONING                             │
│  "I need support ticket data. I have a Zendesk MCP tool    │
│   called `get_ticket_stats`. Let me call it..."            │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    MCP TOOL CALL                            │
│  Tool: get_feature_usage                                    │
│  Input: { "days": 30, "limit": 10 }                        │
│  ─────────────────────────────────────────────────────────  │
│  │ GUARDRAILS:                                          │  │
│  │ ✓ Defined input schema - can't send bad data         │  │
│  │ ✓ Authenticated connection - uses real credentials   │  │
│  │ ✓ Structured output - returns consistent format      │  │
│  │ ✓ Deterministic - same query = same results          │  │
│  └──────────────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    REAL DATA RESPONSE                       │
│  { "features": [                                            │
│    { "name": "Dashboard", "usage": 89% },                   │
│    { "name": "Reports", "usage": 67% },                     │
│    { "name": "Guides", "usage": 45% }                       │
│  ]}                                                         │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    AI SYNTHESIS                             │
│  "Your top 3 features by usage are Dashboard (89%),        │
│   Reports (67%), and Guides (45%). Dashboard dominates -   │
│   consider investing more there."                          │
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 743 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. 2mo ago Changed 63e4ba233f80
  2. 2mo ago First seen · 743 lines · 82 tokens per session scan B 49b977c3a8f0

Subscribe to this mod's changes

create-mcp is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 82 tokens to every session and 5,266 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.

Related

create-mcp compared with skills from other repositories

create-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-mcpdavekilleen/DexSkill5226d agoMITB82Claude Code, Codex
nft-standardswshobson/agentsSkill43k6d agoMITA48Claude Code
istio-traffic-managementwshobson/agentsSkill43k6d agoMITA40Claude Code
projection-patternswshobson/agentsSkill43k6d agoMITA36Claude Code
9router-web-searchdecolua/9routerSkill33k7d agoMITA74Claude Code, Codex
microservices-patternswshobson/agentsSkill43k6d agoMITA38Claude Code
track-managementwshobson/agentsSkill43k6d agoMITA44Claude Code