Serveurs MCP au-delà des bases : bonnes pratiq…
summary
Shows concrete failures and fixes when putting legacy APIs behind an MCP: a 310-operation API had 267 endpoints without usable summaries; naive slash query-only wrappers let LLMs run DROP-like operations (observed accidental DB deletions ≈1/50 runs). Reworking to search+execute (Clever: 900→10→3 functions) cuts context from ~1,000,000 tokens to ~1,000 and improves accuracy. Practical checklist: intent-based endpoints, explicit contracts, authN/authZ, rate limits, token-efficient formats, observability and tests; mark destructive ops as prepare/confirm with backups.
AI-written summary · about
chapters (10)
- 0:00Introduction and context
- 3:22Risks of LLMs accessing APIs
- 10:59API design for LLMs vs humans
- 18:40Semantic gaps in legacy APIs
- 23:02Migrating legacy APIs for LLMs
- 28:07Wrapping simple API features
- 34:30Intent-based API redesign
- 41:44Real-world API redesign examples
- 44:40Broader impact beyond LLMs
- 46:37Q&A and closing remarks
