# AI IDE Integration

> Give your AI coding assistant the Bluetooth SDK docs in a form it can read.

Source: https://docs.glassly.ai/bluetooth-sdk/ai-ide-integration/

Point your AI coding assistant at the Glassly docs and it can help you build with the Bluetooth SDK. This works with Claude Code, Cursor, Zed, VS Code, Windsurf, and any agent that can fetch a URL.

## Machine-readable docs

The docs are published as plain Markdown alongside the HTML pages:

| URL | What it is |
| --- | --- |
| `https://docs.glassly.ai/bluetooth-sdk/llms.txt` | Index of the Bluetooth SDK pages. Start here. |
| `https://docs.glassly.ai/llms.txt` | Index of every Glassly docs page. |
| `https://docs.glassly.ai/llms-full.txt` | Every page in one Markdown file, for tools that load a whole doc set. |
| `https://docs.glassly.ai/<page>.md` | Any single page as Markdown, e.g. `https://docs.glassly.ai/bluetooth-sdk/quickstart.md`. |

Every page also has a page menu (top right) that copies it as Markdown or opens
it in ChatGPT, Claude, Perplexity, Cursor, or VS Code.

There is no hosted docs MCP server yet; use the URLs above.

## Add Glassly to your agent's instructions

Paste this into your project's `AGENTS.md`, `CLAUDE.md`, `.cursor/rules`, or the
equivalent rules file so the agent knows where to look:

```markdown
## Glassly Bluetooth SDK

This app connects to Mentra Live smart glasses with the Glassly Bluetooth SDK.

- Docs: fetch https://docs.glassly.ai/bluetooth-sdk/llms.txt, then the `.md`
  page you need (for example https://docs.glassly.ai/bluetooth-sdk/api-reference.md).
- Pin the SDK to one release; the Android, iOS, and React Native packages and
  the Mentra Live software share a release identity.
```

## Setup by tool

### Claude Code

Add the snippet above to `CLAUDE.md` in your project. Claude Code fetches the
`llms.txt` and `.md` URLs when it needs them.

### Cursor

Add `https://docs.glassly.ai/llms-full.txt` as a doc source in Cursor's docs
settings, reference it with `@Docs` in chat, and add the snippet above to
`.cursor/rules`.

### Zed, VS Code, Windsurf, and others

Add the snippet above to the tool's rules or instructions file (most of them
read `AGENTS.md`). If the tool can index a docs URL, give it
`https://docs.glassly.ai/llms-full.txt`.

## Test it out

After setup, try asking your AI assistant:

- *"How do I stream video from Mentra Live?"*
- *"Show me how to use the camera API"*
- *"What events can I subscribe to with useBluetoothEvent?"*
- *"How do I check for a Mentra Live OTA update?"*

## What's Next?

- [Quickstart](https://docs.glassly.ai/bluetooth-sdk/quickstart.md)
Run a complete example app and connect to Mentra Live
- [Build from Scratch](https://docs.glassly.ai/bluetooth-sdk/build-from-scratch.md)
Add the SDK to your own mobile app
