# Typeship

Connects your agent to Typeship to build and maintain typed SDKs, CLIs, and MCP servers directly from OpenAPI or GraphQL specs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: typeship-ax
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/typeship-ax/mcp
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/typeship

## What it does

Typeship turns API contracts like OpenAPI and GraphQL into code targets, including client libraries and CLI binaries. The server keeps its interface minimal with three primary actions: `search_docs`, `read_docs`, and `execute`. The model inspects operation schemas and usage examples before sending payloads.

Parameter validation happens locally against the underlying schema. Mistyped fields return an immediate error with recovery steps. Running locally via `npx` demands Node.js 20 or newer, and the server fails immediately if `TYPESHIP_TOKEN` is missing from the environment. A hosted HTTP alternative is also available.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://typeship.dev/mcp`
- Environment variables: `TYPESHIP_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http typeship https://typeship.dev/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env TYPESHIP_TOKEN=<TYPESHIP_TOKEN> --transport stdio typeship -- npx -y @typeship-ax/mcp
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add typeship --url https://typeship.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add typeship --env TYPESHIP_TOKEN=<TYPESHIP_TOKEN> -- npx -y @typeship-ax/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "typeship": {
            "url": "https://typeship.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "typeship": {
            "command": "npx",
            "args": [
                "-y",
                "@typeship-ax/mcp"
            ],
            "env": {
                "TYPESHIP_TOKEN": "<TYPESHIP_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "typeship": {
            "type": "http",
            "url": "https://typeship.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "typeship": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@typeship-ax/mcp"
            ],
            "env": {
                "TYPESHIP_TOKEN": "<TYPESHIP_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http typeship https://typeship.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e TYPESHIP_TOKEN=<TYPESHIP_TOKEN> typeship npx -y @typeship-ax/mcp
```
Replace <…> with your own values

## When to use it
- generate typed SDKs from GraphQL or OpenAPI files
- build client CLIs and MCP servers from an API schema
- diagnose syntax and schema issues in API contracts
- restrict agent capabilities to safe operations with `--read-only`

## Example prompts
- Search Typeship docs for operations that parse OpenAPI specifications
- Inspect the parameters and safety rating for this operation using `read_docs`
- Build a typed client target using the latest schema file

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24271
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18779
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
