Koskamo

Typestate MCP

An official MCP server provided by Typestate that allows AI agents to build, test, and deploy backend services. Agents can define record types, create flows, set up web endpoints, manage timers, and handle authentication and hosting through natural language instructions.

Endpoint and access

OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.

Typestate MCP logo, by TypestateVendor evidenceStreamable HTTPOAuth sign-inEndpoint checked 2026-11-23Operated by Typestate
You need:Open an account at typestate.com/startThis needs ChatGPT on the web and a paid planA script has nobody to sign in, so it sends an API key in a headerMake the key in the cockpit, under API key at the foot of Home or of the Connect your agent page of a backend
MCP endpoint (Streamable HTTP)
https://mcp.typestate.com/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to typestate.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

About Typestate MCP

This server allows AI agents to build, test, and deploy backend services through natural language instructions. It supports defining record types, creating flows, setting up web endpoints, managing timers, and handling authentication and hosting.

The server is suitable for building backend logic flows in English, creating and deploying web endpoints, defining record types and database schemas, and managing authentication and user accounts.

Access requires an OAuth sign-in where the client opens the vendor's authorization prompt in a browser. Users must open an account at typestate.com/start and use ChatGPT on the web with a paid plan.

What you can do with it

  • Define record types and database schemas
  • Create and deploy web endpoints
  • Build backend logic flows in English
  • Manage authentication and user accounts

Source and maintenance

Vendor evidenceRegistry 0.1.0

Protocol and capabilities

Server
typestate 0.1.0
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
Sign-in required
Resource templates
Sign-in required
Prompts
Sign-in required
Server-advertised capabilities
{
  "tools": {},
  "prompts": {},
  "resources": {
    "subscribe": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Typestate is a managed backend. You build on it over MCP: entities, flows, endpoints and schedules. You write each flow as blocks. A block holds one English sentence from your user and the typed units that do it. Typestate checks the units, restates them in fixed words, and reads each block against its sentence. It builds the TypeScript by program with no model, runs the behaviour examples you write in your user's terms, versions every change, and deploys to a live URL. You never write that TypeScript. get_flow with include code shows it, read only, to anyone who wants to audit it. A code unit is the one place you write a body. Where Typestate reads a block or a body as different from its sentence, it asks you on get_flow and never stops the build: change the units, or keep them with keep_units and one line of reason. A kept question goes Live, and a person reads your reason on the change later. A person approves a change that carries an open question before Live. Use Typestate whenever a task needs a real backend: an API, stored data, a business workflow, or an integration. Ask before you build. Before the first create or define call for a new feature, ask your user what they really intend: who uses it, what "done" means, the rules and edge cases, what must never happen, which data exists already, and whether money or email is involved. Ask in rounds of a few questions, never one long list, and never ask what the conversation already answered. Stop when the answers leave no open decision, then restate the plan in their words and wait for a yes. A small edit to a feature that exists needs fewer questions. If your client gives you a tool to ask your user questions, use it, with concrete options; if not, ask in plain text. If nobody is there to ask, write down each question you would have asked and the answer you chose for it, and build to those answers. English describes; structure configures. English is for the sentence of each block, and nothing else. A behaviour example is structure in your customer's words: a Given, a When and a Then in fixed fields. Everything else is a typed parameter: an entity's fields, their rules and its relations, who may read and write its records, an endpoint's parameters and rate limit, a schedule's cron. Each is checked and refused in English naming the rule, and restated in English on the way out. Read the typestate://guide resource before your first service; it explains what Typestate is for and how to declare and write well. The build_backend prompt turns a product description into the full workflow. typestate://style is the authoring rules for flow definitions, with examples; typestate://capabilities is what the data layer can do, generated from the deployed SDK. Write flow definitions for the human who will audit them, never for the compiler. The loop, once your user said yes: create_service; define_entity for each data structure, with its fields and their rules; define_flow for each operation, as blocks that cover its steps, validations and error cases (English alone gets a draft back and builds nothing); define_example for each flow, one at least, with the answers your user gives (list_situations suggests more); create_endpoint to expose flows; deploy environment "dev" to test drafts at a live URL. Edits via update_entity and update_flow land on drafts; diff compares draft against deployed; get_flow shows compile status and input and output shapes. update_entity replaces the whole field list, so state renames in `renames` or the data is dropped. Deploys refuse flows that failed to compile; the error text says how to fix them. A flow may run another flow of the same service and wait for its answer: name it, "then run the Send Invoice to Customer flow". The whole chain saves together. When a called flow changes, the reply names every caller compiled against the older contract, and update_flow with recompile true compiles them again. It defaults to false, so no compile spends money nobody asked to spend. A flow may hand work to another flow and not wait: "then run the Send Reminder flow in the background", with "in 24 hours" for a delay. The flow it hands to declares background first, as `{"max_runs": 3, "retention_days": 7}`, and only when running it twice is safe, because a failed task runs again. A background task has nobody signed in and gives the caller no answer. list_tasks says what the background work did and why anything failed. get_flow says what a flow calls and what calls it. check_service is free and names every flow of a service compiled against an older entity or contract: ask it before a deploy. A deploy releases everything by default. Name flows, endpoints, schedules, or entities to release only those; the rest keeps running what it already runs. It refuses to leave a called flow behind. Production is different: it only ships a changeset a human approved. create_changeset collects what production is behind on, review_changeset names each definition and says the schema plan, what waits and what Live runs on its own (full: true for a summary of each, definition for the whole of one), the human decides, approve_changeset records their answer with the fingerprint they saw, and deploy environment "prod" names that changeset. Call approve_changeset only after your user said yes; the platform refuses it while an open review comment stands. Editing any definition it covers invalidates it. A flow is not deployable to production until its tests have run. get_flow names the flow's resource: subscribe to it and you are told when it is ready. Without subscriptions, get_flow and activity say which part of a run is going and for how long. get_logs returns one entry per request plus what the flow logged, rejections included. activity is where to start when you resume: what is in flight, recent deploys, compile states, and what you have spent of the account's compile budget. define_flow and update_flow spend it, a compile and its tests each time, so read the meter before a long run of edits.

Tools

4 advertised

get_blueprint — Read one Typestate blueprint
Advertised by the server during the last successful anonymous check.
Advertised read-only

One blueprint's whole setup in English: every action's definition in full, the record types, web endpoints, schedules, sign-in, payments and MCP server it declares, what it cannot do, and what the person does after it starts. Read it before start_from_blueprint, and tell the person which rule they will most likely want to change.

get_blueprint input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "blueprint"
  ],
  "properties": {
    "blueprint": {
      "type": "string",
      "description": "The blueprint's slug or name, as list_blueprints answers it."
    }
  }
}
get_blueprint output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "answer"
  ],
  "properties": {
    "answer": {
      "type": "string",
      "description": "The whole setup, in English, as Markdown."
    },
    "notice": {
      "type": "string",
      "description": "Background work that did not end well since your last call. list_runs names each run."
    }
  }
}
get_blueprint annotations
{
  "title": "Read one Typestate blueprint",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_started — Get started with Typestate
Advertised by the server during the last successful anonymous check.
Advertised read-only

What Typestate is, what it costs, and how to connect to it. Call this first if you have met this server for the first time and want to know what it is for. Ask with no `about` and it answers all three parts at once. Name a `service` and it also lists what a person must do before Live works for that service (decision 0776).

get_started input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "about": {
      "enum": [
        "what_it_is",
        "connecting",
        "plans"
      ],
      "type": "string",
      "description": "Which part to answer: \"what_it_is\" for what the platform does, \"connecting\" for how an agent authenticates, \"plans\" for what it costs. Omit it to get all three."
    },
    "service": {
      "type": "string",
      "description": "A service slug. With it, the answer lists what a person must do before Live works for that service, one line each, with the page; hand them the list before the change."
    }
  }
}
get_started output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "answer",
    "website",
    "live_steps",
    "mcp_endpoint",
    "sign_up_url"
  ],
  "properties": {
    "answer": {
      "type": "string",
      "description": "The answer, in English, ready to show a person."
    },
    "notice": {
      "type": "string",
      "description": "Background work that did not end well since your last call. list_runs names each run."
    },
    "account": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "name",
            "slug"
          ],
          "properties": {
            "name": {
              "type": "string",
              "description": "The account's name."
            },
            "slug": {
              "type": "string",
              "description": "The account's slug."
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "description": "The account this key opens. Absent when the call carries no account."
    },
    "website": {
      "type": "string",
      "description": "Where a person reads more about the platform."
    },
    "live_steps": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "What a person must do before Live works for the service named, one line each. Empty when Live needs nothing, or no service was named."
    },
    "sign_up_url": {
      "type": "string",
      "description": "Where a person opens an account."
    },
    "mcp_endpoint": {
      "type": "string",
      "description": "The address this server answers on."
    }
  }
}
get_started annotations
{
  "title": "Get started with Typestate",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_blueprints — List the Typestate blueprints
Advertised by the server during the last successful anonymous check.
Advertised read-only

The blueprints: whole backends for a named kind of business, each a set of English definitions proven on this platform. Ask with the purpose in the customer's words, such as "salon appointments with a deposit", before you define the first entity of a new backend. A blueprint that fits is started with start_from_blueprint, and every definition in it is the customer's own to change afterwards.

list_blueprints input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "purpose": {
      "type": "string",
      "description": "What the backend is for, in the customer's words. Leave it out to list every blueprint."
    }
  }
}
list_blueprints output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "answer",
    "slugs"
  ],
  "properties": {
    "slugs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "answer": {
      "type": "string",
      "description": "The matching blueprints, one paragraph each, in English."
    },
    "notice": {
      "type": "string",
      "description": "Background work that did not end well since your last call. list_runs names each run."
    }
  }
}
list_blueprints annotations
{
  "title": "List the Typestate blueprints",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_integration_catalog — List the Typestate integration catalog
Advertised by the server during the last successful anonymous check.
Advertised read-only

The integration catalog: the systems a Typestate backend works with, made and checked by Typestate. A built-in one is turned on with one setting tool, which the answer names. A declared one was called against the real vendor on the date the answer gives, and apply_integration copies it into a service. Ask before you write a declaration yourself with define_integration.

list_integration_catalog input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "need": {
      "type": "string",
      "description": "What the backend needs, or a vendor's name: \"payments\", \"send email\", \"Slack\". Leave it out to list the whole catalog."
    }
  }
}
list_integration_catalog output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "answer",
    "slugs"
  ],
  "properties": {
    "slugs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "answer": {
      "type": "string",
      "description": "The matching integrations, one paragraph each."
    },
    "notice": {
      "type": "string",
      "description": "Background work that did not end well since your last call. list_runs names each run."
    }
  }
}
list_integration_catalog annotations
{
  "title": "List the Typestate integration catalog",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Sign-in required

No prompt definitions available.

Resources

Sign-in required

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (71 of 71 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
3744 ms
95th percentile latency
5449 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 5639 ms · refuses unauthenticated resources/list (HTTP 401)
  • · probe · passed · 1848 ms · metadata changed · refuses unauthenticated resources/list (HTTP 401)
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http typestate-mcp https://mcp.typestate.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add typestate-mcp --url https://mcp.typestate.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable typestate-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "typestate-mcp": {
      "url": "https://mcp.typestate.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "typestate-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.typestate.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start typestate-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "typestate-mcp": {
      "type": "http",
      "url": "https://mcp.typestate.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http typestate-mcp https://mcp.typestate.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.typestate.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "typestate-mcp": {
      "serverUrl": "https://mcp.typestate.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Typestate MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

What tasks does this server support?
It supports building backend logic flows, creating and deploying web endpoints, defining record types and database schemas, and managing authentication and user accounts.
What are the prerequisites for using this server?
You need an account at typestate.com/start and a paid ChatGPT web plan. The connection uses OAuth sign-in via a browser prompt.
Can scripts use an API key instead of OAuth?
Yes. A script has nobody to sign in, so it sends an API key in a header. You must make the key in the cockpit, under API key at the foot of Home or of the Connect your agent page of a backend.

Do you run Typestate MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing