> ## Documentation Index
> Fetch the complete documentation index at: https://docs.securelend.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Setup

> Connect SecureLend to ChatGPT or Claude in under a minute

# MCP Setup

SecureLend exposes two MCP endpoints — one for the borrower marketplace
(loan comparison) and one for the underwriting agents (pitch deck precheck,
IC memo, etc.). Connect the right one for your use case.

| Endpoint                           | What it does                | Who it's for                     |
| ---------------------------------- | --------------------------- | -------------------------------- |
| `https://mcp.securelend.ai/mcp`    | Loan comparison marketplace | Borrowers, lenders routing deals |
| `https://agents.securelend.ai/mcp` | Agentic underwriting tools  | VCs, lenders, analysts           |

<CardGroup cols={2}>
  <Card title="ChatGPT" icon="comment" href="#chatgpt">
    App Store (marketplace) or manual MCP (agents)
  </Card>

  <Card title="Claude" icon="message" href="#claude">
    Connectors or Claude.ai Integrations
  </Card>

  <Card title="Tool Reference" icon="book" href="/mcp/tools">
    View all marketplace tools
  </Card>

  <Card title="Underwriting Agents" icon="brain" href="https://securelend.ai/agents">
    Pitch deck precheck, IC memo, and more
  </Card>
</CardGroup>

***

## ChatGPT

### Marketplace — Live in the App Store (Recommended)

SecureLend's loan comparison marketplace is published in the ChatGPT App
Store. No setup required.

<Steps>
  <Step title="Open the SecureLend app in ChatGPT">
    Go to [chatgpt.com/apps/securelend](https://chatgpt.com/apps/securelend/asdk_app_69513da1b04881919f74ae07c00a11f2#)
    and click **Start chat**.
  </Step>

  <Step title="Start asking">
    Try: *"Compare business loans for \$200,000 with 720 credit score"*
  </Step>
</Steps>

<Check>
  That's it. No developer mode, no MCP URL, no configuration needed for the
  marketplace.
</Check>

***

### Underwriting Agents — Manual MCP Setup

The underwriting agents (`agents.securelend.ai/mcp`) are not yet in the
App Store. Connect them manually via ChatGPT's developer mode.

<Note>
  ChatGPT Plus or Enterprise required for developer mode and MCP server access.
</Note>

<Steps>
  <Step title="Enable Developer Mode">
    Go to **Settings → Apps** and toggle **Developer mode** on.
  </Step>

  <Step title="Add the MCP Server">
    Click **Add app** and paste:

    ```
    https://agents.securelend.ai/mcp
    ```

    Name it *SecureLend Agents*.
  </Step>

  <Step title="Start a conversation">
    Open a new chat, click **+**, select **SecureLend Agents**, and say:
    *"Precheck this deck"* or *"Draft an IC memo"*.
  </Step>
</Steps>

<Check>
  ChatGPT renders the underwriting agent results with interactive UI widgets —
  the fit ring, criteria breakdown, strengths/weaknesses, and the "Promote to
  underwriting case" button.
</Check>

#### Example queries for the agents

```text theme={null}
Precheck this pitch deck against our Series A rubric.
```

```text theme={null}
Run quantitative analysis on this deal — domain is equity_investment.
```

```text theme={null}
Draft an IC memo from workspace ws_abc123.
```

***

## Claude

### Claude.ai — Integrations (Recommended)

<Steps>
  <Step title="Open Integrations">
    In Claude.ai, go to **Settings → Integrations** and click **Add integration**.
  </Step>

  <Step title="Paste the MCP URL">
    For the marketplace:

    ```
    https://mcp.securelend.ai/mcp
    ```

    For the underwriting agents:

    ```
    https://agents.securelend.ai/mcp
    ```

    Give it a name and click **Save**.
  </Step>

  <Step title="Use in a conversation">
    Start a new chat. The SecureLend tools are available immediately — no
    extension file needed.
  </Step>
</Steps>

<Check>
  SecureLend tools are now available in Claude.ai. Functionality is identical
  to ChatGPT; ChatGPT renders richer UI widgets for the underwriting agents.
</Check>

***

### Claude Desktop — Manual Configuration

<Steps>
  <Step title="Open Settings">
    In Claude Desktop, go to **Settings → Connectors → Add MCP server**.
  </Step>

  <Step title="Paste the MCP URL">
    For the marketplace:

    ```
    https://mcp.securelend.ai/mcp
    ```

    For the underwriting agents:

    ```
    https://agents.securelend.ai/mcp
    ```
  </Step>

  <Step title="Restart and verify">
    Restart Claude Desktop. Open a new conversation and ask:

    ```text theme={null}
    List all SecureLend tools
    ```
  </Step>
</Steps>

<Accordion title="Alternative: edit claude_desktop_config.json manually">
  Find your Claude Desktop configuration file:

  <Tabs>
    <Tab title="macOS">
      ```bash theme={null}
      ~/Library/Application Support/Claude/claude_desktop_config.json
      ```
    </Tab>

    <Tab title="Windows">
      ```
      %APPDATA%\Claude\claude_desktop_config.json
      ```
    </Tab>

    <Tab title="Linux">
      ```bash theme={null}
      ~/.config/Claude/claude_desktop_config.json
      ```
    </Tab>
  </Tabs>

  Add to your `mcpServers` section:

  ```json theme={null}
  {
    "mcpServers": {
      "securelend": {
        "url": "https://mcp.securelend.ai/mcp"
      },
      "securelend-agents": {
        "url": "https://agents.securelend.ai/mcp"
      }
    }
  }
  ```

  Restart Claude Desktop after saving.
</Accordion>

***

## Which endpoint do I use?

| I want to…                                          | Use                                                         |
| --------------------------------------------------- | ----------------------------------------------------------- |
| Compare loans, get rates, pre-qualify as a borrower | `mcp.securelend.ai/mcp` — or open the ChatGPT App Store app |
| Precheck a pitch deck against my rubric             | `agents.securelend.ai/mcp`                                  |
| Generate an IC memo or credit memo                  | `agents.securelend.ai/mcp`                                  |
| Run entity compliance / sanctions screening         | `agents.securelend.ai/mcp`                                  |
| Build a custom lending workflow via SDK             | See [TypeScript SDK](/sdk/javascript)                       |

***

## Verification

After setup, confirm tools are loading:

<Tabs>
  <Tab title="Marketplace (mcp.securelend.ai)">
    ```text theme={null}
    Compare business loans for $200,000 for working capital.
    My business has $800K annual revenue and a 720 credit score.
    ```

    **Expected:** AI uses `compare_business_loans` and returns loan offers.
  </Tab>

  <Tab title="Agents (agents.securelend.ai)">
    ```text theme={null}
    List all tools available in SecureLend Agents.
    ```

    **Expected:** AI lists `pitch_deck_precheck`, `document_intelligence_agent`,
    `quantitative_analysis_agent`, `professional_memo_agent`, and others.
  </Tab>
</Tabs>

***

## Troubleshooting

### Claude

<AccordionGroup>
  <Accordion title="Tools not appearing in Claude.ai">
    1. Go to **Settings → Integrations** and confirm the URL is saved correctly
    2. Start a **new** conversation — integrations only load in new chats
    3. Check [status.securelend.ai](https://status.securelend.ai) for service status
  </Accordion>

  <Accordion title="Tools not appearing in Claude Desktop">
    1. Confirm the URL is entered correctly in **Settings → Connectors**
    2. Quit Claude Desktop completely and reopen it
    3. Test the URL directly: open `https://mcp.securelend.ai/mcp` in a browser
    4. Check [status.securelend.ai](https://status.securelend.ai)
  </Accordion>

  <Accordion title="Tools return errors">
    1. Check parameter requirements in [Tool Reference](/mcp/tools)
    2. Wait 60 seconds if rate limited (100 requests/minute)
    3. Contact [support@securelend.ai](mailto:support@securelend.ai) with the specific error message
  </Accordion>
</AccordionGroup>

### ChatGPT

<AccordionGroup>
  <Accordion title="Can't find SecureLend in the App Store">
    Go directly to: [chatgpt.com/apps/securelend](https://chatgpt.com/apps/securelend/asdk_app_69513da1b04881919f74ae07c00a11f2#)
  </Accordion>

  <Accordion title="Developer mode not available">
    Developer mode requires ChatGPT Plus or Enterprise. Upgrade your plan, or
    use Claude.ai (free tier supports integrations).
  </Accordion>

  <Accordion title="Agents not appearing after adding MCP server">
    1. Confirm the URL is `https://agents.securelend.ai/mcp` (not the marketplace URL)
    2. Start a new chat and click **+** to select the server
    3. Ask "list all tools" to verify the connection
  </Accordion>
</AccordionGroup>

### Wrong server URL

<Warning>
  The marketplace and agent endpoints are different:

  * **Marketplace:** `https://mcp.securelend.ai/mcp`
  * **Agents:** `https://agents.securelend.ai/mcp`

  Using the marketplace URL for underwriting agents (or vice versa) will
  give you the wrong set of tools.
</Warning>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Tool Reference" icon="book" href="/mcp/tools">
    All marketplace tools with parameters
  </Card>

  <Card title="Example Conversations" icon="messages" href="/mcp/financial-services">
    See tools in action
  </Card>

  <Card title="Underwriting Agents" icon="brain" href="https://securelend.ai/agents">
    Pitch deck precheck, IC memo, and more
  </Card>

  <Card title="Support" icon="life-ring" href="mailto:developers@securelend.ai">
    [developers@securelend.ai](mailto:developers@securelend.ai)
  </Card>
</CardGroup>
