mcp-development

mcp-development is a skill for Claude Code, Codex from coollabsio/coolify. It costs 95 tokens per session (603 once invoked), scanned A, original, Apache-2.0.

A Laravel development guide for MCP, a standard way for AI applications to connect to tools, data, and instructions. It covers creating and registering MCP servers, tools, resources, and prompts.

In plain words
What is it for?
Use it to create or edit Laravel MCP tools, resources, prompts, servers, routes, access rules, OAuth setup, and read-only integrations.
Why use it?
It provides the required Laravel commands, classes, registration points, and validation patterns for exposing capabilities safely. This reduces errors when connecting an AI client to application functionality.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/coollabsio/coolify/mcp-development
Any agent
npx skills add coollabsio/coolify --skill mcp-development
Clone the repo
git clone --depth 1 https://github.com/coollabsio/coolify

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/coollabsio/coolify/mcp-development.svg)](https://agentmods.dev/skills/coollabsio/coolify/mcp-development)
Your own site
<a href="https://agentmods.dev/skills/coollabsio/coolify/mcp-development"><img src="https://agentmods.dev/badge/skills/coollabsio/coolify/mcp-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 603 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00095 $0.00603
Opus 5 $0.00048 $0.00302
Sonnet 5 $0.00019 $0.00121
Haiku 4.5 $0.00010 $0.00060

Measured 4d ago against content hash 1c86cfd465ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/mcp-development/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Development

Documentation

Use search-docs for detailed Laravel MCP patterns and documentation.

Basic Usage

Register MCP servers in routes/ai.php:

use Laravel\Mcp\Facades\Mcp;

Mcp::web();

Creating MCP Primitives

Create MCP tools, resources, prompts, and servers using artisan commands:

php artisan make:mcp-tool ToolName        # Create a tool

php artisan make:mcp-resource ResourceName # Create a resource

php artisan make:mcp-prompt PromptName    # Create a prompt

php artisan make:mcp-server ServerName    # Create a server

After creating primitives, register them in your server's $tools, $resources, or $prompts properties.

Tools

use Laravel\Mcp\Server\Tool;
use Laravel\Mcp\Server\Request;
use Laravel\Mcp\Server\Response;

class MyTool extends Tool
{
    public function handle(Request $request): Response
    {
        return new Response(['result' => 'success']);
    }
}

Registering Primitives in a Server

Each MCP server must explicitly declare the tools, resources, and prompts it exposes.

use Laravel\Mcp\Server;

class AppServer extends Server
{
    protected array $tools = [
        \App\Mcp\Tools\MyTool::class,
    ];

    protected array $resources = [
        \App\Mcp\Resources\MyResource::class,
    ];

    protected array $prompts = [
        \App\Mcp\Prompts\MyPrompt::class,
    ];
}

Verification

  1. Check routes/ai.php for proper registration
  2. Test tool via MCP client

Common Pitfalls

  • Running mcp:start command (it hangs waiting for input)
  • Using HTTPS locally with Node-based MCP clients
  • Not using search-docs for the latest MCP documentation
  • Not registering MCP server routes in routes/ai.php
  • Do not register ai.php in bootstrap.php; it is registered automatically.
  • OAuth registration supports custom URI schemes (e.g., cursor://, vscode://) for native desktop clients via mcp.custom_schemes config

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 97 lines · 95 tokens per session scan A 1c86cfd465ec

Subscribe to this mod's changes

mcp-development is a skill published in the GitHub repository coollabsio/coolify (61,297 stars, last pushed 2d ago), licensed Apache-2.0. It adds 95 tokens to every session and 603 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

flyenv-module-boundaries

Use when adding or changing a FlyEnv module, renderer IPC flow, service lifecycle, background operation, download, installation, web panel, or external process.

xpf0000/FlyEnv · 37 tokens

ai-article

AI 类文章撰写。三种风格:安装教程、产品评测、面试八股。覆盖 AI Coding 工具实测、AI 开发框架应用、大模型测评、Agent/Skills/RAG 技术讲解。.

itwanger/toBeBetterJavaer · 57 tokens

job-article

根据指定选题,按照二哥的写作风格完成求职/校招/面试/职场类文章撰写。专注于秋招春招建议、公司薪资爆料+学习路线、面经八股解析、求职心态与球友故事分享。触发关键词:写一篇求职文章、秋招、春招、校招、offer、面经、薪资、面试、八股、简历、求职建议、球友故事、学习路线等。.

itwanger/toBeBetterJavaer · 118 tokens

video-cover-image

Generate matched 3:4, 16:9, and 4:3 short-video cover images from toBeBetterJavaer video scripts or AI/Java technical topics. Use when the user asks for 视频封面, 封面图, 横版和竖版, 小红书/抖音/B站/快手封面, pure-text covers with 白色大字+黄色小字, reference-image-matched covers, or wants a repeatable cover workflow for Markdown scripts under…

itwanger/toBeBetterJavaer · 113 tokens

video-script

为短视频/口播生成或优化脚本。适用于 AI 技术科普、Agent/Skill/RAG 等技术概念讲解、工具实测、热点拆解类短视频。支持两种模式:给定主题从零产出口播稿、对已有口播稿进行优化。触发关键词包括:口播、口播稿、视频脚本、短视频文案、录视频、拍视频、video script。.

itwanger/toBeBetterJavaer · 99 tokens

zsxq-shared

知识星球 CLI 共享基础:认证登录(auth login/logout/status)、配置诊断(doctor/config show)、通用 API 调用规范(api list/api call/api raw 调用底层接口或原始 HTTP 接口)、星球与主题分享链接拼接(电脑端 / 手机端)、写入与删除操作的安全规则、常见错误码处理(401 token 过期、缺参数等)。当用户首次登录、退出登录、查看认证状态、调用 zsxq-cli api raw / api call、需要拼接知识星球分享链接,或遇到认证或 HTTP 错误时使用。.

itwanger/toBeBetterJavaer · 139 tokens