Skip to content

redbadger/crux-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MCP Server for Crux applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages