agent-mcp-cli

agent-mcp-cli is a skill for Claude Code, Codex from anilcancakir/laravel-agent-mcp. It costs 70 tokens per session (733 once invoked), scanned A, original, MIT.

A command-line skill for calling Laravel Agent MCP's read-only tools without registering an MCP server. Laravel is a PHP web framework, and MCP lets AI agents call defined external tools.

In plain words
What is it for?
Use it to list available tools, inspect their input schemas, and call them with JSON through Laravel's Artisan command line.
Why use it?
It provides a practical option for one-off calls, scripts, and continuous-integration jobs when a persistent server connection is unnecessary.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list available tools, inspect their input schemas, and call them with JSON through Laravel's Artisan command line.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli
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.

Any agent
npx skills add anilcancakir/laravel-agent-mcp --skill agent-mcp-cli
Clone the repo
git clone --depth 1 https://github.com/anilcancakir/laravel-agent-mcp

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 agent-mcp-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli/github.svg)](https://agentmods.dev/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli)
Your own site
<a href="https://agentmods.dev/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-mcp-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/laravel-agent-mcp/agent-mcp-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 733 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00070 $0.00733
Opus 5.5 $0.00028 $0.00293
Sonnet 5.5 $0.00014 $0.00147
Haiku 4.5 $0.00007 $0.00073

Measured 5d ago against content hash b25626eea5a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-mcp-cli 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 5d 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.

resources/boost/skills/agent-mcp-cli/SKILL.md · 38 lines

How it starts

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

Agent MCP CLI

  • The server key AGENT_MCP_KEY lives in .env, which artisan loads, so never export it by hand or pass it on the command line: it would land in shell history.
  • No tool writes to the database, so surface a change you want made instead of attempting a write.
  • Sensitive tools (run_artisan, config_inspect, db_diagnostics, cache_keys) are off by default, and agent-mcp:call refuses to print their result to a terminal without --allow-tty because it would land in scrollback. Piping or redirecting is always allowed.
  • Redaction is best-effort; the real boundary is the read-only database grant and the per-tool enable flags. Never add agent-mcp:* to the run_artisan allowlist, which would let a tool re-invoke the CLI.

The CLI runs the same 14 tools as the HTTP endpoint with the same config flags, audit log and redaction, without registering an MCP server. Use it for one-off calls, scripts and CI; register the server when the need is constant. Examples use php artisan; use the project's form where it differs (for example vendor/bin/sail artisan).

Workflow

  1. php artisan agent-mcp:tools lists the enabled tools (--all adds disabled ones, flagged enabled: false).

  2. php artisan agent-mcp:schema <tool> prints a tool's inputs, so read it instead of guessing arguments.

  3. Call with a JSON object as the positional argument or on STDIN. A tool with a section argument uses its first section when none is given.

    php artisan agent-mcp:call db_query '{"table":"users","query_type":"count"}'
    php artisan agent-mcp:call db_health '{"section":"indexes","table":"orders"}'
    php artisan agent-mcp:call queue_status '{"section":"failed"}'
    php artisan agent-mcp:call routes '{"name":"login"}'
    echo '{"sql":"select count(*) as c from users"}' | php artisan agent-mcp:call db_raw_select
    
  4. Read the result: JSON on stdout (add --raw to skip pretty-printing), diagnostics on stderr, a non-zero exit on a tool error. A capped result carries truncated: true, so narrow the query instead of repeating it.

Read the full file on GitHub · 38 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed · -31 lines · -105 tokens per session b25626eea5a2
  2. 2mo ago First seen · 69 lines · 175 tokens per session scan A 256f43379779

Subscribe to this mod's changes

agent-mcp-cli is a skill published in the GitHub repository anilcancakir/laravel-agent-mcp (4 stars, last pushed 4d ago), licensed MIT. It adds 70 tokens to every session and 733 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

agent-mcp-cli compared with skills from other repositories

agent-mcp-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-mcp-clianilcancakir/laravel-agent-mcpSkill44d agoMITA70Claude Code, Codex
analyzing-browser-forensics-with-hindsightmukul975/Anthropic-Cybersecurity-SkillsSkill36k2mo agoApache-2.0A95Claude Code
analyzing-browser-forensics-with-hindsightxalgorix/xalgorixSkill1.3kyesterdayApache-2.0A53Claude Code, Codex
boutique-best-practicesmergesort/BoutiqueSkill1.1ktodayMITA56Claude Code
boutique-storemergesort/BoutiqueSkill1.1ktodayMITA52Claude Code
boutique-stored-valuesmergesort/BoutiqueSkill1.1ktodayMITA68Claude Code
boutique-swiftuimergesort/BoutiqueSkill1.1ktodayMITA45Claude Code