# InstantDB (verified)

Realtime database and sync engine. Create apps with instant data sync, manage schemas, and query collaborative data.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add instantdb

# Browse available tools
npx -y @smithery/cli@latest tool list instantdb

# Get full schema for a tool
npx -y @smithery/cli@latest tool get instantdb learn

# Call a tool
npx -y @smithery/cli@latest tool call instantdb learn '{}'
```

## Direct MCP Connection

Endpoint: `https://instantdb.run.tools`

## Tools (7)

- `learn` — If you don't have any context provided about InstantDB, use this tool to learn about it!
- `get-schema` — Fetch schema for an app by its ID!
- `get-perms` — Fetch permissions for an app by its ID
- `push-schema` — Push local schema changes for an app to the server. Do this after updating your local 'instant.schema.ts' file.
- `push-perms` — Push local permissions changes for an app to the server. Do this after updating your local instant.perms.ts file.
- `query` — Execute an InstaQL query against an app. Returns the query results as JSON.
- `transact` — Execute a transaction against an app. Useful for creating, updating, or deleting data.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get instantdb <tool-name>
```
