ExMCP Test Server logo

ExMCP Test Server

by y86

An MCP server implementation in Elixir for experimenting with the Model Context Protocol. It provides a test implementation to explore and understand the protocol's functionalities.

View on GitHub

Last updated: N/A

What is ExMCP Test Server?

This is an Elixir-based implementation of an MCP (Model Context Protocol) server. It serves as a test server for experimenting with and understanding the MCP protocol.

How to use ExMCP Test Server?

To use the server, first install the dependencies using mix deps.get. Then, run the server locally with mix run --no-halt. For production, generate a release with mix release and configure it in your claude_desktop_config.json file.

Key features of ExMCP Test Server

  • JSON-RPC 2.0 compliant

  • Standard MCP protocol methods supported

  • Pluggable validation and middleware pipeline

  • Schema-driven request/response validation

Use cases of ExMCP Test Server

  • Testing MCP client implementations

  • Experimenting with MCP protocol methods

  • Validating MCP server behavior

  • Developing MCP-compatible applications

FAQ from ExMCP Test Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for communication between applications and models.

What is PhxJsonRpc?

PhxJsonRpc is a library used for the RPC layer in this server.

What is ExJsonSchema?

ExJsonSchema is a library used for schema validation of requests and responses.

Where can I find the API documentation?

The OpenRPC specification can be found in priv/static/mcp-openrpc.json.

What MCP methods are implemented?

The server implements methods like initialize, notifications/initialized, prompts/list, resources/list, tools/list, and tools/call.