Excessibility.MCP.Server (Excessibility v0.14.0)

View Source

MCP server for excessibility tools, resources, and prompts.

Implements the MCP protocol for stdio transport:

  • JSON-RPC 2.0 message handling
  • initialize/initialized handshake
  • tools/list and tools/call
  • resources/list and resources/read
  • prompts/list and prompts/get

Usage

Excessibility.MCP.Server.start()

Or via mix:

mix run --no-halt -e "Excessibility.MCP.Server.start()"

Summary

Functions

Returns a specification to start this module under a supervisor.

Handles a JSON-RPC message and returns a response. Useful for testing.

Starts the MCP server, reading from stdin and writing to stdout. Blocks indefinitely processing messages.

Starts the server as a supervised GenServer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_rpc(pid \\ __MODULE__, message)

Handles a JSON-RPC message and returns a response. Useful for testing.

start()

Starts the MCP server, reading from stdin and writing to stdout. Blocks indefinitely processing messages.

start_link(opts \\ [])

Starts the server as a supervised GenServer.