AI Hints
Home›MCP Tutorial›Project: Ship It
MCP · Lesson 113 of 120

Project: Hardening

Security pass.

⏱ 2 min read▶ Video at 1:40:28🎓 Free
Watch this lesson in the MCP courseWatch on YouTube ↗Full MCP course

Before shipping, let's run our security checklist over the project. What's already covered, and what's left to do?

Project: Hardening
From the video: Project: Hardening
  • 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.

CheckIn the project
Validate argumentsOrderId with Field
Safe SQL? parameters
Confirm risky actionselicitation on cancel
Injectionresults 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.

keyvalue
HTTPOAuth tokens
Abuserate limit
Auditlog every cancel
Ownershipcheck 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