---
title: "InstantDB MCP server: manage apps, schema and data from agents"
description: "Install the InstantDB MCP server in an Aldena project and agents create apps, push schema and permission changes, and query or update data."
url: "https://aldena.ai/mcp-servers/instantdb"
---

# Let agents change your InstantDB schema and data alongside the code

InstantDB MCP server. Install the InstantDB MCP server in an Aldena project and agents create apps, push schema and permission changes, and query or update data.

- **Sign-in**: Browser sign-in
- **Installs as**: `instantdb`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-28

InstantDB is a realtime database for frontend apps: queries live in the client, data syncs across devices, and permissions and auth come built in. Its MCP server lets an agent manage the account that signed in: create apps, read and push schema for namespaces, attributes and links, update permission rules, and query or change data.

That lets the agent writing a feature in an Aldena project change the database it depends on in the same run. Asked to add comments to posts, it edits the schema file in its conversation's sandbox, pushes the new namespace and link to the dev app, tightens the permission rules so only authors can edit, and runs the app against it. The pull request it opens through the [GitHub connector](https://aldena.ai/integrations/github) carries the code and the schema change together, so a reviewer sees both.

Debugging gets easier too. When a bug report says some posts render without an author, the agent queries the dev app for broken links, finds the cause, and writes the fix plus a data repair for a person to approve. Schema, permission and data changes start on ask in the project's [permissions](https://aldena.ai/features/human-in-the-loop). Teams on other backends can compare the [Cloudflare Bindings MCP server](https://aldena.ai/mcp-servers/cloudflare-bindings) for Workers storage.

## With InstantDB, your agents can

- Create InstantDB apps for new projects or previews
- Read and push schema changes for namespaces, attributes and links
- Read and update permission rules
- Query and change data while building or debugging a feature

## Try asking

- “Add a comments namespace linked to posts in our InstantDB schema, push it to the dev app, and update the permission rules so only authors can edit.”
- “Query the InstantDB dev app for posts with no author link and tell me how many there are.”
- “Create a fresh InstantDB app for this preview branch and seed it with the fixtures in test/fixtures.”

## Server

- **Server URL**: `https://mcp.instantdb.com/mcp`
- **Website**: [instantdb.com](https://www.instantdb.com)
- **MCP docs**: [InstantDB MCP docs](https://www.instantdb.com/docs/using-llms)

## How to connect InstantDB

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install InstantDB.** Search for InstantDB and press Install. Aldena adds it as `instantdb`.
3. **Sign in to InstantDB.** Open the sign-in link Aldena shows and approve. The server then acts as you.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Supabase MCP server](https://aldena.ai/mcp-servers/supabase): Manage projects, tables, and SQL queries.
- [Neon MCP server](https://aldena.ai/mcp-servers/neon): Manage Postgres projects, branches, and queries.
- [Prisma MCP server](https://aldena.ai/mcp-servers/prisma): Manage Prisma Postgres databases and schema.
- [Airtable MCP server](https://aldena.ai/mcp-servers/airtable): Read and update bases, tables, and records.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### What is InstantDB?

A realtime database for frontend apps, with queries written in the client, sync across devices, permissions and auth built in. Its MCP server lets an agent manage the apps, schema, permission rules and data of the InstantDB account that signed in.

### Can an agent push schema changes to production in InstantDB?

If the signed-in account can, yes. Schema, permission and data changes aren't read-only, so they start on ask in Aldena's permissions and each one waits for approval. Many teams point agents at a dev app and keep production changes on ask.

### How does InstantDB fit with an agent's coding work?

The schema lives in your repository and in InstantDB, and the agent keeps both in step. It edits the schema file in its sandbox, pushes the change to the dev app through the MCP server, runs the app against it, and opens a pull request with the matching code.
