Skip to main content
Glama
README.md
# pirate-borg-mcp

An MCP server for [Pirate Borg](https://www.pirateborg.com/). Gives an LLM the tools it needs to generate stat-accurate NPCs using the procedural tables from the rulebook.

## Tools

### `create_character`

Generates a Pirate Borg NPC. The LLM provides narrative fields (name, faction, description, attack, inventory); the server rolls all numerical values from the enemy generator tables: HP, morale, armor tier, and the five ability score modifiers (Strength, Agility, Presence, Toughness, Spirit).

The LLM can optionally override `hp_tier` (1–10) or `armor_tier` (0–3) — useful for intentionally tough or lightly armored characters.

Returns a formatted markdown stat block.

## Setup

```bash
pnpm install
pnpm build
```

## Connecting to Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "pirate-borg": {
      "command": "node",
      "args": ["/absolute/path/to/pirate-borg-mcp/dist/index.js"]
    }
  }
}
```

## Development

```bash
pnpm dev   # runs src/index.ts directly with tsx (no build step)
```

TDQS

A4.3/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no risk of ambiguity or misselection.

Naming Consistency5/5

Single tool uses clear verb_noun pattern (create_character), consistent with good naming conventions.

Tool Count4/5

A single tool is appropriate for a focused NPC generator server, though slightly thin if broader interaction is expected.

Completeness3/5

The server only supports creating characters; there are no tools for reading, updating, or deleting, which may limit agent workflows but is acceptable for a simple generator.

Maintenance

ActivityInactive
ResponsivenessNo issues