MCP · Lesson 113 of 120
Project: Hardening
Security pass.
Before shipping, let's run our security checklist over the project. What's already covered, and what's left to do?

- Security checklist
- What's covered
- What's left
What we already have
Order numbers are validated by the schema. SQL uses parameters. Cancelling needs the customer's yes. And the instructions tell models that results are data.
| Check | In the project |
|---|---|
| Validate arguments | OrderId with Field |
| Safe SQL | ? parameters |
| Confirm risky actions | elicitation on cancel |
| Injection | results are data |
Still to do
For the shared HTTP version, add O Auth, so only staff can connect. Add a rate limit, and an audit log of every cancel. And check that each user may see the order they ask about.
| key | value |
|---|---|
| HTTP | OAuth tokens |
| Abuse | rate limit |
| Audit | log every cancel |
| Ownership | check the customer |
Summary
The project already validates, confirms, and uses safe SQL. Add auth, limits, and auditing before going public. Next, a review.
Key takeaways- Covered
- Auth next
- Audit next
Next up: Project Review — what we built