What is the Lara Dashboard MCP server?
Lara Dashboard ships a built-in MCP server inside its Laravel admin panel. Enable it from Settings, MCP, generate a scoped agent token, and connect an MCP-compatible AI coding agent over Streamable HTTP. The agent can then create posts, review CRM leads, check form submissions, send email, search docs, and clear cache.
Lara Dashboard is an open-source Laravel admin panel, headless CMS and modular starter kit with users, roles, permissions, content, email and a REST API. It ships a built-in MCP server so an AI coding agent can operate an installed site, not only write code about it.
The server runs on your own Lara Dashboard install at a /mcp endpoint once turned on in Settings. There is no separate package to run; enabling it and issuing a token is all the server needs.
What it changes in your workflow
- An agent can draft and publish posts or pages, and generate SEO meta, instead of you editing each field by hand.
- CRM leads, deals and tickets can be triaged from a chat prompt when the CRM module is active.
- Form submissions get reviewed and marked viewed without opening the admin list first.
- Routine jobs such as a daily briefing, a cache clear or checking recent log output can be asked for in plain language.
Where it runs
| Lara Dashboard MCP server | |
|---|---|
| Where it runs | On your own server, inside the Lara Dashboard application you already host |
| Transport | Streamable HTTP, at a /mcp path on your site's own domain |
| Account or key | A dedicated MCP agent token generated from Settings, MCP; regular API login tokens do not work |
| Config needed | MCP turned on in Settings, plus a client config entry with your site URL and the token as a bearer header |
Who it is for
Best for
- Laravel teams running Lara Dashboard who want an agent to publish content, triage forms and run upkeep tasks on the live site.
- Site owners who want scoped, token-based agent access instead of handing over full admin credentials.
- Developers already using the CRUD generator and modules who want installed modules to expose their own agent tools.
Not for
- Reading a live canvas before any code gets written. When the task is pulling context straight out of Figma files, Figma MCP reaches that canvas instead of a Laravel site.
- Pulling ready-made UI components into a separate front end. When the job is browsing component registries instead of a CMS, the shadcn MCP server is the closer fit.
- Managing a separate self-hosted tool's own shapes and frames. When the target is a self-hosted Penpot instance rather than a Laravel CMS, the Penpot MCP server handles that reading and editing work.
Connect Lara Dashboard MCP Server: Manage Your Laravel CMS to your AI client
git clone https://github.com/laradashboard/laradashboard.gitInstall and run Lara Dashboard
Clone the repo, run composer install and npm install, copy .env.example to .env, run php artisan key:generate and php artisan migrate:fresh --seed, then start it with composer run dev.
Enable MCP and generate a token
Open Settings, MCP in the admin panel, turn the server on and save, then click Generate MCP token and copy it. It shows once and differs from a regular API login token.
Add the config to your client
Use the snippet above in your agent client's MCP settings, swapping in your own site URL and the copied token. Settings, MCP includes ready-made JSON for several clients so you can copy instead of typing it.
Ask it something
Try listing recent posts, drafting a new one, or running the daily briefing. The endpoint answers with a 404 until MCP is turned on in settings.
Client configuration
{
"mcpServers": {
"laradashboard": {
"url": "https://your-site.test/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_AGENT_TOKEN"
}
}
}
}Endpoints and ports
https://your-site.test/mcpAnswers 404 until MCP is enabled in SettingsSettings, MCPGenerates a scoped MCP agent token, shown onceLARADASHBOARD_MCP_TOKENAn environment variable you can reference from the client config snippet during local developmentWhat you can do with it
- Built into the admin panelThe MCP server ships inside Lara Dashboard itself, so turning it on in Settings is the only setup step beyond issuing a token.
- Scoped agent tokensSettings, MCP generates a dedicated agent token with chosen abilities, kept separate from regular API login tokens.
- Module tool registryInstalled modules register their own tools and briefing providers through the McpFilterHook registry, so CRM or Forms modules extend what an agent can do.
- Content and SEO actionsAn agent can list, create and update posts and pages, and generate SEO meta fields for them.
- Daily operationsDaily briefings, cache clearing and log listing let an agent handle routine upkeep without a human opening the admin panel.
- Media handlingA dedicated upload tool sends media into the library, with signed checks and a size cap on base64 uploads.
- Ready-made client configSettings, MCP includes JSON an agent client can use directly, rather than requiring hand-written configuration.
Tools it exposes
UploadMediaTool
Uploads images and other media into the library from an agent, with base64 uploads capped near 100KB and signed upload checks.
Content tools
List, create and update posts and pages, and generate SEO meta for them.
CRM tools
Work with CRM contacts, deals, tickets and activities when the CRM module is installed.
Forms tools
Review new form submissions and mark them as viewed when the Forms module is installed.
Email tools
List templates and send mail to users or contacts.
Operations tools
Run a daily briefing, clear the application cache, and list storage log output.
Docs tools
Search and read Lara Dashboard guides when the DocForge module is installed.
Frequently asked questions
What is the Lara Dashboard MCP server?
It is a built-in Model Context Protocol server inside the Lara Dashboard Laravel admin panel. It lets an AI coding agent manage a running site through scoped tools covering content, CRM, forms, email, cache and logs, instead of only generating code against the project.
How do I set up the Lara Dashboard MCP server?
Open Settings, MCP in the admin panel, turn the server on, and save. Generate an MCP agent token and copy it, since it is shown only once. Add the server's URL and a bearer header with that token to your agent client's MCP configuration, then restart the client.
Which AI coding agents work with Lara Dashboard's MCP server?
The project documents setup for Cursor, Claude Desktop and Claude Code, with ready-made configuration JSON for each inside Settings, MCP. Any other client that supports a Streamable HTTP MCP server with a bearer token header should connect the same way.
What can an agent actually do through this MCP server?
It can list, draft and publish posts and pages with generated SEO meta, work with CRM leads and tickets, review form submissions, send templated email, upload media, run a daily briefing, clear the cache and list recent log output, scoped to the token's granted abilities.
Does Lara Dashboard need extra modules for the MCP tools to work?
The core server exposes content, email, cache and log tools without extra modules. CRM tools need the CRM module, Forms tools need the Forms module, and documentation search needs the DocForge module, each installed the same way as other Lara Dashboard modules.
Why does the MCP endpoint return a 404?
The MCP endpoint only answers once the server is turned on from Settings, MCP. A 404 means the toggle is still off, or the request is missing a valid MCP agent token in the Authorization header, which differs from a regular API login token.
Can I use Lara Dashboard's MCP server from a hosted client without exposing my whole admin account?
Yes. The MCP agent token is generated separately from account credentials and scoped to chosen abilities, so an agent reaches only the tools you grant rather than the full admin session.


