<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif" -->

---
title: Turn your Filament panel into an AI-native dashboard
description: filament-mcp is a Laravel package that exposes Filament admin panel resources as an MCP server, letting AI agents call typed tools like `create_post` or...
canonical: https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Turn your Filament panel into an AI-native dashboard | daily.dev
og:description: filament-mcp is a Laravel package that exposes Filament admin panel resources as an MCP server, letting AI agents call typed tools like `create_post` or...
og:url: https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif
og:image: https://api.daily.dev/og/posts/znOjAlpif.png
og:image:alt: Turn your Filament panel into an AI-native dashboard
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Turn your Filament panel into an AI-native dashboard

**[Mattias Geniar](https://daily.dev/sources/mattiasgeniar)** · 12 min read · 0 upvotes · 0 comments

## Summary

filament-mcp is a Laravel package that exposes Filament admin panel resources as an MCP server, letting AI agents call typed tools like `create_post` or `update_product` directly instead of using slow browser automation. It auto-generates named tools from existing Filament resource forms, enforces the same authorization layers (gates, policies, query scopes, Eloquent `$hidden`), and audits every call. Delete tools are opt-in only. Tokens are user-bound, hashed, and can be self-managed via a panel UI. Requires PHP 8.2+, Laravel 12 or 13, and Filament 5.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ma.ttias.be/filament-mcp>

## Questions this post answers

### What are the requirements to install filament-mcp?

filament-mcp requires PHP 8.2 or higher, Laravel 12 or 13, and Filament 5. Installation is two commands: `composer require mattiasgeniar/filament-mcp` followed by `php artisan migrate`. The migration creates two tables — one for hashed access tokens and one for auditing every tool call. A config file is published automatically on install.

_PHP developers integrating AI agents into Filament panels track packages like this on daily.dev._

### How does filament-mcp handle delete operations and why are they not enabled by default?

Delete tools are never generated by default — they require an explicit opt-in per resource in the config (`'delete' => true`). Even when enabled, the model's Filament policy still runs per record before any deletion proceeds. This design treats destructive operations as a deliberate choice rather than a side effect of exposing a resource, keeping the default configuration safe.

_Teams giving AI agents write access to production data weigh trade-offs like these on daily.dev._

### How does filament-mcp prevent AI agents from accessing fields that are hidden in Eloquent models?

Eloquent `$hidden` and `$visible` settings are enforced before any schema is built, so hidden attributes never appear in tool discovery, reads, writes, search, or sorting — even if the field exists in the Filament form. Writes are driven by the form schema, so agents can only set fields the form exposes. Reads return the union of the infolist and writable form fields.

_Developers scoping AI agent access to sensitive data find security patterns like this on daily.dev._

## Similar posts on daily.dev

- [Filament Panel Installation and Resources](https://daily.dev/posts/filament-panel-installation-and-resources-wtriyuxmj) · Larablog · 0 upvotes · 0 comments
- [The Easiest and Fastest Way to Build MCP and Claude Apps](https://daily.dev/posts/the-easiest-and-fastest-way-to-build-mcp-and-claude-apps-utnp1wvvn) · Laravel · 13 upvotes · 1 comments
- [Reusing your Laravel MCP tools in the Laravel AI SDK](https://daily.dev/posts/reusing-your-laravel-mcp-tools-in-the-laravel-ai-sdk-mfjaemkmb) · FREEK.DEV · 2 upvotes · 0 comments
- [Set Up Two Filament Panels](https://daily.dev/posts/set-up-two-filament-panels-ff9bipygj) · Larablog · 0 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#mcp](https://daily.dev/tags/mcp)

[View this post on daily.dev](https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Turn your Filament panel into an AI-native dashboard","url":"https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif"},"datePublished":"2026-08-11T08:51:45.979Z","dateModified":"2026-08-11T08:55:28.735Z","description":"filament-mcp is a Laravel package that exposes Filament admin panel resources as an MCP server, letting AI agents call typed tools like `create_post` or...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd5686aaf32c2043cb9f766b2b552979?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd5686aaf32c2043cb9f766b2b552979?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Mattias Geniar","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Mattias Geniar","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/mattiasgeniar"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,php,laravel,mcp","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Mattias Geniar","item":"https://daily.dev/sources/mattiasgeniar"},{"@type":"ListItem","position":3,"name":"Turn your Filament panel into an AI-native dashboard"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/turn-your-filament-panel-into-an-ai-native-dashboard-znojalpif#faq","mainEntity":[{"@type":"Question","name":"What are the requirements to install filament-mcp?","acceptedAnswer":{"@type":"Answer","text":"filament-mcp requires PHP 8.2 or higher, Laravel 12 or 13, and Filament 5. Installation is two commands: `composer require mattiasgeniar/filament-mcp` followed by `php artisan migrate`. The migration creates two tables — one for hashed access tokens and one for auditing every tool call. A config file is published automatically on install. PHP developers integrating AI agents into Filament panels track packages like this on daily.dev."}},{"@type":"Question","name":"How does filament-mcp handle delete operations and why are they not enabled by default?","acceptedAnswer":{"@type":"Answer","text":"Delete tools are never generated by default — they require an explicit opt-in per resource in the config (`'delete' => true`). Even when enabled, the model's Filament policy still runs per record before any deletion proceeds. This design treats destructive operations as a deliberate choice rather than a side effect of exposing a resource, keeping the default configuration safe. Teams giving AI agents write access to production data weigh trade-offs like these on daily.dev."}},{"@type":"Question","name":"How does filament-mcp prevent AI agents from accessing fields that are hidden in Eloquent models?","acceptedAnswer":{"@type":"Answer","text":"Eloquent `$hidden` and `$visible` settings are enforced before any schema is built, so hidden attributes never appear in tool discovery, reads, writes, search, or sorting — even if the field exists in the Filament form. Writes are driven by the form schema, so agents can only set fields the form exposes. Reads return the union of the infolist and writable form fields. Developers scoping AI agent access to sensitive data find security patterns like this on daily.dev."}}]}
```

