strapi-mcp-capabilities
Skill by strapi
Teaches Strapi 5 plugin developers how to create custom MCP tools, prompts and resources through the strapi.ai.mcp service. Useful for extending the Strapi MCP server so AI clients can trigger plugin-specific actions.
Install strapi-mcp-capabilities
Built from the published package, never by AI.
git clone --depth 1 https://github.com/strapi/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cms/strapi-mcp-capabilities ~/.claude/skills/strapi-mcp-capabilitiesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install strapi-mcp-capabilities in Claude Code
git clone --depth 1 https://github.com/strapi/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cms/strapi-mcp-capabilities ~/.gemini/antigravity-cli/skills/strapi-mcp-capabilitiesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install strapi-mcp-capabilities in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides developers who build Strapi 5 plugins on adding custom MCP tools, prompts and resources. It covers registering capabilities through the strapi.ai.mcp service, either inline inside register() or by defining them at module scope with ai.mcp.defineTool and registering them later. Each tool needs a name, title, description, output schema and a handler that delegates to a plugin service.
It also explains access control. A tool can require admin permission policies checked with CASL, or use devModeOnly for debug tools that are available when autoReload is on. Permission actions are registered in bootstrap() so tokens can be granted them. The skill includes a folder layout, handler return shapes and a verification checklist that connects a client to the /mcp endpoint. It is aimed at Strapi plugin developers working on Strapi 5.47.0 or later.
Written from the project's SKILL.md and checked against it.
What it can do
- Tool registrationRegisters custom MCP tools inline in register() or via a builder pattern.
- Prompt and resource registrationAdds custom MCP prompts and resources with the same lifecycle and auth rules as tools.
- Access controlProtects tools with CASL policies or limits them to dev mode with devModeOnly.
- Schema validationDefines Zod input and output schemas so structured results match the declared output.
- Permission registrationRegisters permission actions in bootstrap() so tokens can be granted tool access.
- Verification stepsChecks that the MCP endpoint is enabled and the tool returns the expected structured content.
What you need
- Strapi 5.47.0 or later
- MCP server enabled with mcp: { enabled: true } in config/server.ts
- An admin token with the permission required by the tool
Try asking
- How do I add a custom MCP tool to my Strapi 5 plugin?
- Show me how to restrict an MCP tool with a CASL permission policy.
- Write a Strapi MCP tool that returns store KPIs from a plugin service.
Good to know
- Capabilities must be registered in the register() phase, since the list locks when the MCP server starts.
- devModeOnly tools are only available when autoReload is on.
- structuredContent and isError cannot be used together in a handler return.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cms/strapi-mcp-capabilities/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to strapi-mcp-capabilities
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
strapi-mcp-capabilities: common questions
Which Strapi version does this skill need?
The skill states Strapi 5.47.0 or later. It also points to @strapi/types for API types.
How is access controlled for a custom MCP tool?
A tool uses either auth policies, which are CASL checks on a permission action such as plugin::<plugin-id>.<permission>, or devModeOnly for development use.
Where should custom MCP tools be registered?
Only in the register() phase. The capability list is locked once the MCP server starts during bootstrap, and registering later throws an error.
How do I install strapi-mcp-capabilities?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is strapi-mcp-capabilities free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is strapi-mcp-capabilities safe to use?
It scores 53 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to strapi-mcp-capabilities?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
