ExMCP Test Server
An Elixir-based MCP server for testing and experimenting with the Model Context Protocol.
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:
PhxJsonRpcfor the RPC layerExJsonSchemafor schema validationJasonfor JSON encoding/decoding
Usage
Run the server locally:
mix run --no-halt
Configuration
The best way to run the model is to generate a release with
mix release
and 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.get
Run tests:
mix test
API 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 tool
The 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.
Related Servers
MCP AI Agent Server
A server that bridges Cline to an AI agent system, enabling seamless interaction with AI agents through the Model Context Protocol.
Lilith Shell
Execute terminal commands through a secure shell interface using an AI assistant.
MCP Server with GitHub OAuth
A remote MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
Sentry
Interact with the Sentry API to monitor application errors and performance.
Studio MCP
Turns any command-line interface (CLI) command into a simple StdIO-based MCP server.
Shaka Packager MCP Server
Video transcoding, packaging, and analysis using the Shaka Packager tool, integrated with Claude AI.
Photoshop MCP Server
An MCP server for integrating with and automating Adobe Photoshop using the photoshop-python-api.
Python Local
An interactive Python REPL environment with persistent session history.
Auto API - YApi
A tool to retrieve API interface information from YApi, with authentication configurable via environment variables.
FluidMCP CLI
A command-line tool to run MCP servers from a single file, with support for automatic dependency resolution, environment setup, and package installation from local or S3 sources.