https://github.com/9elements/hex-mcp
MCP Server for Hex Package Versions
https://github.com/9elements/hex-mcp
Last synced: 9 months ago
JSON representation
MCP Server for Hex Package Versions
- Host: GitHub
- URL: https://github.com/9elements/hex-mcp
- Owner: 9elements
- License: mit
- Created: 2025-02-19T10:54:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-05T08:20:04.000Z (11 months ago)
- Last Synced: 2025-07-29T10:27:59.615Z (9 months ago)
- Language: Elixir
- Homepage: https://hex-mcp.9elements.com
- Size: 443 KB
- Stars: 35
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **hex-mcp** - MCP Server for Hex Package Versions `elixir` `mcp` `server` `python` `git clone https://github.com/9elements/hex-mcp` (📦 Other)
README
# Hex MCP Server
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.
## What is MCP?
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](https://modelcontextprotocol.io/introduction).
## Using with Cursor
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.
### Server URL
```
https://hex-mcp.9elements.com/sse
```
For detailed setup instructions, visit the [Cursor MCP documentation](https://docs.cursor.com/context/model-context-protocol#model-context-protocol).
## Development Setup
To start your Phoenix server locally:
1. Run `mix setup` to install and setup dependencies
2. Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
3. Visit [`localhost:4000`](http://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
```
## Disclaimer
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.
## Production Deployment
For production deployment instructions, please refer to the [Phoenix deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Learn More
- [Phoenix Framework Official Website](https://www.phoenixframework.org/)
- [Phoenix Documentation](https://hexdocs.pm/phoenix)
- [Phoenix Guides](https://hexdocs.pm/phoenix/overview.html)
- [Phoenix Forum](https://elixirforum.com/c/phoenix-forum)
## Credits
Built with ❤️ by [Daniel Hoelzgen](https://dhoelzgen.dev) from [9elements](https://9elements.com)
## Legal
- [Imprint](https://9elements.com/imprint)
- [Privacy Policy](https://9elements.com/imprint)