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

# Connect Case.dev to ChatGPT

> Add Case.dev to ChatGPT as a remote MCP connector with OAuth.

Connect Case.dev to ChatGPT so your team can create matters, search vaults, run OCR, and complete legal workflows without leaving ChatGPT.

<Tip>
  ChatGPT supports remote MCP connectors, so you can connect Case.dev directly.
</Tip>

## Add the connector

1. Open ChatGPT **Settings**.
2. Go to **Connectors**.
3. If needed, enable **Developer mode** in **Connectors → Advanced**.
4. Add a custom remote MCP server.
5. Enter the Case.dev endpoint:

```text title="Remote MCP endpoint" theme={"theme":{"light":"github-light","dark":"one-dark-pro"}}
https://api.case.dev/mcp
```

6. Sign in to Case.dev and approve access.

## Authentication flow

When you add the connector, ChatGPT sends you to Case.dev to sign in and approve access. After that, your tools are available in chat.

```mermaid theme={"theme":{"light":"github-light","dark":"one-dark-pro"}}
sequenceDiagram
  participant ChatGPT
  participant Router as api.case.dev
  participant Console as console.case.dev

  ChatGPT->>Router: Connect to /mcp
  Router-->>ChatGPT: Protected-resource metadata
  ChatGPT->>Console: Open OAuth approval
  Console->>Console: User signs in and approves
  Console->>Router: Exchange code for token
  Router-->>ChatGPT: MCP bearer token
  ChatGPT->>Router: Invoke Case.dev tools
```

## First workflow to try

Start with a simple matter setup flow:

1. `Create a matter called Johnson v. Acme Corp.`
2. `Upload the complaint into the matter vault.`
3. `Create a work item to extract the parties, claims, court, and deadlines.`
4. `Poll the work item until it completes.`
5. `Return the output and download link details.`

This is a quick way to confirm that Case.dev is connected and ready to use.

## Example prompts

* `Set up a new matter for this dispute and create the first legal ops checklist.`
* `Search the vault for arbitration clauses and compare the top results.`
* `Run OCR on these exhibits and tell me which pages were low confidence.`
* `Run legal research on Delaware forum-selection enforcement and save the answer to the matter.`

## Troubleshooting

<AccordionGroup>
  <Accordion title="The server connects but no tools run">
    Refresh the connector and start a new chat. ChatGPT can keep a previous tool list or sign-in
    state until the connector is refreshed.
  </Accordion>

  <Accordion title="OAuth succeeds but the connector still shows an error">
    Remove the connector, add it again, and complete the approval flow one more time. This usually
    clears saved connector details from an earlier setup attempt.
  </Accordion>

  <Accordion title="I only want a smaller tool surface">
    Limit the tools exposed in your connector configuration if your workspace supports tool
    filtering.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="MCP Reference" href="/casedev-mcp/index">
    See the Case.dev MCP endpoint and available tools.
  </Card>

  <Card title="Skills" href="/skills/index">
    Pair the MCP server with reusable legal skills.
  </Card>
</CardGroup>
