Raxol MCP
Elixir/OTP framework for MCP servers and clients that derives tools from a running UI component tree, letting agents drive terminal apps.
Que pouvez-vous faire avec Raxol MCP ?
- MCP Server: GenServer routing tool/resource requests via JSON-RPC 2.0
- MCP Client: stdio JSON-RPC 2.0 client for consuming external MCP servers
- Registry: ETS-backed tool/resource/prompt registration (no GenServer bottleneck)
- Transports: stdio (CLI tools) and HTTP/SSE (Plug-based, no Phoenix)
- ToolProvider: auto-derive MCP tools from widget trees (16 Component modules implement it)
- FocusLens: attention-aware tool filtering (focused/all/hover modes)
- ResourceProvider: expose TEA model state as MCP resources
- Test Harness: pipe-friendly API (
click,type_into,assert_component), functor law property tests
Installation
Les étapes d'installation sont dans la documentation ci-dessous. Documentation
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Raxol MCP
MCP (Model Context Protocol) server and client for Elixir. JSON-RPC 2.0 protocol, tool/resource registry, stdio and SSE transports. Auto-derives agent tools from your widget tree.
Install
{:raxol_mcp, "~> 2.7"}
Features
- MCP Server: GenServer routing tool/resource requests via JSON-RPC 2.0
- MCP Client: stdio JSON-RPC 2.0 client for consuming external MCP servers
- Registry: ETS-backed tool/resource/prompt registration (no GenServer bottleneck)
- Transports: stdio (CLI tools) and HTTP/SSE (Plug-based, no Phoenix)
- ToolProvider: auto-derive MCP tools from widget trees (16 Component modules implement it)
- FocusLens: attention-aware tool filtering (focused/all/hover modes)
- ResourceProvider: expose TEA model state as MCP resources
- Test Harness: pipe-friendly API (
click,type_into,assert_component), functor law property tests - Circuit Breaker: 3-state ETS machine for flaky tool callbacks
Quick start
# Register a tool
Raxol.MCP.Registry.register_tool(%{
name: "my_tool",
description: "Does a thing",
input_schema: %{type: "object", properties: %{}}
})
# Start MCP server on stdio
mix mcp.server
Architecture
Raxol.MCP.Server: GenServer handling JSON-RPC dispatchRaxol.MCP.Registry: ETS-backed registration (tools, resources, prompts)Raxol.MCP.Protocol: JSON-RPC 2.0 encode/decodeRaxol.MCP.Transport.Stdio: stdio transport for CLIRaxol.MCP.Transport.SSE: HTTP/SSE transport (Plug)Raxol.MCP.Client: consume external MCP serversRaxol.MCP.ToolProvider: widget-to-tool derivation behaviourRaxol.MCP.Test: test harness with assertions
See main docs for full examples.
Questions fréquentes
Qu'est-ce que Raxol MCP ?
Elixir/OTP framework for MCP servers and clients that derives tools from a running UI component tree, letting agents drive terminal apps.
Comment installer Raxol MCP ?
Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.
Raxol MCP est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Raxol MCP ?
Il est publié par DROOdotFOO. AI.tn le référence sans le maintenir ni le recommander.
Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.