diff --git a/api-setup/connect-ai-tools.mdx b/api-setup/connect-ai-tools.mdx new file mode 100644 index 0000000..bac96e9 --- /dev/null +++ b/api-setup/connect-ai-tools.mdx @@ -0,0 +1,103 @@ +--- +title: "Connect AI Tools" +description: "Connect Claude Code or Cursor to Request Network docs via MCP for live, queryable documentation access." +--- + +## Overview + +Give your AI coding tools live access to Request Network docs. Once connected via MCP, your tool can search current documentation in real time instead of relying on stale snapshots. + +## What is MCP? + +The Model Context Protocol (MCP) is an open standard that lets AI applications connect to external tools and data sources in a consistent way. + +When you connect docs through MCP, your assistant can query: + +- Latest documentation content +- Updated endpoint details +- Current integration guides and examples + +## MCP server URL + +Use: + +```text +https://requestnetwork.mintlify.app/mcp +``` + +## Claude Code + + + + Run: + + ```bash + claude mcp add --transport http request-network-docs https://requestnetwork.mintlify.app/mcp + ``` + + + List configured MCP servers: + + ```bash + claude mcp list + ``` + + You should see `request-network-docs`. + + + In Claude Code, ask: + + ```text + How do I create a secure payment link and process webhook events? + ``` + + + +## Cursor + + + + In Cursor, open MCP settings and add a new server. + + + Use: + + - **Name**: `request-network-docs` + - **Transport**: `HTTP` + - **URL**: `https://requestnetwork.mintlify.app/mcp` + + + Ask a question about Request Network APIs and confirm the answer is grounded in docs content. + + + +## Scripts and `llms.txt` + +If you are building scripts or pipelines without an MCP client, use: + +| URL | Use | +| --- | --- | +| `https://requestnetwork.mintlify.app/llms.txt` | Sitemap-style index of pages and descriptions | +| `https://requestnetwork.mintlify.app/llms-full.txt` | Full documentation in one Markdown file | + +Mintlify generates these files on deployment and keeps them in sync with live docs. + +## Suggested verification prompts + +- "How do I configure webhook signature validation in Request Network?" +- "What is the difference between secure payments and standard requests?" +- "Which headers are required when using x-client-id?" + +## Related docs + + + + API key and Client ID usage patterns. + + + Signature verification, retries, and payloads. + + + End-to-end wallet + client ID + webhook + payment link flow. + + diff --git a/docs.json b/docs.json index 3e497ac..6245296 100644 --- a/docs.json +++ b/docs.json @@ -66,6 +66,7 @@ "group": "🔑 API Setup", "pages": [ "api-setup/getting-started", + "api-setup/connect-ai-tools", "request-network-api/api-portal-manage-api-keys-and-webhooks", "api-setup/migrate-to-v2" ]