MCP Support
Laraskills implements a read-only Model Context Protocol (MCP) server, giving AI coding agents deterministic, local access to Laravel engineering knowledge.
Read-only by design
Every MCP tool is read-only. They query the locally installed intelligence layer and never modify files, configuration, or system state. This makes the integration safe for any AI coding agent or editor.
Read-only principle
All tools query knowledge only. No writes, no mutations, no side effects. Your project stays untouched.
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.
MCP Tools
Five tools expose the full knowledge retrieval pipeline, from context assembly to graph exploration to integrity validation.
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.
Get started with MCP
Configure Laraskills MCP in your AI coding agent or editor in minutes. The server connects to your local knowledge base and is ready to use immediately after installation.
MCP setup guide →