MCP · Lesson 99 of 120
Security Checklist
Before you ship.
Before you ship a server, run through a short checklist. It catches most problems, in a few minutes.

- Before shipping
- A short checklist
- Catch problems
The checklist
Validate every argument. Give the least access. Keep secrets in the environment. Confirm risky actions with a human. Require tokens for HTTP servers. And log every call.
| Check | Done by |
|---|---|
| Validate arguments | schema + code |
| Least access | read-only, one folder |
| Secrets | environment only |
| Risky actions | elicitation |
| HTTP auth | OAuth tokens |
| Audit | log every call |
For hosts and users
Install only trusted servers. Read their tool descriptions. Approve each risky call. And remove servers you no longer use.
| key | value |
|---|---|
| Install | trusted only |
| Read | descriptions |
| Approve | risky calls |
| Remove | unused servers |
Summary
Run the checklist before every release. Next, rate limits and abuse.
Key takeaways- Validate
- Least access
- Log calls
Next up: Rate Limits and Abuse — protect your server