Skip to content

For agents

Built for agents.

Claude Code, Claude.ai, Cursor, Codex and any MCP client connect to Architure's MCP server. They say which package they work in and get its tech stack, skills, environment variable names and databases, then design the schema with you.

~/acme/shop
  1. claude plugin marketplace add architure/skills
  2. claude plugin install architure@architure
  3. # The architure skill and the MCP server, together.
  4. # In Claude Code, run /mcp, choose architure and sign in.

The workflow

From the package it works in to a clean schema.

The architure skill teaches every agent the same six steps, so Claude Code in one repository and Codex in another read the same decisions.

Read the skill
  1. 01Find its package

    Say where it works

    The agent reads the repository's GitHub remote (owner/name) and its folder, and passes them as repository and path. Every list tool then answers for the package that holds that folder.

  2. 02Read the stack

    Build with what the team chose

    Before it picks a library, the agent reads the tech stack: technologies by category, at their versions, with their official docs and the team's notes.

  3. 03Follow the skills

    Work the way the team works

    It lists the skills its package uses, from skills.sh or written by the team, and reads the ones that fit the task.

  4. 04Read variable names

    Use the names, never invent them

    It reads the environment variables its package resolves to: names, descriptions and the scopes that hold a value. Values never leave Architure.

  5. 05Read and write the schema

    Design the database with you

    It reads the database in the text format with its revision, then writes through create_table, update_column, set_description or apply_operations at that revision. Your open canvas shows the change within seconds.

  6. 06Check it

    Fix what the checks find

    After every write it calls check_database, which lists errors and warnings with how to fix each rule, then checks again until the schema is clean.

The MCP server

15 tools, in three groups.

Agents read the whole workspace and write the schema. Every write names the revision it read, goes through the same operations as the canvas, and shows on an open canvas within seconds.

Every tool and its inputs

Workspace reads

Read · 5
  • list_repositories

    The imported repositories, as owner/name, with their packages.

  • list_tech_stack

    The tech stack by category: versions, doc links, notes, and the skills and variables linked to each item.

  • list_skills

    The team's skills, or those a package uses when given a repository and folder.

  • get_skill

    One skill's files, by name.

  • list_environment_variables

    Variable names, descriptions and the scopes that hold a value, resolved for a package. Never a value.

Database reads

Read · 6
  • list_databases

    The databases with their dialect, revision and schemas, or those a package uses.

  • get_database

    A database in the text format with its revision; one schema, or every id, on request.

  • get_table

    One table: columns, relationships both ways, indexes and descriptions.

  • search_columns

    Columns by name, data type or information type across the organization's databases.

  • list_column_definitions

    The organization's shared enums and types.

  • check_database

    The database's issues, with how to fix each rule.

Database writes

Write · 4
  • create_table

    A table with its columns, foreign keys and single-column indexes.

  • update_column

    Rename a column, change its type or flags, link a column definition, set its information type or description.

  • set_description

    The description of a database, schema, table, column or relationship, from Markdown.

  • apply_operations

    Up to 1000 operations at a base revision: everything else, deletes included.

Connect

Connect your agent.

One MCP server for every agent, with an API key (read, or read and write) or an OAuth sign-in. The plugin and the skill come from the public repository architure/skills.

Claude Code

Install the plugin, then sign in from Claude Code. To use an API key instead, add the server yourself and install the skill on its own.

  1. 1

    Add the marketplace and install the plugin.

    claude plugin marketplace add architure/skills
    claude plugin install architure@architure
  2. 2

    Run /mcp in Claude Code, choose architure and sign in. Choose the organization the agent works for.

  3. 3

    Or, with an API key, add the server yourself:

    claude mcp add --transport http architure https://app.architure.dev/api/mcp \
      --header "Authorization: Bearer $ARCHITURE_API_KEY"

The server

One MCP server over Streamable HTTP, for every agent.

https://app.architure.dev/api/mcp

An API key: read or write

An owner or admin creates it on the Agents page, as Read or Read and write. It acts for the organization; send it as a bearer token, and keep it in an environment variable.

Authorization: Bearer $ARCHITURE_API_KEY

OAuth: sign in from the agent

The agent opens your browser: sign in, choose the organization, allow it. The token carries the scopes schema:read and schema:write and acts as you, with your role.

Safety

Agents get the names. You keep the secrets.

  • Values stay in Architure

    Agents read environment variable names, descriptions and scopes. No tool returns a value or a database connection URL; the skill tells the agent to ask you when it needs one.

  • Read keys cannot write

    A read API key, an OAuth token without schema:write, or a viewer's sign-in only reads. Write tools answer Forbidden; an OAuth token can ask for the write scope again.

  • Writes need an active plan

    Writes work during the trial and with a subscription. Without one, reads and check_database still answer, and every write answers PlanRequired.

  • One organization per connection

    A key or a token reaches one organization, never another. With OAuth your membership and role are checked again on every call; an API key allows 600 requests a minute.