HiddenContent
v0.4.18Check a document for hidden text before your agent reads it.
Values you need
| Variable | What it is | |
|---|---|---|
HCS_API_TOKEN | required secret | API token for the HiddenContent service. Get one at https://hiddencontent.ai/start?ref=mcp-registry — the server refuses to start without it and says so. |
HCS_URL | optional | Base URL of the service. Defaults to the hosted API; set it only when pointing at a self-hosted instance. |
HCS_CAPABILITIES | optional | Comma-separated list of what your agent can actually do. The only accepted values are `tool-use`, `network-egress` and `code-execution`. These turn on the checks for concealed text that instructs a model to call a tool, send data or run code — declaring more can raise severity and never lowers it, |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'HCS_API_TOKEN=<HCS_API_TOKEN>' -- npx -y --package=@hiddencontent/mcp@0.4.18 hiddencontent-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@hiddencontent/mcp@0.4.18",
"hiddencontent-mcp"
],
"command": "npx",
"env": {
"HCS_API_TOKEN": "<HCS_API_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@hiddencontent/mcp@0.4.18",
"hiddencontent-mcp"
],
"command": "npx",
"env": {
"HCS_API_TOKEN": "<HCS_API_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "HCS_API_TOKEN",
"id": "hcs-api-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@hiddencontent/mcp@0.4.18",
"hiddencontent-mcp"
],
"command": "npx",
"env": {
"HCS_API_TOKEN": "${input:hcs-api-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@hiddencontent/mcp@0.4.18", "hiddencontent-mcp"]
env = { "HCS_API_TOKEN" = "<HCS_API_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://api.hiddencontent.ai/v1/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://api.hiddencontent.ai/v1/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"url": "https://api.hiddencontent.ai/v1/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.hiddencontent.ai/v1/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.hiddencontent.ai/v1/mcp"]For AI agents
- Ask the user for: HCS_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: check_document, get_evidence.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json