SIEMen
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SIEMenStore a critical RCE finding for engagement pentest-01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SIEMen
Security-focused AI data layer on Cloudflare Workers. Purpose-built for AI security agents — combines fast KV scratch cache, semantic vector search over findings, per-engagement agent memory, and a similarity-based LLM triage cache. Exposes both a REST API and a built-in MCP server so Claude/AI agents can read, write, and search security data directly.
Stack
Layer | Technology | Details |
Runtime | Cloudflare Workers | Edge-native, globally distributed, zero cold starts |
Framework | Hono v4 + TypeScript | Lightweight routing, CORS, middleware |
Database | Cloudflare D1 (SQLite) | Engagements, findings, memory, semantic cache log |
Vector Search | Cloudflare Vectorize | 768-dim BGE embeddings, cosine similarity, namespace-isolated per engagement |
KV Cache | Workers KV | Fast scratch store + semantic cache values |
Embeddings | Workers AI (BGE-768) | Primary — OpenRouter fallback on failure |
Rate Limiting | Workers Rate Limiting API | 60 req/min per caller (cross-isolate, durable) |
Auth | Web Crypto SHA-256 | Timing-safe Bearer token verification |
MCP | JSON-RPC 2.0 | 9 tools on |
Related MCP server: Memory MCP Worker
What It Does
Fast KV Scratch Cache
Per-engagement key/value store for in-flight agent notes, intermediate results, and shared state across agent steps. Namespaced to prevent cross-engagement leakage. Optional TTL (max 24h).
Semantic Vector Search
Embed and store security findings, CVEs, and controls with finding_store. Retrieve the closest matches by semantic similarity with finding_search. Namespace-scoped to engagement — an agent searching for "SQL injection" can only surface findings from its own engagement.
Per-Engagement Agent Memory
Agents store notes with engagement_remember and recall them by recency or vector similarity with engagement_recall. Supports sub-scoping by session_id for multi-step workflows.
Semantic LLM Triage Cache
semantic_triage routes security prompts through a two-level cache before hitting an LLM:
Exact-hash short-circuit — identical prompts reuse prior analysis instantly
Cosine similarity check — prompts above the configured threshold (default 0.92) return a cached response without an LLM call
Miss — calls the configured LLM gateway, writes result to KV + Vectorize for future hits
Cuts LLM spend significantly when agents analyze structurally similar findings across engagements.
MCP Tools
Tool | Description |
| Create or register a new pentest engagement |
| Read from the fast KV scratch store |
| Write to the fast KV scratch store (optional TTL) |
| Embed and store a finding, CVE, or control |
| Semantic RAG over findings scoped to an engagement |
| Store agent memory for an engagement |
| Recall memories by recency or vector similarity |
| Semantic-cache-backed LLM triage |
| Get cache hit/miss stats for an engagement |
REST Routes
All /v1/* routes require Authorization: Bearer <SIEMEN_API_KEY>.
Method | Path | Description |
GET |
| Health check (unauthenticated) |
POST |
| Create/upsert an engagement |
POST |
| Embed + store a finding/CVE/control |
POST |
| Semantic search over findings |
GET |
| Cache hit/miss stats |
GET |
| KV scratch read |
PUT |
| KV scratch write |
POST |
| Store agent memory |
GET |
| Recall agent memories |
POST |
| Semantic triage with LLM cache |
POST |
| MCP JSON-RPC endpoint (all 9 tools) |
D1 Schema
Apply migrations in order with wrangler d1 execute siemen-db --remote --file migrations/<file>.sql:
engagements — engagement registry (id, name, client, status, timestamps)
memory — agent memory per engagement (content, tags, vector_id, session_id)
findings — security findings/CVEs/controls (kind, title, body, severity, asset, external_id, vector_id)
semantic_cache_log — cache outcome log (prompt_hash, outcome, similarity, model, tokens, created_at)
Deploy
# 1. Create infrastructure
wrangler vectorize create siemen-vectors --dimensions=768 --metric=cosine
wrangler d1 create siemen-db
wrangler kv namespace create siemen-sc-cache
wrangler kv namespace create siemen-kv
# 2. Update wrangler.toml with the returned IDs
# 3. Apply D1 migrations (run in order)
wrangler d1 execute siemen-db --remote --file migrations/migration-001-engagements.sql
wrangler d1 execute siemen-db --remote --file migrations/migration-002-memory.sql
wrangler d1 execute siemen-db --remote --file migrations/migration-003-findings.sql
wrangler d1 execute siemen-db --remote --file migrations/migration-004-semantic-cache-log.sql
# 4. Set secrets
wrangler secret put SIEMEN_API_KEY
wrangler secret put OPENROUTER_API_KEY
wrangler secret put LLM_GATEWAY_KEY
# 5. Deploy
npm run deployMCP Configuration
Add to your Claude Desktop / Claude Code MCP config:
{
"mcpServers": {
"siemen": {
"url": "https://your-worker.workers.dev/mcp",
"headers": {
"Authorization": "Bearer ${SIEMEN_API_KEY}"
},
"alwaysAllow": [
"engagement_open",
"sec_cache_get",
"finding_search",
"engagement_recall",
"cache_stats"
]
}
}
}Set SIEMEN_API_KEY in your shell environment. Write tools (finding_store, sec_cache_set, engagement_remember, semantic_triage) require explicit approval by default.
Security
All
/v1/*and/mcproutes require aBearertoken verified with Web Crypto SHA-256 (no Node.js crypto — edge-compatible)Findings are namespace-scoped to
engagement_idin Vectorize — cross-engagement leakage is impossible at the query layerSecrets via
wrangler secret putonly — never in source orwrangler.tomlRate limited at 60 req/min per token identity (not per IP)
See SECURITY.md for vulnerability reporting.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DevCraftXCoder/SIEMen'
If you have feedback or need assistance with the MCP directory API, please join our Discord server