AI Tooling for Accelerated Development

The future of software development is agentic, and StatelyDB is the only database built for this new era. To help you harness the power of AI in your development workflow, we provide a suite of first-party tools and integrations that turn your IDE and AI assistants into powerful partners for database design and management. These tools are designed to keep you in a state of creative flow, allowing you to move from idea to implementation faster than ever before.

No items found.

Model Context Protocol (MCP) Server for StatelyDB

To enable a truly interactive and "vibe coding" experience, we have developed a Model Context Protocol (MCP) Server. This server acts as a bridge, allowing AI assistants that support MCP, like Claude Desktop, to securely interact with your StatelyDB account and local schema files. This turns your AI assistant into a proactive partner that can write, validate, and publish schemas on your behalf.

Getting Started with the MCP Server

1
Install the StatelyDB CLI

If you have not already, install our command-line tool.

curl -sL https://stately.cloud/install | sh
2
Configure Your AI Assistant

In your MCP-compatible assistant (e.g., Claude Desktop), edit the MCP configuration to add the StatelyDB server.

{
  "mcpServers": {
    "statelydb": {
      "command": "npx",
      "args": ["-y", "@stately-cloud/statelydb-mcp-server@latest"]
    }
  }
}
3
Start Vibing

You can now use natural language prompts to have your AI assistant perform StatelyDB operations.


Available Tools

  • statelydb-attempt-loginsm
    Authenticates the MCP Server with your Stately Cloud account.
    "Let's log in to StatelyDB."
  • statelydb-schema-put
    Publishes a validated schema to your Stately Cloud account.
    "This schema looks good. Please publish it to my 'production' schema with the message 'Initial version'."
  • statelydb-schema-generate
    Generates a type-safe client SDK in your language of choice from a published schema.
    "Generate a Python client for the latest version of my schema and save it in the ./stately_client directory."
  • statelydb-validate-schema
    Checks a local schema file for correctness, providing a critical feedback loop for the AI to iterate and fix its own code.
    "This schema seems to have errors. Can you fix it and validate that it's correct?"

Model Context Protocol (MCP) Server for StatelyDB

To enable a truly interactive and "vibe coding" experience, we have developed a Model Context Protocol (MCP) Server. This server acts as a bridge, allowing AI assistants that support MCP, like Claude Desktop, to securely interact with your StatelyDB account and local schema files. This turns your AI assistant into a proactive partner that can write, validate, and publish schemas on your behalf.

Install the StatelyDB CLI

If you have not already, install our command-line tool.

curl -sL https://stately.cloud/install | sh
Configure Your AI Assistant

In your MCP-compatible assistant (e.g., Claude Desktop), edit the MCP configuration to add the StatelyDB server.

{
  "mcpServers": {
    "statelydb": {
      "command": "npx",
      "args": ["-y", "@stately-cloud/statelydb-mcp-server@latest"]
    }
  }
}
Start Vibing

You can now use natural language prompts to have your AI assistant perform StatelyDB operations.


Available Tools

  • statelydb-attempt-loginsm
    Authenticates the MCP Server with your Stately Cloud account.
    "Let's log in to StatelyDB."
  • statelydb-schema-put
    Publishes a validated schema to your Stately Cloud account.
    "This schema looks good. Please publish it to my 'production' schema with the message 'Initial version'."
  • statelydb-schema-generate
    Generates a type-safe client SDK in your language of choice from a published schema.
    "Generate a Python client for the latest version of my schema and save it in the ./stately_client directory."
  • statelydb-validate-schema
    Checks a local schema file for correctness, providing a critical feedback loop for the AI to iterate and fix its own code.
    "This schema seems to have errors. Can you fix it and validate that it's correct?"

LLM Context File (llms.txt)

Large Language Models perform best when they have comprehensive and accurate context. To ensure your AI assistant has the most up-to-date information about StatelyDB's features and APIs, we provide a dedicated context file.

The llms.txt file contains the full text of our documentation, optimized for consumption by LLMs. Before asking an AI assistant to help you with a StatelyDB-related task, simply copy the contents of this file and paste it into the context window of your chat interface. This will dramatically improve the quality and accuracy of the generated responses.

Download llms.txt

LLM Context File (llms.txt)

Large Language Models perform best when they have comprehensive and accurate context. To ensure your AI assistant has the most up-to-date information about StatelyDB's features and APIs, we provide a dedicated context file.

The llms.txt file contains the full text of our documentation, optimized for consumption by LLMs. Before asking an AI assistant to help you with a StatelyDB-related task, simply copy the contents of this file and paste it into the context window of your chat interface. This will dramatically improve the quality and accuracy of the generated responses.

Download llms.txt

Prompt Packs

To help you get the most out of our AI tooling, we have created a series of prompt packs. These are curated sets of instructions and examples designed to guide your AI assistant through common StatelyDB workflows, from initial data modeling to complex migrations.

StatelyDB Schema Design Prompt Pack

This prompt pack provides a framework for using an AI assistant as a thought partner in the schema design process. It includes prompts for:

  • Brainstorming initial item types and key paths based on application requirements.
  • Refining fields, data types, and validation rules.
  • Identifying opportunities for efficient data access patterns.
  • Planning schema migrations and evolving an existing data model.

Download the Schema Design Prompt Pack

Prompt Packs

To help you get the most out of our AI tooling, we have created a series of prompt packs. These are curated sets of instructions and examples designed to guide your AI assistant through common StatelyDB workflows, from initial data modeling to complex migrations.

StatelyDB Schema Design Prompt Pack

This prompt pack provides a framework for using an AI assistant as a thought partner in the schema design process. It includes prompts for:

  • Brainstorming initial item types and key paths based on application requirements.
  • Refining fields, data types, and validation rules.
  • Identifying opportunities for efficient data access patterns.
  • Planning schema migrations and evolving an existing data model.

Download the Schema Design Prompt Pack

No items found.

No items found.

No items found.

By combining these tools, you can create a powerful, AI-accelerated development loop that keeps you focused on building great products, not on fighting with your database.