# FireCMS Cloud MCP server

> Connects Firebase projects to FireCMS, infers collection schemas from Firestore data, and manages CMS data, users and configuration.

- Repository: https://github.com/firecmsco/firecms
- Page: https://hostedmcp.org/servers/firecmsco/mcp
- Official: yes
- Transport: stdio, remote
- Stars: 1283
- Latest version: 3.5.2

## Install

### Claude Code

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

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

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

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

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

### VS Code CLI

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

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

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

### Codex

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

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

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

### Gemini CLI

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

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

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

## Tools (31)

- `firecms_get_current_user`
- `connect_project_to_firecms`
- `list_projects`
- `get_root_collections`
- `list_subcollections`
- `get_project_config`
- `update_project_name`
- `update_project_colors`
- `update_default_locale`
- `toggle_text_search`
- `toggle_entity_history`
- `list_users`
- `add_user`
- `update_user_roles`
- `remove_user`
- `list_collection_schemas`
- `get_collection_schema`
- `save_collection_schema`
- `update_collection_schema`
- `delete_collection_schema`
- `save_property`
- `delete_property`
- `generate_collection`
- `modify_collection`
- `list_documents`
- `get_document`
- `create_document`
- `update_document`
- `delete_document`
- `count_documents`
- `export_collection`

## FAQ

### How do I connect my existing Firebase project to FireCMS with MCP?

Run list_firebase_projects, enable the required APIs and Firestore if needed, then connect_project_to_firecms and finally setup_all_collections to infer collections from existing data.

### Can I preview an inferred collection schema without saving it?

Yes. preview_inferred_schema samples up to 200 documents, infers types, enums and validation locally, and returns an editable draft without saving anything.

### Which operations require an admin role?

All write operations require the authenticated user to have the admin role on the target project, while read operations are available to any authenticated project member.

### Can the MCP server read and edit Firestore documents?

Yes, it provides document tools to list, get, create, update, delete and count documents, plus export and bulk import.
