Secretctl MCP Server

When you paste `sk-proj-xxx` into Claude Code, that secret is now in your conversation history, Anthropic's logs, and potentially exposed to prompt

Local serverstdioTypeScript

What is the Secretctl MCP server?

When you paste sk-proj-xxx into Claude Code, that secret is now in your conversation history, Anthropic's logs, and potentially exposed to prompt injection attacks. Exposed over MCP by the secretctl mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

Its toolset

Everything the assistant can do here goes through one of these:

  • Core — The Core tool exposed by this server

Configuration

You will need 4 environment variables: SECRETCTL_PASSWORD, AWS_ACCESS_KEY_ID, OPENAI_API_KEY, TEMP_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

When to reach for it

This sits in the monitoring and observability group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Secretctl's toolset — Core — is a fair guide to whether it matches your workflow. It is maintained by forest6511; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the secretctl mcp server does with a few real requests.

Available tools

ToolWhat it does
CoreThe Core tool exposed by this server.

Configuration

VariableDescriptionRequired
SECRETCTL_PASSWORDCredential the server authenticates with.Yes
AWS_ACCESS_KEY_IDCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
TEMP_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Secretctl to Core.

Frequently asked questions

It connects Secretctl to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Core) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Secretctl directly.