# upAPI MCP server

> Enables AI agents to perform web scraping, search, social media lookups, and file operations through a single unified API gateway.

- Repository: https://github.com/DevinoSolutions/upapi-mcp
- Page: https://hostedmcp.org/servers/devinosolutions/upapi-mcp
- Transport: stdio, remote
- Stars: 0
- License: MIT
- Latest version: 0.2.0

## Install

### Claude Code

```sh
claude mcp add --env 'UPAPI_API_KEY=<YOUR_UPAPI_API_KEY>' upapi-mcp -- npx -y @upapi/mcp
```

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

```json
{
  "mcpServers": {
    "upapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upapi/mcp"
      ],
      "env": {
        "UPAPI_API_KEY": "<YOUR_UPAPI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "upapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@upapi/mcp"
      ],
      "env": {
        "UPAPI_API_KEY": "<YOUR_UPAPI_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"upapi-mcp","type":"stdio","command":"npx","args":["-y","@upapi/mcp"],"env":{"UPAPI_API_KEY":"<YOUR_UPAPI_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "upapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upapi/mcp"
      ],
      "env": {
        "UPAPI_API_KEY": "<YOUR_UPAPI_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add upapi-mcp --env 'UPAPI_API_KEY=<YOUR_UPAPI_API_KEY>' -- npx -y @upapi/mcp
```

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

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

[mcp_servers.upapi-mcp.env]
UPAPI_API_KEY = "<YOUR_UPAPI_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'UPAPI_API_KEY=<YOUR_UPAPI_API_KEY>' upapi-mcp npx -- -y @upapi/mcp
```

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

```json
{
  "mcpServers": {
    "upapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upapi/mcp"
      ],
      "env": {
        "UPAPI_API_KEY": "<YOUR_UPAPI_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `UPAPI_API_KEY` | yes | yes | upAPI API key (create one at https://app.upapi.io/dashboard/api-keys) |
| `MCP_TOOL_SURFACE` | no | no |  |
| `UPAPI_TOOL_MODE` | no | no | Tool table: full (default), directory (curated named tools) or compact. |

## Tools (2)

- `search_ops`
- `call_op`

## FAQ

### How do I connect to upAPI via MCP?

You can connect locally using an API key via stdio or use the hosted HTTP endpoint which supports OAuth sign-in.

### Does the server support running multiple operations at once?

Yes, using Code Mode, you can use the execute_typescript tool to batch several operations into one round trip using Promise.all.
