# Sourcey MCP server

> Generates static HTML documentation from OpenAPI, MCP, Doxygen, godoc, rustdoc, and Markdown sources.

- Repository: https://github.com/sourcey/sourcey
- Page: https://hostedmcp.org/servers/sourcey/sourcey
- Transport: stdio
- Stars: 1379
- License: AGPL-3.0

## Install

### Claude Code

```sh
claude mcp add sourcey -- npx -y sourcey
```

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

```json
{
  "mcpServers": {
    "sourcey": {
      "command": "npx",
      "args": [
        "-y",
        "sourcey"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "sourcey": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sourcey"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"sourcey","type":"stdio","command":"npx","args":["-y","sourcey"]}'
```

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

```json
{
  "mcpServers": {
    "sourcey": {
      "command": "npx",
      "args": [
        "-y",
        "sourcey"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add sourcey -- npx -y sourcey
```

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

```toml
[mcp_servers.sourcey]
command = "npx"
args = ["-y", "sourcey"]
```

### Gemini CLI

```sh
gemini mcp add -s user sourcey npx -- -y sourcey
```

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

```json
{
  "mcpServers": {
    "sourcey": {
      "command": "npx",
      "args": [
        "-y",
        "sourcey"
      ]
    }
  }
}
```

## FAQ

### What sources can Sourcey convert into documentation?

Sourcey can turn OpenAPI, MCP, Doxygen XML, godoc, rustdoc, and Markdown into a single static HTML site.

### Does Sourcey require a runtime or dashboard to display documentation?

No, everything renders at build time, meaning there is no dashboard, no runtime, and no API calls required to render your documentation.
