localnest_memory_store
Store durable local memory entries for AI agents to access knowledge and preferences from your codebase, keeping all data and processing on your local machine.
Instructions
Store a durable local memory entry.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | knowledge | |
| title | Yes | ||
| summary | No | ||
| content | Yes | ||
| status | No | active | |
| importance | No | ||
| confidence | No | ||
| tags | No | ||
| links | No | ||
| scope | No | ||
| source_type | No | manual | |
| source_ref | No | ||
| change_note | No | Initial memory creation | |
| response_format | No | json |
Implementation Reference
- src/mcp/tools/memory-store.js:83-117 (handler)Registration and handler implementation for the 'localnest_memory_store' tool.
registerJsonTool( ['localnest_memory_store'], { title: 'Memory Store', description: 'Store a durable local memory entry.', inputSchema: { kind: MEMORY_KIND_SCHEMA, title: z.string().min(1).max(400), summary: z.string().max(4000).default(''), content: z.string().min(1).max(20000), status: MEMORY_STATUS_SCHEMA, importance: z.number().int().min(0).max(100).default(50), confidence: z.number().min(0).max(1).default(0.7), tags: z.array(z.string()).max(50).default([]), links: z.array(MEMORY_LINK_SCHEMA).max(50).default([]), scope: MEMORY_SCOPE_SCHEMA, source_type: z.string().max(60).default('manual'), source_ref: z.string().max(1000).default(''), change_note: z.string().max(400).default('Initial memory creation') }, annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false } }, async (args) => { const result = await memory.storeEntry(args); return normalizeMemoryEntryPayload(result?.memory || null, { created: Boolean(result?.created), duplicate: Boolean(result?.duplicate) }); } );