---
name: "xpay-quakelive-edit-map-entities"
description: "Edit entities in an existing BSP map. Full CRUD operations: add (classname + key/value pairs), remove (by index or classname), move (change origin), set_key, remove_key. Custom 'info_ql_protocol' entities are ignored by the QL client but readable by our tools. Light entities (classname 'light') can be added for path tracing support. Output: modified .bsp and optionally .pk3 (ready for QL client use)."
version: "1.0.0"
price: "$0.02/call"
provider: "Mcps"
---

# Edit Map Entities

Edit entities in an existing BSP map. Full CRUD operations: add (classname + key/value pairs), remove (by index or classname), move (change origin), set_key, remove_key. Custom 'info_ql_protocol' entities are ignored by the QL client but readable by our tools. Light entities (classname 'light') can be added for path tracing support. Output: modified .bsp and optionally .pk3 (ready for QL client use).

**Provider:** Mcps
**Price:** $0.02/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to edit entities in an existing bsp map. full crud operations: add (classname + key/value pairs), remove (by index or classname), move (change origin), set_key, remove_key. custom 'info_ql_protocol' entities are ignored by the ql client but readable by our tools. light entities (classname 'light') can be added for path tracing support. output: modified .bsp and optionally .pk3 (ready for ql client use).. This is part of the Mcps provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 87+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("quakelive/edit_map_entities")`
2. **`xpay_run`** — Execute: `xpay_run("quakelive/edit_map_entities", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `output_filename` | string,null | No | Output filename (default: <map>_edited.bsp). Written to MAP_DIR. |
| `write_pk3` | boolean,null | No | Also write a .pk3 archive alongside the .bsp (default: true) |
| `operations` | array | Yes | Operations to perform in order |
| `map` | string | Yes | BSP map to edit (bare name, path, or pk3 lookup) |

## Pricing

- **Cost:** $0.02/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Mcps (all tools)](https://xpay.tools/skills/quakelive/SKILL.md) — 88 tools
- [Add Player](https://xpay.tools/skills/quakelive/add-player/SKILL.md) — $0.00/call
- [Add Raw Snapshot](https://xpay.tools/skills/quakelive/add-raw-snapshot/SKILL.md) — $0.00/call
- [Add Server Command](https://xpay.tools/skills/quakelive/add-server-command/SKILL.md) — $0.00/call
- [Analyze Demo](https://xpay.tools/skills/quakelive/analyze-demo/SKILL.md) — $0.02/call
- [Award Medal](https://xpay.tools/skills/quakelive/award-medal/SKILL.md) — $0.02/call

## Links

- Tool page: https://xpay.tools/quakelive/edit-map-entities/
- Provider: https://xpay.tools/quakelive/
- All tools: https://xpay.tools/explore
