MCP Support
Laraskills provides read-only Model Context Protocol (MCP) support, allowing AI coding agents to retrieve Laravel engineering knowledge deterministically from your local environment.
Read-only principle
All MCP tools are read-only. They query the locally installed intelligence layer and never modify files, configuration, or system state. This keeps the integration safe for any AI coding agent or editor.
Deterministic local retrieval
Retrieval runs entirely on your machine using the installed knowledge base. No external API calls, no data leaves your environment, and results are reproducible for the same input.
MCP Tools
retrieve_context_bundleRead-onlyReturn a context bundle for a Laravel engineering task. Accepts a task description and optional parameters for depth, budget, and domain filtering.
search_eccRead-onlySearch the knowledge unit catalog. Returns ranked results with scoring signals and source paths.
get_knowledge_unitRead-onlyInspect a single knowledge unit by ID. Shows metadata, content summary, and artifact references.
get_graph_contextRead-onlyReturn prerequisites and related topics for a knowledge unit. Supports configurable depth and count limits.
validate_eccRead-onlyValidate the structural integrity of the intelligence layer. Returns KU count, edge counts, and cycle information.