LendMCP: connect AI assistants
LendMCP lets an AI assistant work directly inside your LendAPI tenant. You connect a client
once (claude.ai, Claude Desktop, Claude Code, ChatGPT developer mode, or any MCP-capable
tool), and the assistant can then build decision workflows and review applications on your
behalf, using your tenant's own data and permissions.
LendMCP speaks the Model Context Protocol (MCP) over Streamable HTTP.
Endpoint
https://mcp.lendapi.com/mcp
What you can do with it
| Domain | Capability |
|---|---|
| Workflow authoring | Create variables and outcomes, build decision trees node by node, configure rules and actions, submit a version, promote it, and run it against test values. |
| Underwriting review | Read an application's stage, computed variables, provider (bureau, identity, bank) results, decision-tree outcomes, and document status — all PII-filtered. |
| Underwriting actions | Approve, decline, request documents, or withdraw an application; create a manual offer with custom terms; add an underwriter note. |
| Products | List your products and inspect a product's full setup, including the decision trees and application steps attached to it. Get a bird's-eye view of every step with its widgets, providers and outcome wiring — drawn as an interactive flow map in claude.ai and Claude Desktop — audit a draft for configuration warnings before publishing, list its versions, and compare two versions. |
| Product Studio | Build a product from scratch: read what its pages can use, write pages (fields, controls, widgets) and their routing, apply several pages at once, set product settings, custom scripts and themes, validate, publish, and choose the live version. Anything that would reach live applicants at once asks for your confirmation first. |
| Communication | List, inspect and preview your email and SMS templates, and read an application's email and SMS conversation history — metadata only, with message bodies masked on request. |
| Pricing engines | List your pricing engines (offer tables), inspect a draft or published version's columns and rows, and evaluate a version against test values to see the candidate offers it returns. Build one too: create an engine, save its columns and rows, attach an outcome and a product, test the draft, publish a version and promote it. |
| Workflow Builder | Build and publish the orchestration flows that run decision trees, pricing engines, integrations and communications; run or re-run one; and inspect, suspend or release what is happening on an application. |
| Contracts | Read loan-agreement templates and their published versions, and inspect the contracts generated for an application — statuses, history, and short-lived download links. |
| Contract authoring | Create, clone and edit loan-agreement templates — HTML, rich text, or a PDF whose sample values become fillable fields — attach them to products and outcomes, publish versions, and choose which version applicants receive. |
| Contract generation | Preview what a contract's placeholders resolve to for one application, generate the document, and send it to the applicant for signature. |
| Documents | Browse the document library and the request-document templates, and read an application's uploaded documents — status, review notes, version history and masked DocAI extractions. Author and publish library documents, configure request templates and their AI extraction mapping, request documents on an application, and record an approve or decline decision. |
| Labs | Set up and run A/B tests, Shadow tests and Backtests over your decision trees, then read how champion and challenger compare and which applications they disagreed on. |
There are 167 tools in total. See the tool reference.
What LendMCP never returns: applicant PII. Names, SSNs, addresses, emails, phone numbers,
and dates of birth are stripped from every application and provider response before the
assistant sees them.
Supported clients
| Client | Authentication | Setup guide |
|---|---|---|
| claude.ai (web) | OAuth (sign in with LendAPI) | Claude on the web |
| Claude Desktop | OAuth (sign in with LendAPI) | Claude Desktop |
| Claude Code | OAuth, or a machine token in an Authorization header | Claude Code |
| ChatGPT (developer mode) | OAuth (sign in with LendAPI) | ChatGPT |
| Other MCP clients, scripts, CI | Machine token in an Authorization header, or OAuth if the client supports it | Other clients |
Start here
- Quickstart — connect a client and run your first prompt.
- Authentication — OAuth vs. machine tokens, environments, token
lifetimes, and how to revoke access. - Tool reference — all 167 tools, their parameters, and their failure modes.
- Workflow ground rules — the naming, structure, and publish
rules that decide whether a decision tree or a flow can go live. - Example prompts — what to ask once you are connected.
- Security and data handling and Privacy Notice — permissions,
PII filtering, confirmations, and what LendMCP keeps.
Guides
- Build a decision workflow — from an empty tenant to a
running approve/decline tree. - Send a document request — find or write a template, check it,
and ask an applicant for what is missing. - Build an application flow — compose a decision tree,
an email and a branch into a flow, then publish and run it. - Review an application — an underwriting pass from summary
to action. - Price an approved application — build a pricing engine,
publish it, and turn a match into an offer. - Build a product — variables, a decision tree, three pages with
routing by outcome, a theme, publish, set live, and the outcome wired to pricing, a contract and
an email. - Audit a product before publishing — a
bird's-eye pass over a product draft: warnings and errors, fixes, what publishing would change,
then publish and set live. - Set up a loan agreement — author a contract template,
publish it, generate the document for an applicant, and send it for signature. - Compare a challenger rule set — backtest, then
shadow, then A/B: proving a new decision-tree version before it decides anything. - Troubleshooting — what each error means and how to clear it.
Environments and current limits
There are two environments: Live (production data) and Sandbox (test data). A sign-in
(OAuth) connection reaches both: every tool takes an optional environment argument
(live or sandbox, default live), so the assistant can read a Live product and copy it
into Sandbox in one conversation. A machine-token connection reaches one environment, decided
by the token's prefix.
| Area | Live | Sandbox |
|---|---|---|
| Application reads (summary, data, provider results, decisions, documents) | Yes | Yes |
| Underwriting actions (stage change, manual offer, note) | Yes | Requires a live-mode token |
| Products | Yes | Yes |
| Product Studio (pages, routing, settings, scripts, themes, publish) | Yes | Yes — writes land in your sandbox data |
| Pricing engines (read, author, run) | Yes | Yes |
| Document reads (library, request templates, application documents) | Yes | Yes |
| Document writes (authoring, publishing, requesting, reviewing) | Yes | Yes — writes land in your sandbox data |
| Workflow authoring (variables, outcomes, decision trees) | Yes | Yes — except derived variables, which are Live only |
| Communication (templates, conversation history) | Yes | Yes |
Workflow authoring works in Sandbox, except derived variables, which are created in Live only. See
Troubleshooting.
Support
Email [email protected] with your tenant name, your client (claude.ai, Claude Desktop, Claude
Code, ...), the time of the problem and the tool name if you know it. Never send API keys or tokens.
To report a security vulnerability, see Security and data handling.
Updated about 14 hours ago

