ledger-agent
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ledger-agent
Grounded full-stack agent for FASTag / wallet / ops support demos.
Built for Full Stack + Agentic AI portfolios: tool-calling, RAG, MCP, evals, and a real HTTP UI — with fake SQLite data only (safe to publish).
The model reads. Tools decide. Docs never invent money.
Architecture notes · MIT License
What you can demo in an interview
Question | What fires |
“Was PhonePe Message | SQL |
“Check UTR | SQL |
“Why can’t I issue tag |
|
“Why is |
|
“Any errors for that order?” |
|
“Gallery or RC only?” | RAG |
Related MCP server: mcp-production-mastery
Stack
Node 22+ Express API + static UI
node:sqliteledger / orders / logs (no Visual Studio native build)Deterministic planner → tool registry → human answer + tool trace
RAG over
docs/*.md(keyword retriever; swap for embeddings later)MCP (
@modelcontextprotocol/sdk) — same tools over stdio for CursorOptional Gemini screenshot OCR (
GEMINI_API_KEY)
Quick start
git clone https://github.com/Vikas62502/ledger-agent.git
cd ledger-agent
cp .env.example .env # optional GEMINI_API_KEY
npm install
npm run seed
npm run eval # expect 9/9
npm run devOpen http://localhost:4050.
MCP in Cursor
Repo includes .cursor/mcp.json. Or:
npm run mcp{
"mcpServers": {
"ledger-agent": {
"command": "node",
"args": ["--experimental-sqlite", "src/mcp/server.js"],
"cwd": "/absolute/path/to/ledger-agent"
}
}
}API
Method | Path | Body |
|
|
|
|
| multipart |
|
| — |
|
| — |
Response includes answer, plan, toolResults (show this in interviews).
Project layout
docs/ RAG runbooks
evals/ Deterministic regression cases
public/ Minimal UI
src/agent/ Classify + optional Gemini OCR + agent loop
src/db/ Schema + seed (fake data)
src/mcp/ MCP stdio server
src/rag/ Local docs index
src/tools/ Ledger + ops + docs + registryDesign principles (say this in interviews)
Grounding — amounts, ownership, order counters come from SQL tools
Separation — RAG = process; logs = runtime; never conflate with money
One registry — HTTP agent and MCP call the same
invokeToolEvals first — CI-friendly cases without a live LLM
Safe publish — demo DB only; no prod secrets
Author
Vikas Yadav — Full Stack / Agentic AI
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables MCP hosts like Cursor or Claude to query an enterprise knowledge base via stdio, providing RAG-based answers with cited sources.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to discover and execute operational tools such as database mutations and system diagnostics over stdio, with deterministic structured outputs and Langfuse observability.ISC
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients such as Cursor and Claude Desktop to query a GRC platform over stdio or HTTP, with read-only access by default and opt-in create, update, and delete tools subject to platform authorization.3Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query product footprints, inspect transport activity data, and submit events from iLEAP-conformant endpoints through natural language, using MCP tools over Streamable-HTTP or stdio.1MIT