Skip to content
Back to skills

Dex Add Mcp

ASecurity

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`.

  • 489 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
developmentnoderailsgitapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add davekilleen/Dex --skill dex-add-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dex Add Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dex Add Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davekilleen-dex-add-mcp/badge)](https://www.skillsdirectory.com/skills/davekilleen-dex-add-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

## Default Behavior (Recommended)

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

### User scope (recommended)

```
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".

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.