# Install TextTree for Cursor

Canonical URL: https://texttree.ai/en/install/cursor/
Markdown URL: https://texttree.ai/en/install/cursor.md
Page type: install
Translation status: approved
Legal status: not_required

## Summary

Cursor starts OAuth from the remote MCP server configuration, requests scoped TextTree access, and returns after TextTree observes authenticated MCP activity. Use the bearer-token fallback only when Cursor cannot launch OAuth.

## Source content

Check that the MCP server URL is https://api.texttree.ai/mcp.
If Cursor does not open an OAuth prompt, review Cursor MCP logs and reconnect the server.
Confirm the approved scopes include mcp:read before verifying activation status.
For bearer-token fallback, set TEXTTREE_BEARER_TOKEN in your shell or system environment and reference it with ${env:TEXTTREE_BEARER_TOKEN}; do not paste tokens into committed files.
