API keys
When an MCP server needs an API key, and exactly what creating, regenerating or revoking one breaks and keeps working.
Most people never need an API key. Claude, ChatGPT and most AI apps connect by opening a sign-in window, where you click Allow access. No key needed.
An API key is for tools that can't show a sign-in window, such as Claude Code in a terminal or your own scripts. They send the key with every request instead.
Each MCP server can have one API key. The key reaches exactly the accounts its server reaches, with the same permissions.
Anyone with the key can use this MCP server's accounts. Plugsight shows a new key only once. Keep it on your own computer or server, never in a web page or an app people can download. If it leaks, regenerate or revoke it.
Create an API key
- Open MCP servers and click the server.
- Scroll to API key.
- Click Create API key.
- Copy the key from the API key created. box. Copy it now: it won't be shown again.
The box also shows a ready-made Claude Code command with your key filled in:
claude mcp add --transport http <server-name> <server-url> --header "Authorization: Bearer <your-key>"
The server's Details panel now shows API key: Active. The event is recorded in Activity.
Plugsight stores only a scrambled form (a hash) of the key, so nobody, including Plugsight, can show it to you again. If you lose it, regenerate it.
Regenerate the key
Use this when the key may have leaked, or you lost it.
- On the server's page, under API key, click Regenerate key.
- Read the Replace the API key? box, then click Replace key.
- Copy the new key from the API key created. box.
| What happens | You get a new key, and the current one stops working straight away. |
| What breaks until you update it | Anything using the current key, such as Claude Code or a script, gets refused until you paste in the new key. |
| What keeps working | Claude, ChatGPT and other apps that signed in with the browser aren't affected. |
Revoke the key
Use this when you no longer need a key at all.
- On the server's page, under API key, click Revoke key.
- Read the Revoke the API key? box, then click Revoke key.
| What happens | The key stops working straight away, and this server has no key until you create a new one. |
| What stops | Anything using the key, such as Claude Code or a script, is refused. |
| What keeps working | Claude, ChatGPT and other apps that signed in with the browser aren't affected. |
The Details panel then shows API key: None.
How API keys relate to other controls
- Disconnect all AI apps doesn't affect the API key. The key keeps working until you revoke it. See Disconnect AI apps or delete a server.
- Deleting the server deletes its API key too.
- Calls made with the key show in Activity like any other AI app, and all your safety settings apply: account switches, Allow changes, Pause, the daily email limit and approval.
- The same key also works with Plugsight's Developer API, on the Pro and Agency plans. Every Developer API call shows in Activity as "Developer API". See Developer API.