# apifable MCP server

> Enables AI agents to explore OpenAPI specifications, search endpoints, and generate TypeScript type definitions for frontend integration.

- Repository: https://github.com/ycs77/apifable
- Page: https://hostedmcp.org/servers/ycs77/apifable
- Transport: stdio
- Stars: 10
- License: MIT

## Install

### Claude Code

```sh
claude mcp add apifable -- npx -y @iflow-mcp/ycs77-apifable
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "apifable": {
      "command": "npx",
      "args": [
        "-y",
        "@iflow-mcp/ycs77-apifable"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "apifable": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@iflow-mcp/ycs77-apifable"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"apifable","type":"stdio","command":"npx","args":["-y","@iflow-mcp/ycs77-apifable"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "apifable": {
      "command": "npx",
      "args": [
        "-y",
        "@iflow-mcp/ycs77-apifable"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add apifable -- npx -y @iflow-mcp/ycs77-apifable
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.apifable]
command = "npx"
args = ["-y", "@iflow-mcp/ycs77-apifable"]
```

### Gemini CLI

```sh
gemini mcp add -s user apifable npx -- -y @iflow-mcp/ycs77-apifable
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "apifable": {
      "command": "npx",
      "args": [
        "-y",
        "@iflow-mcp/ycs77-apifable"
      ]
    }
  }
}
```

## Tools (8)

- `tag`
- `limit`
- `offset`
- `query`
- `method`
- `operationId`
- `name`
- `schemas`

## FAQ

### Which OpenAPI versions are supported?

The server supports OpenAPI 3.0 and 3.1 specifications. OpenAPI 2.0 (Swagger) is not supported.

### How can I handle authentication for private APIs?

You can store secret headers, such as Authorization tokens, in a `.apifable/auth.json` file which should not be committed to version control.

### Can I use apifable with Cursor or Windsurf?

Yes, you can configure apifable as an MCP server for other AI agents like Cursor and Windsurf using the same approach as Claude.

### Does it support external references in the spec?

No, external $ref links to other files or URLs are not supported.
