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.
git clone --depth 1 https://github.com/davekilleen/Dexnpx agentmods add skills/davekilleen/dex/create-mcpWrote 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.
[](https://agentmods.dev/skills/davekilleen/dex/create-mcp)<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.
<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>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.
| Model | Per session | Once 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 |
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`). 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." │
└─────────────────────────────────────────────────────────────┘
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.
- 2mo ago Changed 63e4ba233f80
- 2mo ago First seen · 743 lines · 82 tokens per session scan B 49b977c3a8f0
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.
create-mcp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-mcpdavekilleen/Dex | Skill | 522 | 6d ago | MIT | B | 82 | Claude Code, Codex |
| nft-standardswshobson/agents | Skill | 43k | 6d ago | MIT | A | 48 | Claude Code |
| istio-traffic-managementwshobson/agents | Skill | 43k | 6d ago | MIT | A | 40 | Claude Code |
| projection-patternswshobson/agents | Skill | 43k | 6d ago | MIT | A | 36 | Claude Code |
| 9router-web-searchdecolua/9router | Skill | 33k | 7d ago | MIT | A | 74 | Claude Code, Codex |
| microservices-patternswshobson/agents | Skill | 43k | 6d ago | MIT | A | 38 | Claude Code |
| track-managementwshobson/agents | Skill | 43k | 6d ago | MIT | A | 44 | Claude Code |