> For the complete documentation index, see [llms.txt](https://monoprotocol.gitbook.io/monoprotocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://monoprotocol.gitbook.io/monoprotocol/advanced-concepts/building-with-llms.md).

# Building with LLMs

We provide two continuously updated files designed for AI ingestion:

* <mark style="color:$success;">**llms.txt**</mark> — A concise list of top-level pages for quick context.
* <mark style="color:$success;">**llms-full.txt**</mark> — The complete documentation for full-context indexing.

Use these URLs in your custom GPTs or LLM-powered apps to get accurate, Mono Protocol-specific answers.

**Plain Text Docs**

Any documentation page can be accessed as **Markdown** by appending <kbd><mark style="color:$success;">.md<mark style="color:$success;"></kbd> to the URL.\
For example:

/ai/building-with-llms.md

This format makes it easier for AI tools to consume content by providing:

* Fewer formatting tokens
* Complete content (including hidden tabs)
* Proper markdown hierarchy

**Code Editor Integration**

**Cursor Setup**

1. Go to **Cursor Settings > Indexing & Docs**
2. Select “**Add Doc**” and paste:

Then use:

@docs -> Mono Protocol

to reference docs directly in your code.

**MCP Server Integration**

**Hosted MCP (Recommended)**

Connect directly to Mono Protocol via our hosted MCP server. Just add it to your AI tool (Claude, Cursor, etc.) for instant access to documentation search and live Mono Protocol API functions.

**Self-Hosted MCP (Advanced)**

For advanced users who prefer local setup:

npx mint-mcp add Mono Protocol-d7e5d4d0

Both options provide:

* Documentation search
* Live Mono Protocol API functions
* Seamless integration with AI-powered dev tools


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://monoprotocol.gitbook.io/monoprotocol/advanced-concepts/building-with-llms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
