What problem does it solve?
This Skill solves the problem of wiring a Phoenix application to an MCP (Model Context Protocol) server so AI clients can securely call your app’s tools instead of relying on ad-hoc integrations.
Core Features & Use Cases
- MCP server bootstrapping: Sets up an Anubis-based MCP server with Streamable HTTP transport and component tool registration.
- Bearer-token API key security: Enforces authentication and scope-based authorization for tool calls, designed to leverage existing API key primitives.
- Claude Code compatibility session handling: Adds a session store that supports clients that may skip the standard MCP initialization handshake, plus pre-initialized sessions for unknown session IDs.
- First example tool components: Provides a working component pattern for list/get/create tools with pagination and optional search.
- Production-safe wiring: Ensures MCP supervisor, route forwarding, and application startup are configured outside dev-only guards.
Quick Start
Ask an AI to bootstrap MCP in your Phoenix app by adding the bootstrap-mcp skill steps, then verify the /mcp endpoint works using an Authorization: Bearer header with an API key that has the required scopes.