How-to guide
Connect an AI assistant
Let an AI assistant such as Claude Code or Cursor read the findings of your workspace through the MCP server, and triage them when you allow it.
API and MCP #
Programs can use your workspace in two more ways:
- The REST API at
/api/v1, for scripts, dashboards, and other tools. - The MCP server at
/mcp, for AI assistants such as Claude Code and Cursor. MCP is the Model Context Protocol.
Both are off in a new workspace. Each one needs a switch that an admin turns on, and a token with that channel in its rights.
Turn the API or MCP on #
- As an admin, open Settings › Access › API and MCP access.
- Select the switch of API access or MCP access. It changes from
Off
toOn
, and the page showsSaved
. - Copy the API base URL or the MCP URL from the same section.
- On the Access tokens page, make a token with a preset for that channel.

- The switches. Each one shows its state.
- The base URL of the REST API.
- The URL of the MCP server.
Under the switches, Allowed addresses holds the networks from which a token can use the API and the MCP server, one per line. Leave it empty to allow every address. The section shows Your address, and warns when the list leaves it out. The list also holds for a sign-in with a token. It does not hold for a person who signs in with a sign-in provider, so you cannot lock yourself out of the page. It does not hold for the CLI or the agent. Each token can also have a list of its own.
- When you turn a switch off, every token stops on that channel at once. The other channels continue to work.
- The CLI and the browser work with both switches off.
- If the section has no switch for a channel, the channel is not available for your workspace. Contact TuxCare.
Connect the assistant #
The MCP URL is https://name.sc.tuxcare.cloud/mcp. Use a token with the AI assistant preset, or AI assistant with triage if the assistant may triage findings. Each person uses a token of their own user.
Claude Code:
claude mcp add --transport http securechain https://name.sc.tuxcare.cloud/mcp \
--header "Authorization: Bearer <token>"
Cursor: add the server to ~/.cursor/mcp.json, or to .cursor/mcp.json in your project:
{
"mcpServers": {
"securechain": {
"url": "https://name.sc.tuxcare.cloud/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
Another assistant: each assistant that can use a remote MCP server over HTTP works. Give it the MCP URL, and the token in the header Authorization: Bearer <token>, as in the examples above.
Do not commit a file that holds a token. Then ask the assistant, for example, Which critical findings are open on the default branch of web-shop?
. The MCP tools lists what it can do, and Recipes gives more tasks.
When the assistant cannot connect #
An AI assistant shows a 401, 403, or 404 as a connection error. Check that MCP access is on, that the token has the AI assistant preset, and that the address of the assistant is allowed. When the portal refuses a request lists each answer.
Next: The MCP tools