Skip to content

docs: add Connect AI Tools setup with MCP#84

Open
AllenAJ wants to merge 1 commit intoRequestNetwork:mainfrom
AllenAJ:docs/connect-ai-tools
Open

docs: add Connect AI Tools setup with MCP#84
AllenAJ wants to merge 1 commit intoRequestNetwork:mainfrom
AllenAJ:docs/connect-ai-tools

Conversation

@AllenAJ
Copy link

@AllenAJ AllenAJ commented Mar 23, 2026

Summary

  • Add new page: api-setup/connect-ai-tools
  • Document MCP setup for Claude Code and Cursor
  • Add Request Network MCP endpoint and llms.txt / llms-full.txt links
  • Add navigation entry under API Setup in docs.json

Why

Developers increasingly use AI coding tools. This page makes docs grounding setup explicit and copy-paste ready.

Test plan

  • Previewed page in Mintlify dev
  • Verified navigation entry appears under API Setup
  • Verified links and commands render correctly

Made with Cursor

Add a dedicated API setup page for connecting Claude Code and Cursor via MCP,
including Request Network Mintlify MCP and llms endpoints, then wire it into nav.

Made-with: Cursor
@greptile-apps
Copy link

greptile-apps bot commented Mar 23, 2026

Greptile Summary

This PR adds a new api-setup/connect-ai-tools documentation page and a corresponding docs.json navigation entry, giving developers copy-paste-ready instructions for connecting Claude Code or Cursor to Request Network docs via MCP, as well as llms.txt / llms-full.txt links for script-based pipelines.

Key points:

  • The MCP server URL, CLI command, and Cursor configuration fields are all accurate and self-consistent.
  • The docs.json placement (after getting-started, before the portal/API key management page) is logical.
  • Three style-guide violations from AGENTS.md are present in the new .mdx file: the Claude Code and Cursor sections should be wrapped in a <Tabs> component (the guide explicitly requires Tabs for platform alternatives), the "Verify the connection" step is missing a <Check> callout, and there is no troubleshooting section despite the guide requiring one for likely failure points.
  • No broken links, no secrets, and no functional regressions.

Confidence Score: 4/5

  • Safe to merge with minor style-guide fixes remaining.
  • The changes are purely additive documentation with no functional code. The MCP URL, CLI command syntax, and nav entry are all correct. The three P2 comments are all style-guide alignment issues (Tabs, Check callout, troubleshooting section) that improve the page but don't block it from being useful and accurate as-is.
  • api-setup/connect-ai-tools.mdx — three AGENTS.md style violations worth addressing before or after merge.

Important Files Changed

Filename Overview
api-setup/connect-ai-tools.mdx New page documenting MCP setup for Claude Code and Cursor; content is accurate and well-structured, but violates AGENTS.md guidelines by using separate H2 sections instead of <Tabs> for platform alternatives, omitting <Check> callouts in verification steps, and missing a troubleshooting section.
docs.json Adds api-setup/connect-ai-tools to the navigation under the "🔑 API Setup" group — minimal, correct change with valid JSON and sensible placement after getting-started.

Sequence Diagram

sequenceDiagram
    participant Dev as Developer / AI Tool
    participant CLI as Claude Code CLI
    participant Cursor as Cursor IDE
    participant MCP as requestnetwork.mintlify.app/mcp
    participant Docs as Request Network Docs

    Note over Dev,Docs: Claude Code setup
    Dev->>CLI: claude mcp add --transport http request-network-docs <url>
    CLI-->>Dev: Server registered
    Dev->>CLI: claude mcp list
    CLI-->>Dev: request-network-docs ✓

    Note over Dev,Docs: Cursor setup
    Dev->>Cursor: Add MCP server (name, transport HTTP, URL)
    Cursor-->>Dev: Server saved

    Note over Dev,Docs: Runtime doc query
    Dev->>CLI: Ask docs-grounded question
    CLI->>MCP: Query docs via MCP protocol
    MCP->>Docs: Fetch latest content
    Docs-->>MCP: Documentation response
    MCP-->>CLI: Structured answer
    CLI-->>Dev: Response grounded in live docs

    Note over Dev,Docs: Script / pipeline (no MCP client)
    Dev->>Docs: GET /llms.txt or /llms-full.txt
    Docs-->>Dev: Sitemap index or full Markdown
Loading

Reviews (1): Last reviewed commit: "docs: add Connect AI Tools setup page" | Re-trigger Greptile

Comment on lines +28 to +72
## Claude Code

<Steps>
<Step title="Add the MCP server">
Run:

```bash
claude mcp add --transport http request-network-docs https://requestnetwork.mintlify.app/mcp
```
</Step>
<Step title="Verify the connection">
List configured MCP servers:

```bash
claude mcp list
```

You should see `request-network-docs`.
</Step>
<Step title="Test a docs-grounded question">
In Claude Code, ask:

```text
How do I create a secure payment link and process webhook events?
```
</Step>
</Steps>

## Cursor

<Steps>
<Step title="Open MCP settings">
In Cursor, open MCP settings and add a new server.
</Step>
<Step title="Configure server">
Use:

- **Name**: `request-network-docs`
- **Transport**: `HTTP`
- **URL**: `https://requestnetwork.mintlify.app/mcp`
</Step>
<Step title="Validate in chat">
Ask a question about Request Network APIs and confirm the answer is grounded in docs content.
</Step>
</Steps>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Use <Tabs> for platform-specific alternatives

The AGENTS.md style guide explicitly states: "Use Tabs for platform-specific content or alternative approaches." Claude Code and Cursor are two alternative platforms, so they should be presented inside a <Tabs> component rather than as separate H2 sections. This keeps the page compact and follows the documented component selection policy.

Suggested change
## Claude Code
<Steps>
<Step title="Add the MCP server">
Run:
```bash
claude mcp add --transport http request-network-docs https://requestnetwork.mintlify.app/mcp
```
</Step>
<Step title="Verify the connection">
List configured MCP servers:
```bash
claude mcp list
```
You should see `request-network-docs`.
</Step>
<Step title="Test a docs-grounded question">
In Claude Code, ask:
```text
How do I create a secure payment link and process webhook events?
```
</Step>
</Steps>
## Cursor
<Steps>
<Step title="Open MCP settings">
In Cursor, open MCP settings and add a new server.
</Step>
<Step title="Configure server">
Use:
- **Name**: `request-network-docs`
- **Transport**: `HTTP`
- **URL**: `https://requestnetwork.mintlify.app/mcp`
</Step>
<Step title="Validate in chat">
Ask a question about Request Network APIs and confirm the answer is grounded in docs content.
</Step>
</Steps>
<Tabs>
<Tab title="Claude Code">
<Steps>
<Step title="Add the MCP server">
Run:
```bash
claude mcp add --transport http request-network-docs https://requestnetwork.mintlify.app/mcp
```
</Step>
<Step title="Verify the connection">
List configured MCP servers:
```bash
claude mcp list
```
You should see `request-network-docs`.
</Step>
<Step title="Test a docs-grounded question">
In Claude Code, ask:
```text
How do I create a secure payment link and process webhook events?
```
</Step>
</Steps>
</Tab>
<Tab title="Cursor">
<Steps>
<Step title="Open MCP settings">
In Cursor, open MCP settings and add a new server.
</Step>
<Step title="Configure server">
Use:
- **Name**: `request-network-docs`
- **Transport**: `HTTP`
- **URL**: `https://requestnetwork.mintlify.app/mcp`
</Step>
<Step title="Validate in chat">
Ask a question about Request Network APIs and confirm the answer is grounded in docs content.
</Step>
</Steps>
</Tab>
</Tabs>

Context Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +38 to +46
<Step title="Verify the connection">
List configured MCP servers:

```bash
claude mcp list
```

You should see `request-network-docs`.
</Step>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Add <Check> callout to verification step

The AGENTS.md style guide shows that verification/confirmation steps inside <Steps> should use a <Check> callout component. The current "Verify the connection" step lists the expected output inline but doesn't use <Check>, missing the documented pattern for confirming success.

Suggested change
<Step title="Verify the connection">
List configured MCP servers:
```bash
claude mcp list
```
You should see `request-network-docs`.
</Step>
<Step title="Verify the connection">
List configured MCP servers:
```bash
claude mcp list
```
<Check>
You should see `request-network-docs` in the list.
</Check>
</Step>

Context Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment on lines +91 to +103
## Related docs

<CardGroup cols={3}>
<Card title="Authentication" href="/api-reference/authentication" icon="key">
API key and Client ID usage patterns.
</Card>
<Card title="Webhooks" href="/api-reference/webhooks" icon="webhook">
Signature verification, retries, and payloads.
</Card>
<Card title="Secure Payment Integration Guide" href="/api-features/secure-payment-integration-guide" icon="link">
End-to-end wallet + client ID + webhook + payment link flow.
</Card>
</CardGroup>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Missing troubleshooting section

The AGENTS.md style guide requires: "Include troubleshooting for likely failure points." For an MCP setup page, there are predictable failure modes that users will encounter:

  • The server URL is unreachable (firewall, proxy)
  • Transport type mismatch (sse vs http depending on the Claude CLI version)
  • A duplicate server name already registered

Consider adding an <AccordionGroup> section before "Related docs" to cover these cases, for example:

## Troubleshooting

<AccordionGroup>
  <Accordion title="MCP server not appearing after `claude mcp list`">
    Ensure you ran the `claude mcp add` command without errors. Re-run it and check for any output. If the URL is behind a corporate proxy, set `HTTP_PROXY` / `HTTPS_PROXY` environment variables before running Claude Code.
  </Accordion>
  <Accordion title="Connection errors in Cursor">
    Verify the URL `https://requestnetwork.mintlify.app/mcp` is reachable from your machine. Try opening it in a browser — you should receive a valid response. If not, check your network or firewall settings.
  </Accordion>
  <Accordion title="`--transport http` flag not recognised">
    Older versions of Claude CLI may require `--transport sse` instead. Run `claude --version` and update to the latest release if needed.
  </Accordion>
</AccordionGroup>

Context Used: AGENTS.md (source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant