Skip to main content

Connect clients

All clients use the same address:

MCP server address
https://lantfly.com/mcp

Clients with MCP OAuth need nothing else: they open a Lantfly page where you sign in, pick the account and click Allow. Clients without OAuth send an API token instead.

Works in Claude on the web and in Claude Desktop.

  1. Open Settings → Connectors.
  2. Click Add custom connector.
  3. Enter a name (for example Lantfly) and paste https://lantfly.com/mcp as the URL.
  4. Click Connect. Claude opens Lantfly: sign in, pick the account, choose read-only if you like, and click Allow.
  5. In a chat, enable the Lantfly connector from the tools menu and ask away.
tip

When the consent page asks, tick Read-only for an assistant that should only look: it can search actors and read runs, results and listening data, but can't start runs or change anything.

API token​

Use this when a client has no MCP OAuth, for servers and CI, or when you want a scoped token (for example limited to one actor or to listening.read). Create the token under Settings → API & integrations in the Console.

Terminal
claude mcp add --transport http lantfly https://lantfly.com/mcp \
--header "Authorization: Bearer $LANTFLY_TOKEN"
warning

A token in a config file or URL is a secret. Don't commit it; prefer a scoped token, and regenerate it if it leaks.

Act for an organization​

  • OAuth: pick the organization on the consent page. To use another organization, connect the app again and pick it. An OAuth connection can't switch accounts with a header.
  • API token: add X-Lantfly-Account: <organization id> to the headers, or use a token created while you act for the organization. See Organizations.

Give an actor its own tool​

Add ?actors= with up to 20 actor slugs or IDs, comma separated, and each becomes a tool whose arguments are that actor's input:

Address with two actor tools
https://lantfly.com/mcp?actors=lantfly~tiktok-scraper,lantfly~web-scraper

The tools are named after the slug with ~ replaced by --, for example lantfly--tiktok-scraper. The AI & MCP page in the Console builds this address for you under Actors as their own tools. See Per-actor tools.

Check the connection​

Ask the assistant "Which Lantfly tools do you have?", or call the server yourself:

List tools
curl https://lantfly.com/mcp \
-H "Authorization: Bearer $LANTFLY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

If something fails, see Troubleshooting.