AI integration

Software your AI assistant can actually work with

Every Fractal application can come with its own MCP server, generated from the same model as the API and the portal. Assistants act with the signed-in user's own permissions, and the codebase is built so generated and AI-written code live side by side.

What AI can do with Fractal

Not a chatbot bolted on, but AI access designed into the platform: through your application, through the studio, and in the code itself.

  • An MCP server per application

    Install the MCP module and your app gets tools to list, read, create, update and delete every entity in your model, plus one for each command. Add something to the model, regenerate, and the assistant can use it.

  • The user's own permissions

    The MCP server mints nothing and stores no credentials. It verifies the user's token and passes it on, so the assistant can do exactly what that user can do in the portal, and nothing more. There is no service account behind it.

  • Fractal Studio over MCP

    Fractal Studio has its own MCP server. Model projects, entities and fields, manage environments and deployment targets, or generate a project, from the assistant you already use.

  • Generated and AI-written code, side by side

    Hand-written code lives in marked custom regions. When the model changes, regeneration merges the new output with your code using a three-way merge, so code written by people or by AI survives every regeneration.

  • A codebase an assistant can read

    Every app has the same layered structure, a generated domain reference describing its model, and tests per entity and command. An assistant does not have to guess where things belong.

  • Built with AI, every day

    We build Fractal and the applications on it with Claude Code, using skills that drive the studio's command-line tool and the regeneration merge. The platform is shaped by that daily use.

How an AI assistant works with a Fractal app

The same standards-based sign-in as any other application. No API keys pasted into a chat.

  1. Step 1:Connect

    Add your application's MCP address to an assistant that supports the Model Context Protocol.

  2. Step 2:Sign in and consent

    The assistant registers itself as a client and sends you to your application's own consent screen. You sign in as you normally do.

  3. Step 3:Receive a scoped token

    Your app issues a token that carries your account and your roles, with read and write scopes, bound to its MCP server.

  4. Step 4:Work

    The assistant lists, reads and changes records and runs commands through the generated tools. Every call reaches the API with your token and passes the same permission checks as the portal.

  5. Step 5:Stay in control

    Connected applications are listed in the portal, where you can revoke them.

Why a model makes AI integration easy

Most teams that want AI access to their software end up writing and maintaining a separate integration: a list of tools, their parameters, their permissions. It drifts from the real application the moment someone adds a field.

In Fractal, the model is the single source. The API, the portal, the command-line tool and the MCP tools are all generated from it. An assistant sees the same entities, the same commands and the same rules as everyone else, and when the model changes, the tools change with it.

The same holds for code. Because generated code and custom code are kept apart by markers and merged on every regeneration, an assistant can safely write business logic in the custom regions while the platform keeps the rest up to date. Read more about this on the platform page, and about permissions on the security page.

Questions about AI and Fractal

Can an assistant see all of our data?
No. The assistant works with the signed-in user's own token, so it sees exactly what that user may see: their account, filtered by their roles. There is no service account with wider access behind the MCP server.
Can an assistant change data?
Only when the user's roles allow the change and the token carries the write scope. Every call goes through the same permission checks as the portal and the API.
Which assistants and models can we use?
Any assistant that supports the Model Context Protocol with OAuth sign-in. The MCP server does not depend on a particular model or vendor. For local tools there is also a mode that runs over standard input and output with a token.
Does Fractal send our data to an AI provider?
The generated MCP server does not call any AI model itself. Data goes only to the assistant a user chooses to connect, and only what that user requests through it.
Is the MCP server included in every application?
It is a module. We add it to your project in Fractal Studio when you want it, together with the Authentication and OAuth2 modules it builds on.

See an assistant work with your domain

We will show you a Fractal application operated from an AI assistant, with real permissions in place.

Book a demo