Skip to content

Basics

Basic Operations

Create a Collection

curl -X POST https://akashic-mcp.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"collections","arguments":{"action":"create","collection_name":"project-notes","description":"Project notes and decisions"}},"id":1}'

Store a Memory

curl -X POST https://akashic-mcp.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"memory","arguments":{"action":"store","collection_name":"project-notes","content":"We decided to use TypeScript for the main project due to its static typing and better tooling support","metadata":{"category":"decision","date":"2024-01-15","tags":["typescript","architecture"]}}},"id":1}'

Search Memories

curl -X POST https://akashic-mcp.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"memory","arguments":{"action":"search","collection_name":"project-notes","query":"programming language decisions","limit":5}},"id":1}'