Connect Claude Code, Cursor, or VS Code with an API key

Create an API key under Settings, API & MCP, choose what it may do, and give it to your editor or command-line tool. Keys are shown once and can be rotated or revoked.

Last updated Nov 30, 2026

Editors, command-line tools, and your own scripts connect to Soontra with an API key instead of a sign-in. You create the key in Soontra, choose what it may do, and paste it into the tool.

Only workspace owners and admins can create and manage API keys. A key acts for the person who created it, in one workspace.

Create a key

  1. In Soontra, open Settings, then API & MCP, and switch to API.
  2. Choose Create New.
  3. Name the key (up to 80 characters) and set what it may do: an optional expiry date, a switch for each permission (read is always on), and an optional list of up to 20 IP addresses or CIDR blocks the key may be used from.
  4. Copy the key. It is shown once.

Keys start with soontra_sk_live_. Soontra stores only a hash of the key, so a lost key cannot be recovered: create another.

A new key starts with read only. Add the other permissions one by one, and give each key only what its tool needs. See what a connected app is allowed to do.

Give the key to your tool

Every tool uses the same link, https://app.soontra.com/api/mcp, and sends the key with each request. The exact command or settings file for each tool is in the docs:

  • Claude Code: add Soontra with one command. See connect Claude Code.
  • Cursor: add Soontra and your key in Cursor's MCP settings. See connect Cursor.
  • VS Code: add Soontra to GitHub Copilot's agent mode. VS Code asks for the key once and stores it. See connect VS Code.

Muse, a chat app, also uses a key: see connect Muse. To call Soontra from your own code, see call it from code.

Then ask the tool:

List my projects in Soontra.

If it answers with your projects, the key works.

Keep keys safe

Treat a key like a password. Keep it out of chats, shared settings files, and version control.

Rotate and revoke

Manage keys under Settings, API & MCP, API.

  • Rotate makes a new key with the same name and permissions and revokes the old one. The new key is shown once.
  • Revoke stops a key at once and cannot be undone.
  • The workspace owner can revoke every key at once.
  • A workspace can hold 25 active keys. Revoke one to make room for another.

A key also stops working when it reaches its expiry date, or when the person who created it is removed from the workspace or is no longer an owner or admin.

If a key does not work

A missing, wrong, expired, or revoked key always gets the same refusal, so the tool cannot tell you which it was. Check that:

  • the whole key was pasted, starting with soontra_sk_live_,
  • the key has not expired or been revoked,
  • you are using it from an allowed IP address, if the key has an IP list,
  • you are still an owner or admin of the workspace.

If the tool connects but says a tool is not available, the key lacks that permission. Create a key with the permission it needs.

More detail: authentication in the docs.

Give your AI a memory.

Every file, frame and result your team has made, in one workspace your AI can search.