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

# Build with AI

> AI tools and integrations for building on OMS with your IDE or coding assistant.

## Add docs context to your AI assistant

### Docs MCP Server

The Polygon Docs MCP Server gives your AI assistant direct, real-time access to these docs — no web search, no stale index. This is a **documentation lookup server**: it lets your assistant search across guides, API reference, and code examples. It does not execute code or connect to any Polygon services.

It works with Claude Code, Cursor, VS Code, and any MCP-compatible client.

<CodeGroup>
  ```bash Claude Code theme={null}
  claude mcp add --transport http "Polygon Docs" https://docs.polygon.technology/mcp
  ```

  ```json Cursor (mcp.json) theme={null}
  {
    "mcpServers": {
      "Polygon Docs": {
        "url": "https://docs.polygon.technology/mcp"
      }
    }
  }
  ```

  ```json VS Code (.vscode/mcp.json) theme={null}
  {
    "servers": {
      "Polygon Docs": {
        "type": "http",
        "url": "https://docs.polygon.technology/mcp"
      }
    }
  }
  ```
</CodeGroup>

Once connected, your assistant can search across guides, API reference, and code examples using the `search_mintlify` tool.

### Context7

[Context7](https://context7.com/) is the de facto standard for library documentation in AI coding tools. It indexes public documentation and makes it available as an MCP server that your assistant can query by library name — no manual configuration per library required.

Polygon documentation is indexed on Context7. To use it:

<Steps>
  <Step title="Install the Context7 MCP server">
    Add Context7 to your AI tool's MCP configuration. It's a single install that covers all indexed libraries, including Polygon.

    <CodeGroup>
      ```bash Claude Code theme={null}
      claude mcp add --transport stdio context7 -- npx -y @upstash/context7-mcp@latest
      ```

      ```json Cursor / VS Code (mcp.json) theme={null}
      {
        "mcpServers": {
          "context7": {
            "command": "npx",
            "args": ["-y", "@upstash/context7-mcp@latest"]
          }
        }
      }
      ```
    </CodeGroup>
  </Step>

  <Step title="Reference the Polygon library in your prompts">
    The Polygon Developer Docs are indexed at Context7 under the library ID `llmstxt/polygon_technology_llms_txt`. You can reference this directly in any prompt:

    ```
    Use context7 library llmstxt/polygon_technology_llms_txt to find the Polygon documentation on embedded wallets.
    ```

    Or just ask your assistant naturally — Context7 will resolve the library from the name "Polygon":

    ```
    Use context7 to find the Polygon docs on stablecoin onramps.
    ```
  </Step>
</Steps>

### skill.md

`skill.md` is a machine-readable capability file that tells AI agents what they can build with OMS — available workflows, required inputs, and integration constraints.

View it at:

```
https://docs.polygon.technology/skill.md
```

Install it into any agent or coding environment with the skills CLI:

```bash theme={null}
npx skills add https://docs.polygon.technology
```

The generated file covers:

* **Capabilities** — what agents can accomplish with OMS products
* **Skills** — specific actions organized by product area (Payments, Wallets, Trails, Chain Development Kit (CDK), Agglayer)
* **Workflows** — step-by-step procedures for common integration tasks
* **Integration** — supported tools, SDKs, and services
* **Context** — OMS architecture and key concepts

Agents can also discover and verify the skill file programmatically:

```
GET https://docs.polygon.technology/.well-known/agent-skills/index.json
```

### llms.txt

For AI assistants that accept context files directly (Cursor rules, Claude project docs, system prompts), add the `llms.txt` URL as a reference. This file lists all documentation pages with descriptions so agents know where to find information.

```
https://docs.polygon.technology/llms.txt
```

In Cursor, add to `.cursorrules`:

```
Use https://docs.polygon.technology/llms.txt as a reference for all OMS developer documentation including embedded wallets, Trails API, Polygon CDK, and the Open Money Stack.
```

<Tip>
  `llms.txt` is a directory — it lists all pages so agents know where to look. `skill.md` is a capability summary — it tells agents what they can build and how. Use both together for the best results.
</Tip>
