{"repo":"dbernheisel/phantom_mcp","free":true,"listed":false,"github":"https://github.com/dbernheisel/phantom_mcp","clone":"git clone https://github.com/dbernheisel/phantom_mcp.git","description":"MCP server implemented in Elixir","language":"Elixir","stars":35,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"Phantom MCP MCP (Model Context Protocol) framework for Elixir Plug. This library provides a complete implementation of the MCP server specification with Plug. Installation Add Phantom to your dependencies: Stdio Transport (Local Clients) For local-only clients like Claude Desktop, you can expose your MCP server over stdin/stdout without needing an HTTP server. Add Phantom.Stdio to your supervision tree: For more information about running your MCP server locally with stdio, see [Phantom.Stdio]. Streamable HTTP Transport (Remote Clients) When using with Plug/Phoenix, configure MIME to accept SSE: For Streamable HTTP access to your MCP server, forward a path from your Plug or Phoenix Router to your MCP router. Phoenix Plug.Router Finally, import the formatter settings in your .formatter.exs . Below is using Phoenix's generated example as a starting point. Now the fun begins: it's time to define your MCP router that catalogs all your tools, prompts, and resources. When you're creating your MCP server, make sure you test it with the MCP Inspector or your client of choice. See Phantom.Plug for local testing instructions, or Phantom.Stdio for building an escript for direct stdio clients. First we're define the MCP router: I used the @moduledoc as the same documentation for the client; feel free to separate the instructions from internal documentation. #### Instructions and descriptions are important! {: .neutral} These instructions and descriptions for tools, prompts, and resources ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dbernheisel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dbernheisel/phantom_mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}