MCP Recipes
Use MCP instead of pasted context when the work needs grounded FPF context, exact IDs, or deterministic retrieval provenance.
What this page is
This is the agent and tool-use guide for fpf-memory's MCP surface. It explains how to retrieve compact grounded FPF context instead of pasting the full specification into a conversation.
Methodology
Check runtime health first, find the right doorway with search or query tools, read exact generated docs only when wording matters, and keep answers cited to route or pattern IDs. Hosted MCP exposes the public work surface; local full mode is for deeper inspection and provenance.
Hosted endpoint:
Check health
Ask the client to call:
Continue only if the runtime reports a fresh or loadable index.
Find the right doorway
Prompt:
Useful tools:
search_fpfquery_fpf_specask_fpf
Read exact source text
Prompt:
Useful tool:
read_fpf_doc
Produce a compact work packet
Prompt:
Dogfood a product role
Prompt:
Good personas to rotate:
- new adopter
- project lead
- PR/code reviewer
- spec writer
- agent integrator
- product maintainer
Review a PR without full-spec paste
Prompt:
Good retrieval shape:
- For ordinary code review, start from the local diff, CI evidence, and the PR/code review packet rather than forcing a route.
- Use
route:writing-or-reviewing-patternsonly when the PR changes FPF pattern or specification text. - Add
route:boundary-burdenonly when the change touches an API, contract, workflow, protocol, CI gate, or deploy promise. - Read exact pattern pages only when a finding depends on the wording.
- Keep the verdict tied to evidence: merge, fix first, or split scope.
Review work with FPF
Prompt:
Keep context bounded
Rules:
- Retrieve routes before individual patterns when the work type is unclear.
- Read exact pattern pages only when a decision depends on their wording.
- Prefer compact answers for active work and proof mode for audit.
- Do not paste the full FPF into a prompt; use MCP calls as the context boundary.