N Docs
← Back to site

Connect AI assistants

2 min readUpdated November 23, 2026

Let Claude, Cursor, VS Code and other AI assistants find, make and change your site’s short links and read their clicks. They only ever see this site’s links.

Settings > AI assistants with Set up AI access and a token

What you can ask#

  • “Which of our links got the most clicks this week?”
  • “Make a short link to our new menu, ending menu.”
  • “Where are the people clicking our Instagram link?”
  • “Turn off the Black Friday link.”

Set it up#

Your plan must include AI access.

  1. Go to Settings > AI assistants.
  2. Tick Read only if the assistant should only look.
  3. Click Set up AI access. It turns AI access on, makes a token and checks your site answers.
  4. Add it to Cursor or VS Code with one more click, or copy the command for Claude Code:
claude mcp add --transport http my-links https://yoursite.com/wp-json/nahnu-links-client/v1/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"

For other apps#

The Server address is like https://yoursite.com/wp-json/nahnu-links-client/v1/mcp. Assistants sign in with Authorization: Bearer YOUR_TOKEN (or an X-MCP-Token header).

Tokens#

Make one token per app under Tokens, so you can remove one on its own. Copy a token when it’s shown; it isn’t shown again. Treat it like a password.

What assistants can do#

CanRead only token
Search links, read one link, read analyticsYes
List your domains and planYes
Make, change and delete linksNo

They ask before deleting. Your plan’s limits apply, the same as on screen.

Turn it off#

To stop all AI access, turn off Turn on AI access for this site. To stop one app, remove its token.