Using Pravadh MW from Claude via MCP
Pravadh MW can be driven entirely by an AI assistant -- Claude Desktop, Claude Code, or anything else that speaks MCP (Model Context Protocol) -- without opening the web app at all. This is the same idea as Zapier MCP, built the way an agent-native product should: nothing is written without you seeing the draft first.
1. Generate a key
Under Settings -> API Keys, create a key and give it a name (e.g. "Claude Desktop"). The full key is shown exactly once -- copy it now.
2. Point your MCP client at it
For Claude Desktop, add this to claude_desktop_config.json:
{
"mcpServers": {
"pravadhmw": {
"command": "pravadhmw",
"args": ["mcp", "serve"],
"env": { "PRAVADHMW_API_KEY": "your-key-here" }
}
}
}
Or run it directly from a terminal / Claude Code:
pip install "pravadhmw[mcp]"
PRAVADHMW_API_KEY=your-key-here pravadhmw mcp serve
The server acts as whichever account owns that key for as long as it's running -- one key, one identity, the same scoping the web app already enforces per request.
3. What you can ask it to do
Six tools are exposed:
- list_connectors -- see what's connected
- list_flows -- see existing flows
- get_flow -- full detail on one flow: mapping, filter, dedup key, recent runs
- run_flow -- run a flow now
- propose_flow -- draft a flow from a plain-language request, reading both systems' live schemas (saves nothing)
- create_flow -- persist a flow, usually the reviewed output of propose_flow
So you can genuinely say to Claude:
Using Pravadh MW, sync Salesforce Contacts to the contacts table in Postgres, deduped on email, and run it.
Claude will call propose_flow, show you what it drafted, then call
create_flow and run_flow once you're happy with it -- the same
review-before-it-exists step the web app's flow builder has, just driven
conversationally instead of by clicking through a form.
Why two calls instead of one
propose_flow never writes anything. create_flow is the only tool that
persists a flow, and it takes the same fields back explicitly rather than
a hidden "confirm" flag. That means whatever is driving the MCP server --
an AI assistant, a script, you typing commands by hand -- always has to
show the exact flow before it exists, on purpose.
What's next
- Core concepts
- Building your first flow with the agent -- the same propose/create pattern, from the web UI