crux-mcp

redbadger/crux-mcp

3.3

If you are the rightful owner of crux-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server for Crux applications is designed to load a Crux application's shared library as a WebAssembly Component, exposing it with the ModelContext Protocol to LLM agents for agentic coding.

MCP Server for Crux applications

Note: not fully implemented yet

Loads a Crux application's shared library as a WebAssembly Component, exposing it with the ModelContext Protocol to LLM agents for agentic coding.

Prerequisites

Checkout the branch from this pull request into a directory called "crux", alongside this repository.

pushd ../crux/examples/counter-next
cargo build --package shared --features facet_typegen --target wasm32-wasip2
popd

Running the Server

To run the MCP server:

cargo build
export CRUX_COMPONENT=/path/to/crux/examples/counter-next/target/wasm32-wasip2/debug/shared.wasm
pnpx @modelcontextprotocol/inspector ./target/debug/crux-mcp