# Typeship > Typeship generates a CLI, an MCP server, and native TypeScript, Python, and Go > SDKs from an OpenAPI spec (Swagger 2.0, OpenAPI 3.0/3.1) or GraphQL > schema. A new Project watches its Spec by default. > GitHub source pull requests receive preview checks; merged changes update one > reviewed Draft pull request per changed Target. Typeship's own API, CLI, MCP > server, and SDK, for automating Typeship, are documented under "Typeship API". Agent prompt: Read https://typeship.dev/agents.md and set Typeship up for this repo. CLI: typeship auth check --format json For saved Projects, reuse a working credential or run typeship login. Inspect existing Projects, Specs, and Targets before creating resources. Anonymous generation needs no setup. Skills: npx skills add typeship-ax/skills MCP: https://typeship.dev/mcp (sign in from the client, or Authorization: Bearer ak_...); anonymous docs and generation: https://typeship.dev/mcp/public Every prose documentation page linked below has a markdown twin: append .md to its URL, or send Accept: text/markdown. The generated references are single markdown documents: [Typeship HTTP API](https://typeship.dev/docs/api.md) and [Typeship SDK](https://typeship.dev/docs/reference.md). The homepage (/index.md), pricing (/pricing.md), about (/about.md), and contact (/contact.md) also have markdown versions. A path that does not exist returns a real 404, with a markdown body if you asked for markdown. For code examples in your current project’s language, send `Accept-Code-Language: python` alongside `Accept: text/markdown`, or append `?codeLanguage=python` to a prose Markdown URL, /docs/reference.md, or /llms-full.txt. Supported values are `typescript`, `python`, and `go`, one per request. The query parameter wins. Missing examples are marked, and unsupported values return the full docs with a notice. [Language-selection details](https://typeship.dev/docs/guides/coding-agents.md#request-examples-for-your-language). ## When to use Typeship Use Typeship when there is an API spec — a Swagger 2.0, OpenAPI 3.0/3.1, or GraphQL source file — and someone needs the client side of it: a command-line interface, an MCP server, or a typed SDK in TypeScript, Python, or Go. Use it when a repository has a Spec and a hand-written client that has drifted from it, when an API needs to be callable by an agent and has no MCP server, when generated Targets have to be regenerated and pull-requested on every Spec change, or when a Spec is nearly right and needs patching at specific JSON Pointer paths rather than forking generated files. Use POST /api/v1/generate to evaluate what a Spec produces before connecting a Project. Do not use Typeship to write an API spec that does not exist yet, to generate a server implementation, or to call a third-party API directly — it generates the client, and the client is what makes the call. It does not host anyone's API, and it will not invent operations a Spec does not declare. How to call it: the CLI (`typeship`) for anything in a repository; the MCP server for a client that speaks MCP; the HTTP API for CI. All three drive the same operations. ## Typeship developer resources - [Typeship agent runbook](https://typeship.dev/agents.md): install, authenticate, generate, verify; the one file to read first - [Typeship full documentation](https://typeship.dev/llms-full.txt): every prose page in order, then both references, one fetch - [Typeship OpenAPI description](https://typeship.dev/openapi.yaml) and [the same document as JSON](https://typeship.dev/openapi.json): the complete contract for Typeship's own API - [Typeship HTTP API reference (markdown)](https://typeship.dev/docs/api.md): every endpoint with curl examples, generated from the Spec - [Typeship SDK reference (markdown)](https://typeship.dev/docs/reference.md): every method of the Typeship SDK, generated from the Spec - [Typeship authentication](https://typeship.dev/docs/typeship-api/authentication) and [/auth.md](https://typeship.dev/auth.md): how an agent gets a credential, and what works without one - [Typeship errors](https://typeship.dev/docs/typeship-api/errors): the envelope, the codes, and what to do about each - [Typeship MCP server](https://typeship.dev/docs/mcp): hosted at /mcp (OAuth or Bearer ak_...); public trial at /mcp/public - [Typeship pricing (markdown)](https://typeship.dev/pricing.md), [About Typeship](https://typeship.dev/about.md), [Contact Typeship](https://typeship.dev/contact.md) - [Typeship Terms of Service (markdown)](https://typeship.dev/legal/terms.md) and [Typeship Privacy Policy (markdown)](https://typeship.dev/legal/privacy.md) ## Published Typeship packages - Official Typeship CLI releases: https://github.com/typeship-ax/cli/releases — `typeship --help` - Official Typeship MCP package on npm: https://www.npmjs.com/package/@typeship-ax/mcp - Official Typeship TypeScript SDK on npm: https://www.npmjs.com/package/@typeship-ax/sdk - Official Typeship Python SDK on PyPI: https://pypi.org/project/typeship/ - Official Typeship Go SDK: https://pkg.go.dev/github.com/typeship-ax/go - Source and issue trackers: https://github.com/typeship-ax Discovery (you should not need these if you read the runbook, but they are here): - [/.well-known/api-catalog](https://typeship.dev/.well-known/api-catalog): RFC 9727 linkset for both APIs - [/server.json](https://typeship.dev/server.json): the MCP Registry manifest for Typeship's server (dev.typeship/typeship) - [/mcp/server-card](https://typeship.dev/mcp/server-card) and [/.well-known/mcp/server-card.json](https://typeship.dev/.well-known/mcp/server-card.json): the same SEP-1649 card, for clients that look in either place - [/.well-known/agent-skills/index.json](https://typeship.dev/.well-known/agent-skills/index.json): the six Typeship skills, with digests - [/.well-known/ai-catalog.json](https://typeship.dev/.well-known/ai-catalog.json): every machine-usable resource on this host Generate from CI with an API key from the console: curl -s https://typeship.dev/api/v1/generate \ -H "Authorization: Bearer $TYPESHIP_TOKEN" \ -H "Content-Type: application/json" \ -d '{"spec":{"url":"https://api.example.com/openapi.json"},"target":{"type":"python_sdk"}}' ## Get started - [Overview](https://typeship.dev/docs): what Typeship generates and where to start - [Quickstart](https://typeship.dev/docs/quickstart): generate any of five Targets with the Typeship CLI or Console, then run the package and receive sample data - [Concepts](https://typeship.dev/docs/concepts): how an API contract becomes maintained packages and releases ## Generate clients for your API - [Generated CLI](https://typeship.dev/docs/targets/cli): commands, OAuth login, saved credentials, agent setup, MCP installation, and the Pro webhook relay - [Generated MCP server](https://typeship.dev/docs/targets/mcp): agent tools for your API, compact discovery, and local and hosted transports - [Generated SDKs](https://typeship.dev/docs/targets/sdk): native clients with auth, results and errors, pagination, retries, hooks, validation, webhooks, and streaming - [TypeScript](https://typeship.dev/docs/targets/sdk/typescript): the TypeScript package, exports, env vars, idioms - [Python](https://typeship.dev/docs/targets/sdk/python): the Python SDK's idioms, env vars, and limits - [Go](https://typeship.dev/docs/targets/sdk/go): the Go SDK's idioms, module path, errors, and limits ## Projects (the hosted loop) - [Projects](https://typeship.dev/docs/projects): the hosted Spec, Target, Generation, Diagnostics, and Settings workflow - [Specs](https://typeship.dev/docs/projects/specs): source files, resolved reference graphs, immutable revisions, and raw file content - [Targets](https://typeship.dev/docs/projects/targets): CLI, MCP, and SDK selection plus Delivery destinations - [Generations](https://typeship.dev/docs/projects/generations): one reproducible attempt per Target and Spec Revision - [Diagnostics](https://typeship.dev/docs/projects/diagnostics): deterministic authorship findings, suggested edits, agent handoff, and policy - [Generation behavior](https://typeship.dev/docs/projects/regeneration): change detection, one pull request per Target, and the changelog - [Review an API update](https://typeship.dev/docs/guides/review-an-api-update): a linked Parcel SDK workflow walkthrough from additive changes and custom code through conflict resolution, a breaking method rename, and accepted Releases - [Preview Generations](https://typeship.dev/docs/projects/preview-generations): surface diffs and commit statuses on Spec PRs - [Spec patches](https://typeship.dev/docs/projects/spec-patches): set, append, remove, rename at JSON Pointer paths - [Configuration reference](https://typeship.dev/docs/projects/config): global parameters, retry tuning, pagination rules, CLI and MCP behavior, docs site ## GitHub - [GitHub integration](https://typeship.dev/docs/integrations/github): connect source and destination repositories, preview Spec pull requests, and review Drafts ## Guides - [Generate from an API URL](https://typeship.dev/docs/guides/generate-from-a-url) - [Add Typeship to an existing API repository](https://typeship.dev/docs/guides/add-to-an-existing-api-repo) - [Combine API files](https://typeship.dev/docs/guides/combine-api-specs) - [Keep a package current](https://typeship.dev/docs/guides/keep-a-package-current) - [Release a breaking change](https://typeship.dev/docs/guides/release-a-breaking-change) - [Add a package to your repo](https://typeship.dev/docs/guides/add-to-your-repo) - [Publish your packages](https://typeship.dev/docs/guides/publish): npm, PyPI, Go modules - [Customize generated packages](https://typeship.dev/docs/guides/customize): a public helper, package checks, preserved regeneration, and configuration controls - [Add a custom CLI command](https://typeship.dev/docs/guides/custom-cli): a runnable wrapper with shared authentication and help, packaging, and regeneration - [Add a custom workflow](https://typeship.dev/docs/guides/custom-workflows): a tested direct-client recipe with prerequisites, deadlines, cancellation, handoffs, resume IDs, and preservation through regeneration; credentials are supplied explicitly - [Connect your guides](https://typeship.dev/docs/guides/connect-your-guides): expose searchable documentation through your generated CLI and MCP server - [Generate in CI](https://typeship.dev/docs/guides/ci): the Typeship CLI and API in pipelines - [Distribute an MCP server](https://typeship.dev/docs/guides/connect-a-generated-mcp-server) - [Connect MCP clients](https://typeship.dev/docs/guides/mcp-clients): protocol settings, transports, credentials, and a first read - [Coding agents](https://typeship.dev/docs/guides/coding-agents): the one-line prompt, client setup, skills, the CLI agent contract - [Webhooks](https://typeship.dev/docs/guides/webhooks): declare, sign, verify, fake, and relay real events to localhost; schema requirements and hosted-service dependencies explained - [Generate from GraphQL](https://typeship.dev/docs/guides/graphql) - [Fix a spec that will not generate](https://typeship.dev/docs/guides/debug-a-spec) - [Troubleshooting](https://typeship.dev/docs/guides/troubleshooting) ## Typeship API (Typeship's own API and tooling) - [Typeship API](https://typeship.dev/docs/typeship-api): resources, conventions, first calls - [Authentication](https://typeship.dev/docs/typeship-api/authentication): API keys, and the one call that works without one - [Errors](https://typeship.dev/docs/typeship-api/errors): the envelope and codes - [Pagination](https://typeship.dev/docs/typeship-api/pagination) - [Rate limits](https://typeship.dev/docs/typeship-api/rate-limits) - [Typeship CLI](https://typeship.dev/docs/cli): the "typeship" command - [Typeship MCP server](https://typeship.dev/docs/mcp): hosted at /mcp, or "typeship-mcp" locally - [Typeship SDKs](https://typeship.dev/docs/sdks): TypeScript (npm "@typeship-ax/sdk"), Python (PyPI "typeship"), Go (github.com/typeship-ax/go) - [TypeScript](https://typeship.dev/docs/sdks/typescript), [Python](https://typeship.dev/docs/sdks/python), [Go](https://typeship.dev/docs/sdks/go) - [API reference](https://typeship.dev/docs/api): every operation, generated from the Spec ## Reference - [Spec compatibility](https://typeship.dev/docs/reference/spec-compatibility): Swagger 2.0, OpenAPI 3.x, GraphQL, and how constructs map - [Diagnostic rule reference](https://typeship.dev/docs/reference/diagnostic-rules): every deterministic rule, impact, remediation, and guarded agent fix prompt - [Spec errors and warnings](https://typeship.dev/docs/reference/errors-and-warnings): every generator message, verbatim, with fixes - [Plans and limits](https://typeship.dev/docs/reference/limits) ## Product - [Generator](https://typeship.dev/): paste, fetch, or upload a Spec, pick one Target, and inspect the generated package - [Console](https://typeship.dev/console): configure Projects that watch Spec changes and maintain one Draft pull request per changed Target - [Pricing](https://typeship.dev/pricing) - [About Typeship](https://typeship.dev/about): what the company builds, why, and how it works - [Contact Typeship](https://typeship.dev/contact): one inbox, the public issue trackers, and a docs-feedback tool an agent can call itself