Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mcp Server Laravel Package

app-dev-panel/mcp-server

Laravel package that exposes an MCP server for a dev panel, enabling tools/agents to interact with your app’s runtime and development utilities. Aims to streamline debugging and automation by providing a simple server interface you can run locally.

View on GitHub
Deep Wiki
Context7

ADP MCP Server — Model Context Protocol server for AI assistant integration (read-only split from app-dev-panel/app-dev-panel)

Frequently asked questions about Mcp Server
What is the primary use case for app-dev-panel/mcp-server in a Laravel application?
This package lets you embed an MCP server directly in your Laravel app to expose runtime context (like user sessions, database records, or logs) to AI agents or debugging tools. It’s ideal for development workflows where you need controlled access to app state without exposing full APIs.
Does this package support Laravel 10+? What about older versions?
The package is designed for modern Laravel (8+), but compatibility depends on underlying dependencies like PHP’s gRPC or HTTP client. Since it’s abandoned, test thoroughly with your Laravel version—consider forking if you need long-term support.
How do I install and configure MCP server in Laravel?
Run `composer require app-dev-panel/mcp-server`, then register the service provider in `config/app.php`. Configuration is minimal—define MCP endpoints in `config/mcp-server.php` and bind custom handlers for your dev tools or AI agents.
Can I extend MCP server to add custom tools or actions?
Yes, the package is pluggable. Create custom MCP handlers by implementing the `McpHandler` interface and register them in the service container. Each handler can expose specific Laravel data (e.g., Eloquent models, logs) to the MCP server.
Is MCP server suitable for production, or just development?
This is primarily a dev tool—it’s lightweight and isolated for debugging or AI agent integration during development. For production, you’d need to pair it with authentication, rate limiting, and monitoring, which aren’t built-in.
What Laravel versions does this package officially support?
The package lacks explicit version documentation, but it targets Laravel 8+. Since it’s abandoned, assume compatibility with PHP 8.0+ and test against your Laravel version. Avoid using it in critical projects without validation.
How does MCP server handle authentication for secure access?
Authentication isn’t baked into the package—you’ll need to implement it yourself (e.g., API tokens, IP whitelisting). Since MCP is read-only, focus on securing the server’s endpoints via Laravel middleware or a reverse proxy.
Are there alternatives to MCP server for Laravel AI integration?
For Laravel, consider REST APIs with JSON payloads (simpler) or dedicated AI toolkits like LangChain PHP. If you need binary protocols, explore gRPC-PHP libraries or REST proxies. This package is niche—evaluate if MCP’s read-only model fits your workflow.
How do I test MCP server in a Laravel application?
Mock the MCP server’s endpoints in PHPUnit using HTTP clients (Guzzle) or gRPC stubs. Test handlers by verifying they return expected Laravel data (e.g., Eloquent models) in MCP-compatible format. Since it’s a server component, focus on integration tests.
What happens if the MCP server crashes or becomes unavailable?
The package doesn’t include failover logic. Handle disconnections gracefully by implementing retries (e.g., Laravel’s `retry` helper) or caching responses (Redis). For production, consider a health check endpoint or circuit breaker pattern.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky