Quickstart
Prerequisites
- Rust toolchain — install via rustup if you don’t have it
- Git — with submodule support
1. Clone and Build
git clone --recurse-submodules https://github.com/jacobprall/moneypenny.gitcd moneypennycargo build --releasePut the binary on your PATH:
cp target/release/mp /usr/local/bin/mpOr use the setup script, which also downloads the local embedding model:
./scripts/setup.sh2. Initialize
mp initThis creates:
moneypenny.toml— project configurationmp-data/— data directory with one SQLite file per agent- A default agent named
main
3. Connect to Your Agent
Moneypenny exposes its full surface area as an MCP server. One command registers it with your agent runtime — no manual JSON editing required.
mp setup claude-codeWrites .mcp.json in your project root. For global registration across all projects:
mp setup claude-code --globalRestart Claude Code to pick up the new MCP server.
mp setup cortexRuns cortex mcp add to register directly. Verify with:
cortex mcp listmp setup openclawWrites to ~/.clawdbot/clawdbot.json. Restart OpenClaw to pick it up.
Verify
Start a conversation and ask:
What Moneypenny tools do you have?
Your agent should list the available MCP tools. Once connected, every operation below can be performed by asking your agent in plain English. The following steps show both ways.
4. Add Some Knowledge
Ingest a document:
mp ingest path/to/document.mdAsk your MCP-connected agent:
Ingest the file at path/to/document.md
Or from a URL:
mp ingest --url "https://example.com/docs"Ask your MCP-connected agent:
Ingest the docs page at https://example.com/docs
5. Add Facts
Store structured knowledge:
echo '{"op":"memory.fact.add","args":{"content":"Our API rate limit is 1000 req/min per tenant.","summary":"API rate limit: 1000 req/min/tenant","pointer":"API: rate-limit","confidence":0.95,"keywords":"api rate limit tenant"}}' \ | mp sidecarAsk your MCP-connected agent:
Remember that our API rate limit is 1000 requests per minute per tenant.
List what was stored:
mp facts listAsk your MCP-connected agent:
List all the facts you know.
6. Search
mp facts search "rate limit"mp knowledge search "deployment"Ask your MCP-connected agent:
What do you know about rate limits?
Search the knowledge base for anything about deployment.
7. Chat (Requires LLM)
For interactive conversation with your agent:
mp chatIf you’re already in an MCP-connected client, you’re chatting! Just talk:
What do you know about our deployment pipeline?
For a one-shot message:
mp send main "What do you know about our deployment pipeline?"Ask your MCP-connected agent:
Ask the main agent what it knows about our deployment pipeline.
8. Start the Gateway
For multi-agent, multi-channel operation:
mp startAsk your MCP-connected agent:
Start the Moneypenny gateway.
This spawns worker processes for each agent, starts the scheduler, and binds configured channel adapters (HTTP, Slack, Discord, Telegram).