MCPhoenix MCP server

MCPhoenix MCP server

mcpheonix•byjmanhype

A Phoenix-based MCP server in Elixir that exposes SSE and JSON-RPC endpoints for MCP clients and manages child MCP servers as supervised processes.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Accepts MCP JSON-RPC requests at POST /mcp/rpc and streams events to clients over SSE at GET /mcp/stream.
  • •Manages multiple child MCP servers, including Flux image generation and Dart task management, as supervised processes started from a JSON config at boot.
  • •Routes tool calls to the appropriate child server over stdio.
  • •Starts configured child servers under OTP supervision and restarts them on failure.

BEST FOR

  • •Elixir developers who want an MCP server built on the Phoenix framework.
  • •Setups that need to aggregate tool access from multiple child MCP servers under one JSON-RPC endpoint.

ABOUT MCPHEONIX

MCPhoenix MCP server is cataloged as an MCP server attributed to jmanhype. A Phoenix-based MCP server in Elixir that exposes SSE and JSON-RPC endpoints for MCP clients and manages child MCP servers as supervised processes. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCPhoenix MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transport does the server use?

It uses HTTP with both Server-Sent Events and JSON-RPC.

How are child MCP servers configured?

Child servers are defined in priv/config/mcp_servers.json and started automatically at boot.

Does the MCP endpoint require authentication?

No; the README lists that there is no authentication on the MCP endpoints.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7da0e01d4a2d · 采集于 2026-11-13 09:03:43 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCPhoenix

MCP server built on Phoenix Framework (Elixir). Exposes Server-Sent Events and JSON-RPC endpoints for MCP clients, with support for managing multiple child MCP servers through JSON configuration.

Note: the module and directory names use the spelling "MCPheonix" (without the 'o') throughout the codebase.

What It Does

Runs a Phoenix web server on port 4001 that:

  1. Accepts MCP JSON-RPC requests at POST /mcp/rpc
  2. Streams events to clients via SSE at GET /mcp/stream
  3. Manages child MCP servers (Flux image generation, Dart task management, etc.) as supervised processes
  4. Routes tool calls to the appropriate child server over stdio

Child servers are defined in priv/config/mcp_servers.json and started automatically at boot.

Status

AreaState
TransportHTTP (SSE + JSON-RPC)
FrameworkPhoenix 1.7, Elixir >= 1.14, Erlang >= 25
Child MCP serversFlux (image generation), Dart (task management)
OTP supervisionYes — child servers are supervised processes
Cloudflare integrationDurable Objects client (experimental, uses custom hex package)
Event systemBroadway + GenStage for processing pipelines
TestsExUnit, 2 test files (Cloudflare DO client, mock websocket)
LicenseMIT

Architecture

lib/
  mcpheonix/
    application.ex         — OTP application, supervision tree
    mcp/
      server.ex            — Core MCP server logic
      server_manager.ex    — Manages child MCP server processes
      server_process.ex    — GenServer wrapping a child stdio process
      supervisor.ex        — Supervisor for MCP server processes
      config.ex            — Reads mcp_servers.json
      connection.ex        — Client connection state
      json_rpc_protocol.ex — JSON-RPC 2.0 parsing
      jsonrpc_client.ex    — Client for calling child servers
      flux_server.ex       — Flux-specific server config
      features/
        resources.ex       — Resource listing
        tools.ex           — Tool listing and dispatch
    events/
      broker.ex            — Pub/sub event broker
    cloud/
      durable_objects/
        client.ex          — Cloudflare Durable Objects HTTP client
    resources/
      message.ex, registry.ex, user.ex — Domain resources (Ash framework)
  mcpheonix_web/
    endpoint.ex            — Phoenix endpoint
    router.ex              — Routes: /mcp/stream (SSE), /mcp/rpc (JSON-RPC)
    controllers/
      mcp_controller.ex    — SSE stream and RPC handler
      page_controller.ex   — Default page
    plugs/
      mcp_rpc_plug.ex      — Parses JSON-RPC body
      raw_body_*.ex        — Raw body reading for RPC

Adding MCP Servers

Edit priv/config/mcp_servers.json:

{
  "mcpServers": {
    "your_server": {
      "command": "/path/to/executable",
      "args": ["arg1"],
      "env": { "API_KEY": "value" },
      "tools": {
        "tool_name": {
          "description": "What it does",
          "parameters": [
            { "name": "param1", "type": "string", "description": "..." }
          ]
        }
      }
    }
  }
}

Servers are started as child processes under OTP supervision and restarted on failure.

Setup

git clone https://github.com/jmanhype/MCPhoenix.git
cd MCPhoenix       # note: the repo name uses correct spelling
mix deps.get
mix phx.server     # starts on port 4001

Requirements

DependencyVersion
Elixir>= 1.14
Erlang/OTP>= 25
Phoenix~> 1.7.0
Node.js>= 18 (for child MCP servers)
Python>= 3.9 (for Flux/Dart integration)

Optional Integrations

IntegrationWhat's Needed
Flux image generationPython 3.9+, Flux CLI, BFL_API_KEY
Dart task managementNode.js 18+, DART_TOKEN
Cloudflare Durable ObjectsWorker deployment, CLOUDFLARE_WORKER_URL, CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN

MCP Endpoints

EndpointMethodPurpose
/mcp/streamGETSSE stream; returns x-mcp-client-id header
/mcp/rpcPOSTJSON-RPC 2.0; pass x-mcp-client-id header

Key Dependencies

PackageVersionPurpose
phoenix~> 1.7.0Web framework
phoenix_live_view~> 0.19.0LiveView (included but not primary interface)
ash~> 2.9Resource framework
broadway~> 1.0Event processing
gen_stage~> 1.2Event streams
finch~> 0.16HTTP client
mint_web_socket~> 1.0WebSocket support
jason~> 1.4JSON encoding

Limitations

  • The Cloudflare Durable Objects integration depends on a custom GitHub hex package (cloudflare_durable_ex) that may not be publicly available
  • No authentication on the MCP endpoints
  • SSE connections are not persisted across server restarts
  • The Ash framework resources (User, Message, Registry) appear scaffolded but not fully integrated
  • LiveView and LiveDashboard are included but not used for the MCP interface
  • Log files (dev.log, phoenix_server.log) and temporary files are committed to the repo

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCPhoenix MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcpheonix)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools