Honeytokens as Code MCP
An open-source toolkit providing an MCP server, Agent Skill, and CLI that enables AI coding agents like Claude Code and Cursor to autonomously plant realistic AWS canary keys and webhook honeytokens within repositories. These decoys are designed to blend in with legitimate code, allowing security teams to detect unauthorized access or secret leaks via alerts sent through CloudTrail, Slack, or Discord.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Plant AWS canary credentials in repositories
- Deploy webhook honeytoken traps
- Alert via CloudTrail, Slack, or Discord
- Detect secret leaks and unauthorized access
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
honeytokens-as-code 0.5.3
{
"version": "0.5.3",
"transport": "stdio",
"identifier": "honeytokens-as-code",
"registryType": "npm",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "HONEYTOKEN_BASE_URL",
"description": "Public URL of your alert server, used in webhook traps (default http://127.0.0.1:8787)"
},
{
"name": "HONEYTOKEN_HOME",
"description": "Data directory for the trap registry and alert log (default ~/.honeytoken)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"honeytokens-as-code-mcp": {
"command": "npx",
"args": [
"-y",
"honeytokens-as-code@0.5.3",
"mcp"
],
"env": {
"HONEYTOKEN_BASE_URL": "<YOUR_HONEYTOKEN_BASE_URL>",
"HONEYTOKEN_HOME": "<YOUR_HONEYTOKEN_HOME>"
}
}
}
}Cline
{
"mcpServers": {
"honeytokens-as-code-mcp": {
"command": "npx",
"args": [
"-y",
"honeytokens-as-code@0.5.3",
"mcp"
],
"env": {
"HONEYTOKEN_BASE_URL": "<YOUR_HONEYTOKEN_BASE_URL>",
"HONEYTOKEN_HOME": "<YOUR_HONEYTOKEN_HOME>"
}
}
}
}VS Code
{
"servers": {
"honeytokens-as-code-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"honeytokens-as-code@0.5.3",
"mcp"
],
"env": {
"HONEYTOKEN_BASE_URL": "<YOUR_HONEYTOKEN_BASE_URL>",
"HONEYTOKEN_HOME": "<YOUR_HONEYTOKEN_HOME>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"honeytokens-as-code-mcp": {
"command": "npx",
"args": [
"-y",
"honeytokens-as-code@0.5.3",
"mcp"
],
"env": {
"HONEYTOKEN_BASE_URL": "<YOUR_HONEYTOKEN_BASE_URL>",
"HONEYTOKEN_HOME": "<YOUR_HONEYTOKEN_HOME>"
}
}
}
}Let your agent find its tools
Find servers like Honeytokens as Code MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.