docs: add Connect AI Tools setup with MCP#84
docs: add Connect AI Tools setup with MCP#84AllenAJ wants to merge 1 commit intoRequestNetwork:mainfrom
Conversation
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 SummaryThis PR adds a new Key points:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
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
Reviews (1): Last reviewed commit: "docs: add Connect AI Tools setup page" | Re-trigger Greptile |
| ## 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> |
There was a problem hiding this comment.
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.
| ## 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!
| <Step title="Verify the connection"> | ||
| List configured MCP servers: | ||
|
|
||
| ```bash | ||
| claude mcp list | ||
| ``` | ||
|
|
||
| You should see `request-network-docs`. | ||
| </Step> |
There was a problem hiding this comment.
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.
| <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!
| ## 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> |
There was a problem hiding this comment.
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 (
ssevshttpdepending 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)
Summary
api-setup/connect-ai-toolsllms.txt/llms-full.txtlinksdocs.jsonWhy
Developers increasingly use AI coding tools. This page makes docs grounding setup explicit and copy-paste ready.
Test plan
Made with Cursor