bootstrap-mcp

Bootstrap a secure MCP server with Streamable HTTP transport inside a Phoenix application.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-mcp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bootstrap-mcp
Source: https://github.com/agoodway/GoodSkills/tree/main/skills/bootstrap-mcp
Command: npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about bootstrap-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an MCP server in a Phoenix application?▼

To set up an MCP server in Phoenix, you bootstrap an Anubis-based MCP server with Streamable HTTP transport, configure an MCP supervisor, and register tool components at compile time for secure AI client invocation.

How do I secure MCP tool calls with Bearer token authorization?▼

Securing MCP tool calls with Bearer token authorization involves adding an authentication plug that enforces scope-based API key checks, requiring an Authorization Bearer header for endpoint access.

Does Phoenix MCP server integration work with Claude Code compatibility?▼

Phoenix MCP server integration supports Claude Code compatibility by using a configured session store that handles clients skipping the MCP initialization handshake and provides pre-initialized sessions for unknown IDs.

What dependencies do I need to enable MCP tools in Phoenix?▼

To enable MCP tools in Phoenix, you need the Anubis MCP dependency, a configured session store, an MCP supervisor with component tools, a Bearer token auth plug, and production-safe routing.

Can I use HTTP Streamable transport for authenticated MCP operations?▼

You can use HTTP Streamable transport for authenticated MCP operations by configuring the Anubis-based MCP server with a Bearer token auth plug to enforce scope-restricted tool invocations.

How do I register tool components in a Phoenix MCP server?▼

You register tool components in a Phoenix MCP server at compile time, using a working component pattern for list, get, and create tools that includes pagination and optional search features.