Skip to content
Start here

Connect InstantDB to your agents

A trial starts first, then a project installs InstantDB from its marketplace.

Connect InstantDB
MCP serversLast verified

InstantDB MCP server

Let agents change your InstantDB schema and data alongside the code

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

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 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. Teams on other backends can compare the Cloudflare Bindings MCP server 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

Things to ask an agent in a project chat once it's installed.

  • “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

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

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.

Ready when you are

Spin up your first project.

One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.