Skip to main content
MarStack.Beta

AI apps and tokens

Most AI apps connect to MarStack by signing in, with no token. Tokens are for Claude Code, the npm package and scripts.

Connect by signing in (Claude, ChatGPT, Gemini, Cursor, VS Code)

  1. In your app, add a custom connector (or MCP server) with the address https://mcp.getinlytics.com/mcp.
  2. The app opens MarStack. Sign in, choose the workspace and click Allow.
  3. Back in the app, ask "Is MarStack connected?".

The setup guides show where the setting is in each app.

  • Your AI app account can be different from your MarStack account. For example, Claude signed in as one email can connect to a MarStack account with another. The connection uses the MarStack account and workspace you chose on the Allow page.
  • Gemini may ask for a Client ID and Client Secret. Create them in the Gemini section of Connections, AI apps, using the redirect URI Gemini shows.
  • Each connection shows in Connected apps (Connections, AI apps), with the credits it used and a Disconnect button.
  • The app renews its sign-in by itself. A connection unused for 30 days asks you to sign in again.

On Starter, Pro and Agency, MarStack Analyst is on in every connected app: plain business questions follow the same analyst method as MarStack Intelligence.

Create a token

  1. Open Connections, AI apps in the dashboard.
  2. Give it a name you will recognise later, such as "Claude Code - work laptop".
  3. Copy the token, or the ready-made config for your client. The full token is shown only once.

Tokens start with msk_live_. MarStack stores only a SHA-256 hash, so nobody, including us, can read your token back. If you lose one, revoke it and create another.

One token per client

Use a separate token for each app and computer. Usage (under Plan and usage) then shows which client used which credits, and you can revoke one without touching the others. You can have up to 20 active tokens.

Revoke a token or disconnect an app

Click Revoke next to a token, or Disconnect next to a connected app. It stops working at once, and the app gets a message saying so.

Keep tokens private

  • Do not paste a token into a shared document, a chat or a public repository.
  • Project config files such as .vscode/mcp.json can end up in git. Prefer user-level config, or keep the file out of version control.
NextTool reference