MCPhoenix

A simplified implementation of the Model Context Protocol (MCP) server using Elixir's Phoenix Framework.

GitHub Stars

64

User Rating

Not Rated

Favorites

0

Views

21

Forks

5

Issues

0

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Elixir: 1.14 or higher
Erlang: 25 or higher
Phoenix: 1.7.0 or higher
Python: 3.9+ (for Flux and Dart integration)
Node.js: 18+ (for Dart MCP server)
Cloudflare account (for Durable Objects integration)

Installation Steps

1. Clone Repository

bash
git clone https://github.com/jmanhype/MCPhoenix.git
cd MCPhoenix

2. Install Dependencies

bash
mix deps.get

3. Configure Cloudflare Integration

- Create a Cloudflare Worker using the template in cloudflare/durable-objects-worker.js - Deploy it to your Cloudflare account - Set the environment variables: - CLOUDFLARE_WORKER_URL: URL of your deployed worker - CLOUDFLARE_ACCOUNT_ID: Your Cloudflare account ID - CLOUDFLARE_API_TOKEN: API token with Workers and DO permissions

4. Configure Flux Integration (if using image generation)

- Set up the Flux CLI environment as described in the [Flux Integration](docs/flux_integration.md) documentation.

Additional Resources