game-writer-mcp-server

kehindeBankole/game-writer-mcp-server

3.1

If you are the rightful owner of game-writer-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Game Writer MCP Server is a specialized Model Context Protocol server designed to assist game writers and narrative designers with text summarization and project management.

Tools
4
Resources
0
Prompts
0

Game Writer MCP Server

A Model Context Protocol (MCP) server that provides text summarization tools specifically designed for game writers and narrative designers. This server uses Cloudflare Durable Objects to maintain context and memory across multiple LLM sessions.

Features

🎮 Game Writer Tools

  1. summarizeAsGameWriter - Summarizes text from a game writer's perspective

    • Analyzes content for character development opportunities
    • Identifies potential plot points and story beats
    • Maintains project context across sessions
    • Stores analysis in Cloudflare Durable Objects for persistence
  2. getGameWriterMemory - Retrieves stored project memory

    • Shows summaries, key details, character notes, and plot points
    • Displays when the memory was last updated
  3. addCharacterNote - Adds character-specific notes to a project

    • Stores character insights and development ideas
    • Links notes to specific project IDs
  4. addPlotPoint - Records plot points and story beats

    • Maintains a list of plot developments for each project
    • Helps track story progression

🧮 Calculator Tools (Legacy)

  • add - Simple addition
  • calculate - Multi-operation calculator (add, subtract, multiply, divide)

Setup

1. Deploy

The Durable Objects are automatically configured in wrangler.jsonc. Simply deploy:

npm run deploy
npm run deploy

Usage Examples

Summarizing Game Content

{
  "tool": "summarizeAsGameWriter",
  "parameters": {
    "text": "The protagonist, a young mage named Lyra, discovers an ancient spellbook in the ruins of an abandoned tower. As she begins to read the cryptic text, strange symbols begin to glow on the pages, and she feels a surge of magical energy coursing through her veins.",
    "projectId": "fantasy-rpg-001",
    "context": "A fantasy RPG about a young mage discovering her powers in a world where magic is rare and dangerous."
  }
}

Adding Character Notes

{
  "tool": "addCharacterNote",
  "parameters": {
    "projectId": "fantasy-rpg-001",
    "characterName": "Lyra",
    "note": "Shows curiosity and bravery by exploring dangerous ruins. Her magical awakening could be a key character development moment."
  }
}

Retrieving Project Memory

{
  "tool": "getGameWriterMemory",
  "parameters": {
    "projectId": "fantasy-rpg-001"
  }
}

Connecting to MCP Clients

Cloudflare AI Playground

  1. Go to https://playground.ai.cloudflare.com/
  2. Enter your deployed MCP server URL: your-mcp-server.your-account.workers.dev/sse
  3. Use the game writer tools directly in the playground

Claude Desktop

Update your Claude Desktop configuration:

{
  "mcpServers": {
    "game-writer": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://your-mcp-server.your-account.workers.dev/sse"
      ]
    }
  }
}

Data Structure

The server stores project data in the following format:

interface GameWriterMemory {
  projectId: string;
  summary: string;
  keyDetails: string[];
  characterNotes: Record<string, string>;
  plotPoints: string[];
  timestamp: number;
}

Benefits for Game Writers

  • Context Persistence: Maintains project context across different LLM sessions
  • Character Development: Tracks character notes and development opportunities
  • Plot Tracking: Records plot points and story beats for continuity
  • Multi-LLM Support: Works with any MCP-compatible LLM client
  • Cloud Storage: Data is stored securely in Cloudflare Durable Objects with automatic persistence

Development

Local Development

npm run dev

Type Checking

npm run type-check

Formatting

npm run format

License

This project is open source and available under the MIT License.