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_bundleReturn the smallest useful LaraSkills context bundle for a Laravel engineering task.
in task: string, scope?: compact | standard | deep
out context_bundle: object
search_eccSearch the LaraSkills knowledge unit catalog with ranked deterministic results.
in query: string, limit?: number
out ranked_units: array
get_knowledge_unitInspect a single canonical knowledge unit by ID with bounded content.
in unit_id: string
out knowledge_unit: object
get_graph_contextReturn prerequisites, dependencies, and related topics for a knowledge unit.
in unit_id: string, depth?: number
out graph_context: object
validate_eccValidate the structural integrity of the LaraSkills intelligence layer.
in none
out validation_report: object
Connection & setup
The Laraskills MCP server connects to your local knowledge base immediately after installation. It operates in read-only mode over local transport, exposing all 5 tools. No network calls, no data leaves your machine, and no configuration is needed beyond adding the MCP server entry to your AI coding agent.