Capture and save a markdown note from a Claude Code session with auto-generated description.
AI agents use capture_session_note to create or update resources in Second Brain MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Second Brain MCP Server environment.
This tool creates/persists new markdown notes in a local knowledge base. It is reversible (notes can be edited or deleted later), has no destructive capability, executes no external code, and involves no financial transactions. The blast radius of misuse is minimal — at worst, an agent creates unwanted notes that clutter the system but can be removed.
From the tool's definition The tool 'capture_session_note' 'Capture[s] and save[s] a markdown note' — explicitly creating and storing new data records.
Attacks that exploit this kind of access
Capture and save a markdown note from a Claude Code session with auto-generated description. It is categorised as a Write tool in the Second Brain MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Second Brain MCP Server MCP server in PolicyLayer and add a rule for capture_session_note: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Second Brain MCP Server. Nothing to install.
capture_session_note is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the capture_session_note rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for capture_session_note. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
capture_session_note is provided by the Second Brain MCP Server MCP server (vocoufi/second-brain-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →