laravel-mcp-connect
Laravel SDK for the Vinkius MCP Catalog — discover, activate, and execute 3,400+ governed MCP servers. Fluent Facade, typed DTOs, event-driven observability, and zero local tool implementations. PHP 8.2+, Laravel 11/12.
Install / Use
claude mcp add vinkius-labs -- npx -y github:vinkius-labs/laravel-mcp-connectIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of laravel-mcp-connect
laravel-mcp-connect scores 77/100 on our quality scale, 812th of 939 AI & Machine Learning skills we index.
Its MCP Server is 8.0 KB long, well organised into 22 sections with 15 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 6 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-08-12 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 90/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
laravel-mcp-connect compared with similar skills
All 4 of these similar skills score higher than laravel-mcp-connect; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| laravel-mcp-connect (this skill)by vinkius-labs | 77 | 3 | 6mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 106.6k | 5d ago | CLAUDE.md |
| claude-memby thedotmack | 100 | 105.3k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 89.0k | 4d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install laravel-mcp-connect?
- Run
claude mcp add vinkius-labs -- npx -y github:vinkius-labs/laravel-mcp-connect. The install tabs above show the steps for each supported agent. - Which AI agents does laravel-mcp-connect work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is laravel-mcp-connect safe to use?
- It is Apache-2.0-licensed and scores 90/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is laravel-mcp-connect still maintained?
- The repository was last updated about 6 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubLaravel MCP Connect
Laravel SDK for the Vinkius MCP Catalog — discover, activate, and execute 3,400+ governed MCP servers from any Laravel application.
What is this?
laravel-mcp-connect is the official Laravel SDK for the Vinkius MCP Catalog API. It enables any Laravel application to discover, inspect, activate, and execute tools from 3,400+ MCP servers — with zero local tool implementations.
Instead of building tool integrations yourself, your Laravel app delegates tool execution to the Vinkius runtime, which handles authentication, DLP, FinOps, and SSRF protection on every call.
use Vinkius\McpConnect\Facades\Mcp;
// Search the marketplace
$results = Mcp::search('github issues');
// Inspect a tool's schema
$schema = Mcp::inspect('github__create_issue');
// Execute a tool
$result = Mcp::execute('github__create_issue', [
'owner' => 'my-org',
'repo' => 'my-repo',
'title' => 'Bug: Login broken on mobile',
]);
echo $result->text(); // "Issue #42 created successfully"
Getting Started
1. Explore available MCP servers
Visit vinkius.com to browse the full registry of 3,400+ MCP servers — AI, DevOps, data, payments, and more. Each listing shows available tools, prompt examples, and pricing.
2. Create your account
Sign up at cloud.vinkius.com to activate MCP servers, manage subscriptions, and generate API tokens for your projects.
3. Install the package
composer require vinkius/laravel-mcp-connect
Publish the configuration file:
php artisan vendor:publish --tag=mcp-connect-config
4. Configure your token
Generate a catalog token at cloud.vinkius.com/settings/catalog-tokens and add it to your .env:
VINKIUS_CATALOG_TOKEN=vk_c…[redacted]
Note: The catalog token is only required for authenticated operations (tool execution, activation, analytics). Marketplace browsing — listings, categories, featured sections, and search — works without a token.
Usage
Discovery
use Vinkius\McpConnect\Facades\Mcp;
// List all activated servers and their tools (requires token)
$servers = Mcp::tools();
foreach ($servers as $server) {
echo "{$server->title}: " . implode(', ', $server->toolNames());
}
// Search the catalog (requires token)
$results = Mcp::search('stripe payments');
// Browse catalog categories (requires token)
$categories = Mcp::browse();
Marketplace (Public — No Token Required)
// Browse marketplace categories
$categories = Mcp::categories();
foreach ($categories as $cat) {
echo "{$cat->label}: {$cat->listingCount} apps";
}
// Fetch paginated listings with filters
$response = Mcp::listings(['category' => 'ai', 'page' => 2, 'sort' => 'popular']);
foreach ($response['data'] as $listing) {
echo "{$listing->title} — {$listing->priceFormatted()}";
}
// Get full detail for a single listing
$listing = Mcp::listing('github-mcp');
echo "{$listing->title}: " . implode(', ', $listing->toolNames());
// Featured sections for discovery carousels
$featured = Mcp::featured();
// Search marketplace listings
$results = Mcp::searchListings('payment processing');
Inspection
// Always inspect before executing — know the exact parameters
$schema = Mcp::inspect('github__create_issue');
echo $schema->description;
// "Create a new issue in a GitHub repository"
print_r($schema->inputSchema);
// ["type" => "object", "properties" => [...], "required" => [...]]
Execution
$result = Mcp::execute('github__create_issue', [
'owner' => 'my-org',
'repo' => 'my-repo',
'title' => 'Automated issue from Laravel',
'body' => 'Created via MCP Connect.',
]);
if ($result->successful()) {
$data = $result->json(); // Parsed JSON from first content block
} else {
$error = $result->text(); // Error message
}
Lifecycle Management
// Activate a marketplace listing
$activation = Mcp::activate('listing-uuid');
if ($activation->requiresCheckout()) {
// Redirect user to checkout for paid listings
return redirect($activation->checkoutUrl);
}
// Deactivate a subscription
Mcp::deactivate('subscription-uuid');
Analytics
$analytics = Mcp::analytics();
foreach ($analytics as $sub) {
echo "{$sub->title}: {$sub->requestCount} requests ({$sub->status})";
}
Health Check
if (Mcp::ping()) {
echo 'Vinkius API is reachable!';
}
Artisan Commands
| Command | Description |
|---|---|
| php artisan mcp:tools | List all activated servers and tools |
| php artisan mcp:search "query" | Search the marketplace |
| php artisan mcp:inspect tool_name | View full tool schema |
| php artisan mcp:execute tool_name --arg="key:value" | Execute a tool |
| php artisan mcp:browse | Browse marketplace categories |
| php artisan mcp:analytics | View subscription usage stats |
Events
The package dispatches events on every operation for observability:
| Event | When |
|---|---|
| ToolExecuted | After successful tool execution |
| ToolExecutionFailed | On execution error |
| ServerActivated | After server activation |
| ServerDeactivated | After server deactivation |
use Vinkius\McpConnect\Events\ToolExecuted;
Event::listen(ToolExecuted::class, function (ToolExecuted $event) {
Log::info("MCP tool executed: {$event->toolName}", [
'duration_ms' => $event->durationMs,
'is_error' => $event->result->isError,
]);
});
Error Handling
All exceptions extend McpException for easy catching:
use Vinkius\McpConnect\Exceptions\McpException;
use Vinkius\McpConnect\Exceptions\AuthenticationException;
use Vinkius\McpConnect\Exceptions\ExecutionException;
try {
$result = Mcp::execute('tool__name', $args);
} catch (AuthenticationException $e) {
// Token invalid/expired — non-retryable
} catch (ExecutionException $e) {
// Tool returned an error
$errorDetail = $e->getResult()->text();
} catch (McpException $e) {
// Any MCP-related error
}
Configuration
// config/mcp-connect.php
return [
'base_url' => env('VINKIUS_API_URL', 'https://api.vinkius.com'),
'token' => env('VINKIUS_CATALOG_TOKEN'), // optional for marketplace
'timeout' => 30,
'connect_timeout' => 10,
'retry' => ['times' => 2, 'sleep' => 500],
'cache' => [
'enabled' => true,
'store' => null, // null = default cache store
'prefix' => 'mcp_connect',
'ttl' => [
// Catalog (authenticated)
'tools' => 60,
'schema' => 300,
'search' => 120,
'browse' => 600,
'analytics' => 60,
// Marketplace (public)
'listings' => 120,
'featured' => 600,
],
],
];
Architecture
McpConnect (Service)
├── McpClient (HTTP Transport)
│ └── Vinkius Catalog API
├── Cache (Read-through, per-endpoint TTLs)
├── DTOs (Readonly, immutable response mapping)
├── Events (Fire-and-forget observability)
└── Exceptions (Typed, structured error handling)
- Zero local tool implementations — all execution routes through the Vinkius runtime
- Type-safe — every response is a
readonlyDTO with IDE autocompletion - Cacheable — granular cache with per-endpoint TTLs
- Observable — events on every operation
- Testable — bind
McpConnectInterfaceto a mock in tests
Requirements
- PHP 8.2+
- Laravel 11 or 12
License
Apache 2.0 — see LICENSE
<p align="center"> Built by <a href="https://vinkius.com">Vinkius</a> </p>
Related Skills
Agent-Reach
106.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
claude-mem
105.3kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
89.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.3kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
