# ViteMCP MCP server

> A TypeScript framework for building stateless MCP servers that can be deployed to serverless and edge environments.

- Repository: https://github.com/vitemcp/server
- Page: https://hostedmcp.org/servers/vitemcp/server
- Transport: stdio
- Stars: 22
- License: MIT

## Install

### Claude Code

```sh
claude mcp add server -- npx -y @vitemcp/server
```

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

```json
{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "-y",
        "@vitemcp/server"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vitemcp/server"
      ]
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "-y",
        "@vitemcp/server"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add server -- npx -y @vitemcp/server
```

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

```toml
[mcp_servers.server]
command = "npx"
args = ["-y", "@vitemcp/server"]
```

### Gemini CLI

```sh
gemini mcp add -s user server npx -- -y @vitemcp/server
```

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

```json
{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "-y",
        "@vitemcp/server"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `YOUR_ENV_VAR` | no | no |  |

## Tools (1)

- `title`

## FAQ

### How to use with Claude Desktop?

The README includes a specific FAQ section for Claude Desktop, though the detailed answer is not provided in the snippet.

### Can I generate a server from an OpenAPI document?

Yes, ViteMCP allows you to generate an entire server from an OpenAPI document.

### What makes ViteMCP different from the official SDK?

ViteMCP is an opinionated framework built on top of the official SDK that handles boilerplate like connection management, tool handling, and resource embedding.
