# Install
npm install @synap/sdk
# Initialize
import { SynapClient } from '@synap/sdk'
const synap = new SynapClient({
podUrl: 'https://your-pod.synap.live',
apiKey: 'synap_user_...',
})
# Query entities
const notes = await synap.entities.list({
profileSlug: 'note',
limit: 20,
})
# Semantic search
const results = await synap.search.semantic({
query: 'project apollo proposal',
types: ['note', 'task', 'article'],
})
# Create an entity
const task = await synap.entities.create({
profileSlug: 'task',
properties: {
title: 'Write lightpaper',
status: 'in-progress',
dueDate: '2026-04-01',
},
})TypeScript client wrapping all 47+ tRPC routers. Full type safety. Works in Node.js, Deno, and the browser.
18 granular scopes: entities, documents, search, AI, Hub Protocol, MCP, and more. Bcrypt-hashed, revocable, rate-limited.
Open REST contract for AI services. 20 sub-routers covering all data operations. Implement it to connect any AI system.
Your pod exposes a Model Context Protocol server. Any MCP-compatible AI tool (Claude Desktop, Cursor, etc.) can read and write your data.
Build components that render anywhere in the Synap browser — panels, bento widgets, documents, whiteboards. Sandboxed iframe + postMessage SDK.
JSON blueprints that install entity profiles, views, and automations into any workspace. Compose and publish to the marketplace.