# Skill, Script, or Door?

Three questions, asked in order, that tell you whether the thing you're about to install should be an MCP server at all. First yes wins.

Web version: https://t8.dev/guides/skill-script-or-door/
Published 2026-07-26, updated 2026-11-15.

Every reader path is included. Blocks for one setup are marked ::: Windows · Terminal (and so on), and end at :::.

---

> Most of what you want is not an MCP server. Ask in order; **first yes wins.**

## 1 · Does a command-line tool already do this?

`git` · `gh` · `ffmpeg` · `curl` · `docker` · `aws`  
→ **Yes? Use the CLI.** Tell your agent the command, in its map file (`CLAUDE.md` or `AGENTS.md`).

::: ChatGPT · Codex · Another agent

Your map file is `AGENTS.md`. If you also use Claude, a `CLAUDE.md` holding the single line `@AGENTS.md` makes the two share it.

:::

::: ChatGPT · Codex

**Codex and the internet:** Codex's default `workspace-write` sandbox keeps network access off unless you enable it in `config.toml`. So `gh`, `curl`, `aws` and `git push` will fail there until you do (`network_access = true` under `[sandbox_workspace_write]`). `ffmpeg` and local `git` work as-is. Turn network on knowingly.

:::

## 2 · Is it *how you do things*: a procedure, a format, a house style?

::: Claude

→ **Yes? Write a Skill** at `.claude/skills/<name>/SKILL.md`. Its body loads only when it's used, so it costs almost nothing until you need it.

:::

::: ChatGPT · Codex

→ **Yes? Write a Skill** at `.agents/skills/<name>/SKILL.md` in your project. Codex loads only each skill's name and description up front and reads the full file when it picks that skill.

:::

::: Another agent

→ **Yes? Write it down as a procedure.** Put the steps in a plain markdown file and point to it from your map file (`AGENTS.md`). If your agent has its own skills feature, use that instead; its docs say where the folder goes.

:::

## 3 · Does it need a service with no CLI, or live state?

Notion, Linear, Sentry, a database behind a login.  
→ **Yes? That's a door.** Install an MCP server.

::: New to this

**New to this:** you don't have to know the answer to question 1 yourself. Ask your agent *"Is there a command-line tool for this?"* A command-line tool is a program you run by typing its name, like `git`. And a *door* just means an MCP server: a connection to a live service. Most of what you want from an agent is not one.

:::

## If it's a door

The full setup, step by step for each agent: [MCP: The Room Gets a Door](https://t8.dev/guides/mcp-the-room-gets-a-door/).

::: Claude · Terminal

```shell
# run where you launch claude; use the publisher's URL from their docs
claude mcp add --scope project --transport http sentry https://mcp.sentry.dev/mcp
claude mcp list      # ✔ Connected. ⏸ Pending approval = run claude, approve
```

`add` only writes `.mcp.json`; `list` shows status. Then run `claude` and ask for the server's tools.

:::

::: Claude · Desktop app

**Desktop app (Claude):** many doors are one click here. Press **+** next to the prompt box to open the connector directory, and manage or disconnect them under **Settings, then Connectors**. Connectors are MCP servers with a graphical setup. For a server that isn't listed, add it manually through a settings file, as the commands above do.

:::

::: ChatGPT · Codex · Terminal

```shell
# run in a terminal; use the publisher's URL from their docs
codex mcp add sentry --url https://mcp.sentry.dev/mcp
codex mcp login sentry     # only if the server uses OAuth
codex mcp list
```

`add` saves the server in Codex's `config.toml` (default `~/.codex/config.toml`; to scope one to a project, put it in `.codex/config.toml`, trusted projects only). Then run `codex` and type `/mcp` to see which servers are connected.

:::

::: ChatGPT · Codex · Desktop app

**Desktop app (Codex):** no terminal needed. In the ChatGPT desktop app go to **Settings, then MCP servers, then Add server**. The desktop app, the CLI and the IDE extension share one setup, and typing `/mcp` in the composer lists connected servers.

:::

::: Another agent

The three questions and the stop-rules below are the same for any agent. Only the install step differs: if your agent supports MCP servers, its docs show how to add one by URL (a command or a settings file). Use the publisher's own URL from their docs.

:::

### Three stop-rules

- **One door at a time.** Use it a week before hanging another.
- **Prefer remote** (added by URL). It runs on their machine; a local server runs on yours, as you.
- **Name the publisher, or don't open it.** A registry verifies the publisher's namespace, not its code.

**Not sure which one you need?** Say what you want your agent to do, and this writes a prompt that makes your agent run the three questions above and tell you. Paste it into your agent.

```text
I want my agent to be able to do this: ‹goal›
It would touch: ‹touches?›
Tools I already use for it: ‹tools?›

Help me decide whether this should be a command-line tool, a Skill, or an MCP server (a "door"). Ask in this order and stop at the first yes:
1. Does a command-line tool already do this (git, gh, ffmpeg, curl, docker, aws)? If so, use the CLI and tell me what to add to ‹map›.
2. Is it how I do things: a procedure, a format, a house style? If so, write a Skill, or a plain procedure file if my agent has no skills.
3. Does it need a service with no command-line tool, or live state (Notion, Linear, Sentry, a database behind a login)? Only then is it a door.
Say which question gave the first yes, and why.
If it is a door: name the publisher, prefer a remote server added by its URL, tell me what access it will get, and check the setup against the publisher's own docs. Hang one door at a time.

‹pace›
```

Replace each ‹…› in the prompt above:

- ‹goal›: What do you want your agent to be able to do? For example: Check my open tickets in Linear every morning and summarise them.
- ‹touches›: What would it touch? (optional). For example: my team Linear workspace, read only. Leave out its line if empty.
- ‹tools›: Tools you already use for this (optional). For example: the Linear website, gh. Leave out its line if empty.
- ‹pace› (What happens after it decides?): one of:
  - Just recommend: Recommend only, and wait for my yes before you install or change anything.
  - Recommend, then set it up with me: Recommend, then once I say yes walk me through setting it up, one approval at a time.
- ‹map›: CLAUDE.md if you use Claude; AGENTS.md for Codex and other agents.

::: At work

**At work:** many doors sign in to a service as you, so ask before adding one that touches company data (CRM, tickets, customer records). Check your employer's rules first, since some keep an approved list. Stop-rule 3 matters most here: write down who publishes the server before you connect it.

:::

::: I already code

**I already code:** the card's title has a *Script* in it. If there's no CLI but there is an API, a short script in your repo that the agent runs is often a better fit than a door: you can read it, review it and version it like any other code. Reach for a door when you need live state or sign-in you don't want to build yourself.

:::

## Sources

- https://code.claude.com/docs/en/skills
- https://code.claude.com/docs/en/mcp
- https://modelcontextprotocol.io/registry/about
- https://developers.notion.com/docs/mcp
- https://linear.app/docs/mcp
- https://mcp.sentry.dev/
- https://git-scm.com/docs
- https://cli.github.com/manual/
- https://ffmpeg.org/ffmpeg.html
- https://curl.se/docs/manpage.html
- https://docs.docker.com/reference/cli/docker/
- https://docs.aws.amazon.com/cli/
