Agent skill

Dex Add MCP

by davekilleen in davekilleen/Dex

Add a known MCP server to config using Dex-safe user scope. An agent skill from davekilleen/Dex.

MITAuto-check passedAgent Workflows

Install Dex Add MCP

skills CLI
$ npx skills add davekilleen/Dex --skill dex-add-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davekilleen/Dex dex-add-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davekilleen/Dex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dex-add-mcp .claude/skills/dex-add-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dex-add-mcp
GitHub stars
494
Token cost
~553 tokens
SKILL.md length
220 words
Files
1
Skills in repo
61
Repo updated
First seen
Licence
MIT

At a glance

Add a known MCP server to config using Dex-safe user scope. An agent skill from davekilleen/Dex.

  • The user has server details in hand and says add this MCP
  • SKILL.md covers Purpose, When to Use, Default Behavior (Recommended) and Examples, plus 2 more sections
  • Calls claude; reaches mcp.notion.com and api.githubcopilot.com
  • Register this server

What it does

Dex Add MCP is an agent skill from davekilleen/Dex. Add a known MCP server to config using Dex-safe user scope. Use when the user has server details in hand and says 'add this MCP', 'register this server'. Not for discovering/installing from a marketplace; use integrate-mcp. Not for building one; use create-mcp.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Your AI Chief of Staff — a personal operating system starter kit that adapts to your role. No coding required. The licence is MIT.

When your agent uses it

  • The user has server details in hand and says add this MCP
  • Register this server

Example prompts

  • “add this MCP”
  • “register this server”
  • “/dex-add-mcp”

What it can do on your machine

Read from SKILL.md and the folder at commit d0ffc6b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mcp.notion.com
    • api.githubcopilot.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dex Add MCP loads about 553 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 220 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~553

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davekilleen/Dex at commit d0ffc6b, republished under its MIT licence (© davekilleen). 220 words, ~553 tokens.

Download SKILL.mdSave it as .claude/skills/dex-add-mcp/SKILL.md (or your agent's skills folder).
name
dex-add-mcp
description
Add a known MCP server to config using Dex-safe user scope. Use when the user has server details in hand and says 'add this MCP', 'register this server'. Not for discovering/installing from a marketplace; use `integrate-mcp`. Not for building one; use `create-mcp`.

Purpose

Add a new MCP server the safe way: user scope by default so your custom MCP survives Dex updates.

When to Use

  • You want to add an MCP server without touching .mcp.json
  • You want it to work across all projects (user scope)
  • You are not sure which scope to pick

Use user scope unless you explicitly want to share with a team.

claude mcp add --scope user <server-name> -- <command> <args>

Why: Survives Dex updates and applies across all projects.

Project scope (team-shared)
claude mcp add --scope project <server-name> -- <command> <args>

Why: Stored in .mcp.json and shared with everyone on this repo.

Examples

Add a local stdio MCP (user scope)
claude mcp add --scope user gmail --transport stdio -- node .scripts/mcp/gmail-mcp.js
Add a remote HTTP MCP (user scope)
claude mcp add --scope user notion --transport http https://mcp.notion.com/mcp
Add a project-shared MCP (explicit)
claude mcp add --scope project github --transport http https://api.githubcopilot.com/mcp/

Guardrails

  • If you are not sure, use user scope.
  • Only use project scope if everyone should get the server.
  • Do not add personal MCPs to .mcp.json.

Track Usage (Silent)

Call the mark_feature_used tool on the dex-analytics MCP server with dex-add-mcp. This ticks the feature's box in System/usage_log.md, which is what /dex-level-up reads to recommend features that have not been tried. It writes locally and sends nothing, so it runs whether or not analytics is enabled.

Analytics (Silent):

Call track_event with event_name mcp_added and properties:

  • (no properties — do NOT include server names)

This only fires if the user has opted into analytics. No action needed if it returns "analytics_disabled".

© davekilleen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/dex-add-mcp of davekilleen/Dex.

Open the folder on GitHubat commit d0ffc6b

Compare with similar skills

Dex Add MCP next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dex Add MCP compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dex Add MCP this skilldavekilleen/Dex494—~553Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from davekilleen/Dex

All 61 skills in this repo
  • Dspy Ruby

    davekilleen/Dex

    This skill should be used when working with DSPy.rb, a Ruby framework for building type-safe, composable LLM applications.

    494 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed
  • Diff Adopt Profile

    davekilleen/Dex

    Adopt a full published Heydex profile by handle ('set me up like @davekilleen').

    494 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Diff Generate

    davekilleen/Dex

    Package one workflow — how you use Dex for a specific job — into a shareable DexDiff methodology doc.

    494 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Creating Agent Skills

    davekilleen/Dex

    Expert guidance for creating, writing, and refining Claude Code Skills.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Feedback

    davekilleen/Dex

    Report a Dex bug to the Dex team with zero homework — Dex investigates locally, builds a privacy-safe report, shows it to you (or auto-sends if you've chosen that), and tracks the ticket until it's…

    494 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Dhh Rails Style

    davekilleen/Dex

    This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Categories

Questions about Dex Add MCP

What does Dex Add MCP do?

Add a known MCP server to config using Dex-safe user scope. An agent skill from davekilleen/Dex. Dex Add MCP is an agent skill from davekilleen/Dex. Add a known MCP server to config using Dex-safe user scope.

When should I use Dex Add MCP?

Dex Add MCP fits situations like: the user has server details in hand and says add this MCP; register this server.

How do I install Dex Add MCP in Claude Code?

Run `npx skills add davekilleen/Dex --skill dex-add-mcp -a claude-code`. Or copy the skill folder (.claude/skills/dex-add-mcp in davekilleen/Dex) into .claude/skills/dex-add-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Dex Add MCP in Codex?

Run `npx skills add davekilleen/Dex --skill dex-add-mcp -a codex`. Or copy the skill folder (.claude/skills/dex-add-mcp in davekilleen/Dex) into .agents/skills/dex-add-mcp in your project. Codex loads it when a task matches its description.

Can I use Dex Add MCP in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davekilleen/Dex --skill dex-add-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dex-add-mcp, .gemini/skills/dex-add-mcp, .github/skills/dex-add-mcp and .opencode/skills/dex-add-mcp in your project.

What does Dex Add MCP need to run?

Going by SKILL.md and its folder, Dex Add MCP needs the command-line tools its instructions call (claude).

Does Dex Add MCP access the network?

SKILL.md names 2 domains. In commands or code: mcp.notion.com and api.githubcopilot.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Dex Add MCP safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dex Add MCP use?

Dex Add MCP is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dex Add MCP use?

About 553 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dex Add MCP?

Skills that share tags, products or a category with Dex Add MCP: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dex Add MCP?

davekilleen (a GitHub user) maintains it in davekilleen/Dex, which has 494 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on October 9, 2026.

Source: davekilleen/Dex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.