Test the MCP server directly without n8n:
cd packages/mcp-server
node test-simple.jsThis will:
- Index all memory files in the workspace
- Run a test search
- Show the results
n8n startGo to Settings > Credentials > Add Credential > MCP Client
| Field | Value |
|---|---|
| Command | bash |
| Arguments | /path/to/akashic-context/packages/mcp-server/run-server.sh |
Create a simple workflow:
-
Add Manual Trigger node
-
Add MCP Client node
-
Configure MCP Client:
- Operation:
Execute Tool - Tool Name:
memory_search - Tool Parameters:
{"query": "projetos", "minScore": 0}
- Operation:
-
Execute the workflow
You should see results like:
{
"results": [
{
"content": "# Meus Projetos\n\n## Memory Context Engine...",
"source": "memory/projetos.md",
"score": 0.85
}
],
"totalResults": 3
}Try these searches to verify the memory system:
| Query | Expected Result |
|---|---|
projetos |
Project information |
Carlos |
Contact and meeting info |
Janeiro 2026 |
Schedule/agenda items |
Moltbot |
Moltbot project details |
aniversario |
Birthday dates |
-
Check if files exist in workspace:
ls -la test-workspace-mcp/ ls -la test-workspace-mcp/memory/
-
Check MCP server logs (stderr output in n8n)
-
Try with
minScore: 0to see all results
-
Verify the path in
run-server.sh:cat packages/mcp-server/run-server.sh
-
Test the script directly:
bash packages/mcp-server/run-server.sh
-
Check Node.js version (requires 18+):
node --version
Delete the database to force reindex:
rm -f test-workspace-mcp/memory.dbRun the test suite:
pnpm testRun with coverage:
pnpm test -- --coverage