Skip to main content
Glama
orneryd

M.I.M.I.R - Multi-agent Intelligent Memory & Insight Repository

by orneryd
clear-chunks.js594 B
#!/usr/bin/env node import neo4j from 'neo4j-driver'; async function clearChunks() { const driver = neo4j.driver( 'bolt://localhost:7687', neo4j.auth.basic('neo4j', 'password') ); const session = driver.session(); try { const result = await session.run('MATCH (c:FileChunk) DETACH DELETE c RETURN count(c) as deleted'); console.log(`✅ Deleted ${result.records[0].get('deleted').toNumber()} FileChunk nodes`); } catch (error) { console.error('Error:', error.message); } finally { await session.close(); await driver.close(); } } clearChunks();

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/orneryd/Mimir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server