MCP: give your agent hands
However smart the model is, it only sees what you paste in. MCP fixes that — one standard interface so an agent can query a database, read files, drive a browser or check a ticket queue.
What MCP is
MCP stands for Model Context Protocol — an open standard for how AI applications talk to external tools. The useful analogy is a USB port for AI: build the tool side once to the standard, and every compatible client can plug into it.
Without it, every integration is bespoke. With it, one server works in Claude Code, WorkBuddy, and anything else that speaks MCP.
What it actually solves
A realistic need: "summarise last week's support tickets". Without MCP you export a CSV and paste it. With MCP, the agent queries, paginates and summarises on its own.
| Task | Without MCP | With MCP |
|---|---|---|
| Query a database | Export CSV, upload | Run a read-only query and explain the result |
| Read a web page | Copy the body text | Open it, click, extract |
| Work a repo | Clone locally, re-upload | Read issues, branch, open a PR |
| Internal systems | Screenshots and logs | Call the internal API for structured data |
Three roles
| Role | What it is | Example |
|---|---|---|
| Host | The AI application you actually use | WorkBuddy, Claude Code, an MCP-capable editor |
| Client | The component inside the host that speaks to servers | Managed by the host; you rarely touch it |
| Server | Exposes one tool's capabilities over the protocol | Filesystem, database, browser servers |
Two transports dominate: local process (stdio — the host launches a command) and remote service (HTTP — connect to a URL). Local suits files and databases; remote suits internal company services.
Common servers
- Filesystem — read and write within a given folder. Most used, most often misconfigured.
- Database — run SQL. Read-only account, always.
- Browser — open pages, click, screenshot, extract. Useful when a login is required.
- GitHub / GitLab — issues, branches, PRs, CI status.
- Maps — routes, distances, geocoding.
- Email / calendar — read mail, schedule meetings.
Configure one
Configuration is usually a JSON file in your home directory or the project. A filesystem server:
Look at the last argument: that path is the entire world this server can touch. Pointing it at D:/ opens the whole drive.
Remote servers take a URL and headers:
Check the runtime
Most servers need Node or Python. Run npx -v first.
Write minimal permissions
Only the folder you need, only a read-only token. Ask: what is the worst case if this server is misused?
Restart and trust it
Config changes do not apply automatically. Find the server in the app's connector list and approve it once.
Verify with a tiny request
"List the files in this folder." Do not start with a complex task.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Configured but not listed | Not restarted, or not trusted | Restart, then approve in connectors |
| Exits immediately | Wrong command, missing dependency | Run the same command manually in a terminal |
| Connected, no files | Path outside the allowed root | Widen the directory argument (carefully) |
| Timeouts | Network or slow server | Try a local server, or raise the timeout |
| Permission denied | Expired token, missing scope | Rotate credentials, check scopes |