ex-mcp-test
Test implementation of mcp server in Elixir
Documentation
ExMCP Test Server
An MCP (Model Context Protocol) server implementation in Elixir that provides a test implementation for experimenting with the protocol.
Features
- JSON-RPC 2.0 compliant server implementation
- Standard MCP protocol methods supported
- Pluggable validation and middleware pipeline
- Schema-driven request/response validation
- OpenRPC specification included
Architecture
The server is built using:
- `PhxJsonRpc` for the RPC layer
- `ExJsonSchema` for schema validation
- `Jason` for JSON encoding/decoding
Usage
Run the server locally:
mix run --no-haltConfiguration
The best way to run the model is to generate a release with
mix releaseand add it to to your `claude_desktop_config.json`:
{
"mcpServers": {
"ex-mcp-test": {
"command": "path/to/your/realease/bin/my_app",
"args": [
"start"
]
}
}
}Development
Requirements:
- Elixir 1.14+
- Mix
Install dependencies:
mix deps.getRun tests:
mix testAPI Documentation
The server implements the following MCP methods:
initialize - Initialize the server
notifications/initialized - Handle initialization notification
prompts/list - List available prompts
resources/list - List available resources
tools/list - List available tools
tools/call - Call a specific toolThe OpenRPC specification can be found in `priv/static/mcp-openrpc.json`.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Frequently asked questions
What is ex-mcp-test?
ex-mcp-test is Test implementation of mcp server in Elixir
How do I install ex-mcp-test?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is ex-mcp-test open source?
Yes — it is hosted on GitHub at https://github.com/y86/ex-mcp-test and has 9 stars.
Related MCP tools
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
MCP Server for Ghidra Java-based implementation. Trusted by 6400+ developers. Trusted by 6400+ developers. Trusted by 6400+ developers.
Official Notion MCP Server TypeScript-based implementation. Trusted by 3400+ developers. Trusted by 3400+ developers. Trusted by 3400+ developers.
Directory for Awesome MCP Servers TypeScript-based implementation. Trusted by 1900+ developers. Trusted by 1900+ developers.
🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes.
MCP server for Grafana Go-based implementation. Trusted by 1700+ developers. Trusted by 1700+ developers. Trusted by 1700+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP