Setup
Install and configure
Three steps from a clone to a client calling tools.
Install the server
git clone https://github.com/ssrjkk/raven
cd raven
pip install .
Python 3.11+ · installs the five commands, raven-mcp and ravencode-mcp among them · what the optional groups add
Add it to your client
{
"mcpServers": {
"raven": {
"command": "raven-mcp",
"args": ["--workspace", "/path/to/project"]
}
}
}
Same shape for every MCP client that starts a stdio server
Call the tools
Ask the assistant to read a file, run a command or search the web. It calls the
MCP tool and Raven runs it inside the workspace you allowed. Over HTTP, the same
tools answer POST /mcp/rpc with a bearer key.
Install the extras you actually use
The base install runs the gateway, the tools and the console. Everything that talks to
another system lives in optional groups, and a group you did not install is not an
error message — it is a feature that stopped running. Install what you use:
pip install -e ".[voice,speaker]".
What each group makes real
| Group | Brings in | What starts working |
|---|---|---|
voice | sounddevice | microphone capture and the conversation loop |
speaker | librosa, speechbrain | speaker verification and the anti-spoof check |
stt | vosk, SpeechRecognition, openai-whisper, azure-cognitiveservices-speech | speech-to-text providers |
tts | elevenlabs, gTTS, edge-tts | cloud text-to-speech, falling back to system TTS |
search | duckduckgo-search | web search as a tool |
vector | chromadb, hnswlib | the vector stores behind retrieval |
rag | sentence-transformers | local embedding model instead of an API round-trip |
ml | torch, transformers, peft, datasets | fine-tuning |
browser | playwright | the browser tools and screenshots |
discord | discord.py | the Discord adapter |
slack | slack-sdk | the Slack adapter |
email | aiosmtplib, aioimaplib | the email adapter: IMAP polling and SMTP replies |
docker | docker | running tools inside a container |
secrets | cryptography | encrypted at-rest storage of stored secrets |
postgres | asyncpg | the Postgres backend instead of SQLite |
metrics | prometheus-client | the metrics endpoint |
tui | textual | the terminal interface |
There are 32 optional groups in pyproject.toml; the ones above are those
that change what the assistant can do. A control that cannot run now says so instead of
passing quietly: voice_verify answers
Anti-spoof: NOT evaluated and /api/voice/verify returns
anti_spoof_checked: false when speaker is missing, and a build
that ships an import no group declares fails
tests/test_dependency_declarations.py.
Run the gateway
The same install also starts the gateway — the process that holds the channel adapters, the DM policy and the web console.
raven start
raven start --daemon
ravenflow
raven doctor
raven doctor names the adapters that have credentials and the ones that would
stay silent, so a misconfigured channel is visible before the first message. Configuration
lives in .env; .env.example documents every variable.