A Model Context Protocol (MCP) server that provides real-time Hex package version information to AI tools like Cursor. This service helps ensure that AI-assisted development uses the correct and most up-to-date package versions when adding dependencies to Elixir projects.
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). Think of it like a USB-C port for AI applications. For more information about MCP, visit the official documentation.
Cursor supports MCP servers out of the box. To get accurate Hex package version suggestions in your Elixir projects, add this server to your Cursor configuration.
https://hex-mcp.9elements.com/sse
For detailed setup instructions, visit the Cursor MCP documentation.
To start your Phoenix server locally:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
- Visit
localhost:4000
from your browser
In order to allow the specific sites, adjust your /etc/hosts
like this:
127.0.0.1 hex-mcp.localhost
127.0.0.1 gem-mcp.localhost
127.0.0.1 npm-mcp.localhost
While this service uses the API provided by hex.pm, we are not affiliated with or endorsed by hex.pm. The service is provided as-is without any warranty. Use at your own discretion.
For production deployment instructions, please refer to the Phoenix deployment guides.
Built with ❤️ by Daniel Hoelzgen from 9elements