smart-npv-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@smart-npv-mcpShow me the status of the Cohen file."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
smart-npv-mcp
An MCP server that turns the Smart NPV mortgage-advisor CRM into tools your AI agent can call.
שרת MCP שמחבר סוכני AI (Claude, Cursor, Hermes ועוד) ישירות למערכת Smart NPV, כדי לקרוא ולעדכן תיקי לקוחות, סטטוסים, מסמכים וסימולציות בשפה טבעית.
Built at BeAi. Works with any Smart NPV account.
⚠️ Community project. Not affiliated with or endorsed by Smart NPV. Built against their public API documentation.
Table of contents
Related MCP server: Cal MCP Server
What is this?
Three pieces come together here:
Smart NPV is a CRM built for Israeli mortgage advisors: it manages client files, mortgage calculations, document checklists, and workflow stages. It exposes a REST API (behind a paid tier).
MCP (Model Context Protocol) is an open standard that lets AI agents call external tools through a uniform interface. Instead of hand-writing HTTP requests, an agent gets a clean, typed set of tools it can reason about and call.
This server is the bridge. It wraps every documented Smart NPV endpoint as an MCP tool, so any MCP-capable agent can operate the CRM: list clients, read a client's status and documents, add a status, upload a file, record a payment, run simulations, and more.
In one sentence: it lets an AI agent operate Smart NPV for you, safely and deterministically, instead of clicking through the UI.
Why would I want it?
A mortgage advisor working solo juggles dozens of active files, each moving through an 8-stage workflow that can take months. Files fall through the cracks. An AI agent connected through this server can, for example:
Watch the pipeline. Every morning, list all active clients, read each one's status and predicted stage date, and flag the ones that have stalled: "3 files are past their stage deadline. Client X has had no movement for 12 days."
Chase missing documents. Read a client's document list, compare against the required checklist, and draft a reminder for exactly what is missing.
Keep the CRM tidy. Record a status change or file an uploaded document back into the right client, automatically.
Answer questions. "How many leads came in this month?" "What is the status of the Cohen file?"
The agent decides what to do; this server gives it the hands to do it in Smart NPV.
How it works
flowchart LR
A["AI agent<br/>(Claude / Cursor / Hermes)"] -- "MCP (stdio)" --> B["smart-npv-mcp<br/>server"]
B -- "HTTPS + api_key" --> C["Smart NPV API<br/>www.snpv.co.il"]
C -- "JSON" --> B
B -- "tool result" --> AThe agent speaks MCP over stdio. This server translates each tool call into the correct Smart NPV HTTP request (injecting your api_key), and returns the JSON response back to the agent.
Requirements
Node.js 18+ (uses the built-in
fetch,FormData, andBlob).A Smart NPV account with API access. The API sits behind Smart NPV's extended (paid) subscription. You will need an API key from them. Some tools also require the Premium tier (marked below).
Installation
Option A: via npx (recommended, once published to npm)
No install needed; your MCP client runs it on demand:
npx -y smart-npv-mcpOption B: from source
git clone https://github.com/binyaminboukaya/smart-npv-mcp.git
cd smart-npv-mcp
npm install
npm run buildConfiguration
The server reads two environment variables:
Variable | Required | Default | Notes |
| for API calls | (none) | Your key from the extended subscription. The server still starts and lists its tools without it, but every call will error until it is set. |
| no |
| The API host. Note: |
For local development, copy the template:
cp .env.example .env
# then edit .env and paste your keyHow to get a key: contact Smart NPV support / your account manager and ask to enable API access on the extended subscription. They issue the
api_key.
Connecting to an MCP client
Add an entry to your client's MCP config. The examples below assume the key is in SMARTNPV_API_KEY.
{
"mcpServers": {
"smart-npv": {
"command": "npx",
"args": ["-y", "smart-npv-mcp"],
"env": { "SMARTNPV_API_KEY": "your-key-here" }
}
}
}{
"mcpServers": {
"smart-npv": {
"command": "npx",
"args": ["-y", "smart-npv-mcp"],
"env": { "SMARTNPV_API_KEY": "your-key-here" }
}
}
}{
"mcpServers": {
"smart-npv": {
"command": "node",
"args": ["/absolute/path/to/smart-npv-mcp/dist/index.js"],
"env": {
"SMARTNPV_BASE_URL": "https://www.snpv.co.il",
"SMARTNPV_API_KEY": "your-key-here"
}
}
}
}After adding the config, restart the client. You should see the smart-npv tools appear.
The authentication model
Smart NPV passes the api_key differently depending on the request type. This server handles it for you automatically; you never pass api_key as a tool argument.
Request type | Where |
| query parameter |
| field in the JSON body |
Upload tools | multipart form field |
Tool reference (32 tools)
Legend: Premium = requires the Premium tier of the subscription. Required arguments are in bold.
Tool | Arguments | What it does |
|
| List clients or leads, paged and date-filtered. |
|
| Fetch one client by uuid or phone. |
|
| List the documents attached to a client. |
|
| Create a client (fields inside |
|
| Update a client. |
|
| Delete a client (irreversible). |
|
| Add a documentation record. |
|
| Upload a PDF/PNG/JPG file to a client. |
Tool | Arguments | What it does |
|
| Current status/stage of a client. Core for pipeline monitoring. |
| (none) | The status/stage definitions in the account. |
|
| Add/set a status on a client. |
Tool | Arguments | What it does |
|
| List a client's mortgage simulations. |
|
| Fetch a specific simulation. |
|
| Add a mortgage mix. |
|
| Delete a simulation. |
|
| Run the reform/recalculation engine. |
Tool | Arguments | What it does |
|
| List a client's payments. |
|
| Record a payment (e.g. a retainer). |
|
| Update a payment. |
Tool | Arguments | What it does |
| (none) | List contact groups. |
| (none) | List contacts (bankers, appraisers, etc.). |
|
| Add a contact. |
|
| Add a contact group. |
Tool | Arguments | What it does |
|
| Create a product. |
| (none) | List lead sources / networks. |
|
| Add a lead source. |
|
| Update a lead source. |
|
| Upload a bank balance-report PDF for parsing. |
| (none) | Banks supported by the balance-report service. |
|
| Is a bank supported by the service. |
|
| Upload an approval-in-principle PDF for scanning. |
| (none) | Reference list of cities. |
Worked example: a pipeline guardian
The most valuable pattern. Goal: every morning, surface files that have stalled.
What you say to the agent:
"Go over all my active clients and tell me which ones have not moved recently or are past their stage deadline."
What the agent does with these tools:
list_clientswithlead: falseto get active files.For each client,
get_client_statusto read the current stage and its predicted date.Compares dates, and reports the stalled ones back to you in plain language.
What you get back:
"3 files need attention: Levi (stage 2, 11 days no movement), Cohen (past the appraisal deadline by 4 days), Mizrahi (documents requested 8 days ago, none received)."
Then, still in the same conversation:
"Draft a WhatsApp reminder to Mizrahi for the missing documents."
The agent uses get_client_documentations to see what is missing and drafts the message. You approve and send. No file falls through the cracks.
Example calls and responses
Tool arguments are plain JSON. A few illustrative calls (exact response shape depends on your Smart NPV account, since this is built against the documented API):
List the 25 most recent active clients
// tool: list_clients
{ "limit": 25, "offset": 0, "lead": false }Read one client's status
// tool: get_client_status
{ "uuid": "12345678-1234-1234-1234-123456789109" }Add a status to a client
// tool: add_status
{ "params": { "uuid": "12345678-...", "status_id": 4, "note": "Documents received" } }Upload a document
// tool: upload_document
{
"uuid": "12345678-...",
"file_name": "tabu_nispach.pdf",
"file_path": "/Users/me/Downloads/tabu_nispach.pdf"
}Record a retainer payment
// tool: add_payment
{ "uuid": "12345678-...", "params": { "amount": 2000, "type": "retainer" } }A successful call returns the API's JSON as text. On failure the result is marked as an error (see below).
Note on
params: several write endpoints accept a free-formparamsobject whose exact inner fields are defined by Smart NPV and are not fully published. Pass the fields the CRM expects. Once you have a live key, inspect a real record (e.g.get_client) to learn the field names.
Error handling
Every tool catches failures and returns an MCP error result rather than crashing the server:
Error: Smart NPV /api/v2/clients/get_client_status -> HTTP 401: {"message":"invalid api_key"}Common cases:
Key missing:
SMARTNPV_API_KEY is not set.Auth failure: HTTP 401/403 (bad or unauthorized key, or a Premium tool on a non-Premium plan).
Bad arguments: the API returns a 4xx with a message; it is surfaced verbatim.
Troubleshooting
Symptom | Likely cause / fix |
Every call returns "api_key is not set" |
|
401 / 403 on every call | Wrong key, or API access not enabled on your subscription. |
404 on all calls | Wrong base URL. Ensure it is |
A specific tool 403s | It is a Premium tool and your plan is not Premium. |
Tools do not appear in the client | Restart the client after editing the config; check the command/path is correct. |
Upload fails | Ensure |
Development
npm install
npm run dev # run from source with tsx (no build)
npm run build # compile TypeScript to dist/
npm run typecheck # type-check only
npm start # run the built serverProject layout:
src/
index.ts MCP server: registers every tool, wires stdio transport
endpoints.ts the 32 endpoint definitions (path, method, zod input schema)
client.ts HTTP client: GET (query), POST (json body), multipart uploadAdding a tool is one entry in endpoints.ts. The server registers it automatically.
Quick smoke test (lists tools over the MCP protocol):
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
| SMARTNPV_API_KEY=test node dist/index.jsProject status and roadmap
✅ All 32 documented endpoints wrapped as tools.
✅ Type-checks, builds, and passes an MCP
tools/listsmoke test.⏳ Not yet live-tested against a real account (needs an API key). Until then, treat response shapes as indicative.
🔜 Tighten the free-form
paramsschemas once real field names are confirmed against a live key.🔜 Optional: publish to npm so
npx smart-npv-mcpworks with no clone.
Contributing
Issues and pull requests welcome. Good first contributions: confirming real field names for the params payloads, adding response examples from a live account, or improving tool descriptions.
License
MIT © 2026 Binyamin Boukaya (BeAi).
Smart NPV is a trademark of its respective owner. This is an independent, unofficial integration.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/binyaminboukaya/smart-npv-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server