Integration Quest
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Integration Quest start a new game as a Recipe Builder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Integration Quest: A Workato RPG
Descend into the Legacy System Dungeons. Connect the disconnected. Automate the manual. Defeat the bugs that plague enterprise workflows.
A Workato-themed text-based RPG implemented as a Python MCP (Model Context Protocol) server. Battle through legacy systems, API errors, and enterprise chaos as an Integration Hero!
Table of Contents
Related MCP server: RPG Ledger MCP Server
The Story
You are an Integration Hero, venturing into the depths of the Integration Dungeon where legacy systems lurk, APIs fail, and technical debt accumulates. Armed with your trusty HTTP Client and determination, you must connect the disconnected, transform the untransformed, and bring order to enterprise chaos.
Will you become a legendary Integration Engineer, mastering bulk operations? A powerful Recipe Builder, wielding formula transformations? A cunning API Hacker, finding workarounds for every obstacle? Or a resilient Support Engineer, recovering from any failure?
The choice is yours. The legacy systems await.
Installation
Prerequisites
Python 3.11 or higher
uv package manager
Setup
Install uv (if not already installed):
# macOS and Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Clone the repository:
git clone https://github.com/MattCarpenter-Workato/workato-integration-quest.git cd workato-integration-questInstall dependencies:
uv syncNote: Package discovery warnings are safe to ignore.
Playing the Game
Quick Start
Choose your preferred play mode:
# Terminal Mode (Interactive CLI)
uv run python play.py
# Local MCP Server (for Claude Desktop)
uv run python server.py
# Remote MCP Server (HTTP)
uv run python remote_server.pyNew Player Guide
First time playing? Use the AI Game Guide to learn the mechanics. Copy the contents of game_guide_prompt.md into your conversation with Claude when using the MCP server. The guide will teach you game mechanics, explain Workato concepts in context, and provide strategic advice tailored to your experience level.
Play Modes
Terminal Mode
Play directly in your terminal with an interactive command-line interface:
uv run python play.pyExample session:
>>> explore
šļø THE INTEGRATION HUB
You stand at the entrance...
>>> attack bug
š² Rolled 1d4: [3] = 3
āļø You hit Bug for 3 damage!
>>> status
š Alex the Mage - Level 1
ā¤ļø Uptime: 90/90Claude Desktop (MCP Server)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"integration-quest": {
"command": "uv",
"args": [
"--directory",
"/path/to/workato-integration-quest",
"run",
"python",
"server.py"
]
}
}
}Important: Update the path to match your actual installation location.
Claude Code (CLI)
Add the MCP server to your Claude Code configuration:
claude mcp add integration-quest -- uv --directory /path/to/workato-integration-quest run python server.pyOr manually edit ~/.claude/settings.json:
{
"mcpServers": {
"integration-quest": {
"command": "uv",
"args": [
"--directory",
"/path/to/workato-integration-quest",
"run",
"python",
"server.py"
]
}
}
}After configuration, restart Claude Code and the game tools will be available.
Remote MCP Server
Run the game as a remote MCP server accessible over HTTP:
uv run python remote_server.pyConnect via Claude Desktop:
{
"mcpServers": {
"integration-quest-remote": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:8000/sse"]
}
}
}Environment Variables:
Variable | Default | Description |
|
| Server port |
|
| Server host |
FastMCP Cloud (Hosted)
Deploy Integration Quest to the cloud for free with FastMCP Cloud:
Fork this repository to your GitHub account
Sign up at fastmcp.cloud with GitHub
Create a new project with entrypoint:
remote_server.py:mcpConnect via:
npx mcp-remote https://your-project.fastmcp.app/mcp
See DEPLOY_FASTMCP_CLOUD.md for detailed instructions.
Available Commands
Command | Description |
| Create your Integration Hero |
| View stats, inventory, and status |
| Explore current room |
| Examine enemies or items in detail |
| Navigate north/south/east/west |
| Attack an enemy with skills |
| Take defensive stance |
| Use consumables from inventory |
| Pick up items from room |
| Equip weapons and armor |
| Recover HP/MP (20% encounter chance) |
| Attempt to escape combat |
| Create a checkpoint |
| Restore from checkpoint |
Character Classes
Warrior (Integration Engineer)
"Process more. Process faster."
Attribute | Value |
Primary Stat | Throughput (STR) |
HP Modifier | +20 |
MP Modifier | -10 |
Skills:
Bulk Upsert ā Hit all enemies at once
Force Sync ā Ignore armor completely
Throughput Surge ā Take two actions per turn
Mage (Recipe Builder)
"Everything is just a transformation away."
Attribute | Value |
Primary Stat | Formula Power (INT) |
HP Modifier | -10 |
MP Modifier | +30 |
Skills:
Formula Transform ā Rewrite enemy logic
Lookup Table Strike ā Guaranteed hit +50% damage
Callable Recipe ā Summon automation ally
Rogue (API Hacker)
"There's always a workaround."
Attribute | Value |
Primary Stat | Rate Agility (DEX) |
HP Modifier | 0 |
MP Modifier | 0 |
Skills:
Workaround ā Bypass armor, double damage
Rate Limit Dance ā Evade all attacks
Custom Connector ā Exploit weaknesses for 3x damage
Cleric (Support Engineer)
"No system stays down on my watch."
Attribute | Value |
Primary Stat | Error Resilience (CON) |
HP Modifier | +10 |
MP Modifier | +15 |
Skills:
Error Handler ā Auto-revive from 0 HP (once per combat)
Job Recovery ā Restore 40% max HP
Escalation ā Call backup ally
Enemies
Common (Depth 1-3)
Enemy | Description |
Bug | A crawling syntax error |
Timeout Gremlin | Loves slow APIs |
Auth Zombie | Expired token, still walking |
Null Pointer Specter | Expected data, found void |
Missing Field Imp | Required field not provided |
Uncommon (Depth 4-6)
Enemy | Description |
Rate Limit Guardian | Inflicts Rate Limited status |
Data Mismatch Hydra | Attacks with 3 heads |
Schema Drift Phantom | Randomizes stats |
Pagination Void | Steals inventory items |
Infinite Loop Serpent | Attacks twice per turn |
Rare (Depth 7-9)
Enemy | Description |
Undocumented API | Immune until examined |
Frozen Job Golem | 50% chance to skip turn |
Webhook Storm | AOE damage |
Legacy Code Lich | Resurrects defeated enemies |
Spaghetti Code Horror | Tangles your skills |
Bosses (Every 5th Depth)
Boss | Depth | Description |
SAP Config Beast | 5 | 47 mandatory fields |
The Legacy Mainframe | 10 | Running since 1987 |
The Monolith | 15 | All services in one |
Technical Debt Dragon | 20 | Every shortcut returns |
Items
Weapons (Connectors)
Weapon | Tier | Damage | Special |
HTTP Client | Common | 1d4 | Starting weapon |
Slack Webhook | Common | 1d6 | +2 vs Communication |
Salesforce Connector | Uncommon | 2d6 | Bulk Mode: Hit all |
NetSuite Blade | Rare | 3d6 | Ignores 50% armor |
SAP RFC Cannon | Legendary | 4d8 | Stuns for 1 turn |
Workato SDK Staff | Legendary | 3d10 | +5 all stats |
Armor (Error Handlers)
Armor | Tier | Protection | Effect |
Basic Logging | Common | +1 | See enemy HP |
Try/Catch Vest | Common | +2 | Survive fatal hit once |
Retry Logic Armor | Uncommon | +4 | Auto-retry defenses |
Circuit Breaker Shield | Rare | +6 | Block cascading damage |
Observability Plate | Legendary | +10 | See all enemy stats |
Consumables
Item | Effect |
Job Retry Potion | Restore 50 Uptime |
API Credit Refill | Restore 30 API Credits |
Token Refresh Vial | Cure "Auth Expired" status |
API Documentation | Reveal enemy weakness |
Graceful Degradation Bomb | Guaranteed escape |
Bulk Operation Scroll | Next attack hits all |
Recipe Fragment | Collect 3 for +5 max HP |
Golden Ticket | Skip to next boss room |
Game Mechanics
Stats (Workato Themed)
Stat | Theme | Description |
Uptime | HP | Integration health (0 = system down) |
API Credits | MP | Fuel for powerful skills |
Throughput | STR | Records processed per action |
Formula Power | INT | Transformation complexity |
Rate Agility | DEX | Avoiding 429 errors |
Error Resilience | CON | Recovery from failures |
Room Types
Type | Theme | Description |
Corridor | Pipeline | Data flows through cables |
Chamber | App Hub | Vast application instances |
Treasure | Data Lake | Perfectly normalized JSON |
Trap | Legacy System | SOAP envelopes and XML namespaces |
Boss | Core System | Ultimate integrations |
Project Structure
workato-integration-quest/
āāā server.py # FastMCP server + all 14 tools
āāā play.py # Terminal mode CLI interface
āāā remote_server.py # Remote MCP server (HTTP/SSE)
āāā config.py # Game configuration and constants
āāā pyproject.toml # Python project configuration
āāā requirements.txt # Python dependencies
āāā game_guide_prompt.md # Full AI guide system prompt
āāā game_guide_prompt_short.md # Condensed guide prompt
āāā models/
ā āāā hero.py # Hero, stats, inventory
ā āāā combat.py # Combat state, enemies
ā āāā world.py # Room, dungeon map
ā āāā items.py # Weapons, armor, consumables
āāā systems/
ā āāā combat.py # Damage calc, turn order
ā āāā generation.py # Procedural dungeon generation
ā āāā progression.py # XP, leveling, skill unlocks
ā āāā effects.py # Status effect processing
ā āāā dice.py # Dice rolling utilities
āāā data/
ā āāā enemies.json # 20+ enemy definitions
ā āāā items.json # Weapons, armor, consumables
ā āāā descriptions.json # Room templates
ā āāā skills.json # Class skills
āāā tests/
āāā test_dice.py # Dice rolling unit tests
āāā test_progression.py # Progression system testsDevelopment
Running Tests
# Run all function tests (31 tests)
uv run python test_all_functions.py
# Run unit tests with pytest
uv run pytest tests/Adding Content
Content Type | File |
Enemies |
|
Items |
|
Skills |
|
Room Descriptions |
|
Contributing
Contributions are welcome! Here's how you can help:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Guidelines
Follow existing code style and conventions
Add tests for new features
Update documentation as needed
Keep commits focused and atomic
Ideas for Contributions
New enemy types with unique mechanics
Additional character classes
New weapons, armor, and consumables
Quality of life improvements
Bug fixes and optimizations
License
This project is licensed under the MIT License. See the LICENSE file for details.
MIT License
Copyright (c) 2024 Matt Carpenter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Credits
Built with:
FastMCP 2.0 ā Python MCP server framework
Pydantic ā Data validation
uv ā Fast Python package manager
Available Tools
15 toolsattackA
Attack an integration villain.
Args: target: Enemy name (e.g., "Rate Limit Guardian") skill: Skill to use (default: basic_attack, or class skill name)
Returns: Combat result with damage dealt and enemy status
Inputs: target (required), skill. Returns: object
create_characterA
Create an Integration Hero and begin your quest.
Roles:
warrior (Integration Engineer): High Throughput, bulk operations
mage (Recipe Builder): Formula Power, transformations
rogue (API Hacker): Rate Agility, workarounds
cleric (Support Engineer): Error Resilience, recovery
Args: name: Your hero's name role: Character class/role
Returns: Hero creation confirmation and starting stats
Inputs: name (required), role (required). Returns: object
defendA
Defensive stance. Reduces incoming damage by 50% and triggers retry logic if equipped.
Returns: Defense confirmation and turn results
Inputs: no named parameters. Returns: object
enter_diagnostic_codeC
Run system diagnostics with a diagnostic code.
Args: code: Diagnostic code sequence
Returns: Diagnostic result
Inputs: code (required). Returns: object
equipB
Equip a connector (weapon), error handler (armor), or accessory from inventory.
Args: item: Item name to equip
Returns: Equipment confirmation
Inputs: item (required). Returns: object
examineA
Examine an enemy, item, or system feature in detail. Critical for Undocumented API enemiesāthey're immune until examined!
Args: target: Name of enemy or item to examine
Returns: Detailed information about the target
Inputs: target (required). Returns: object
exploreA
Explore the current system. Reveals room details, items, connectors, and integration villains.
Returns: Current room description with contents and exits
Inputs: no named parameters. Returns: object
fleeA
Attempt graceful degradation (escape combat). Success based on Rate Agility.
Returns: Flee attempt result
Inputs: no named parameters. Returns: object
load_gameA
Restore from a previous checkpoint.
Args: save_id: Save ID from previous save_game call
Returns: Load confirmation
Inputs: save_id (required). Returns: object
moveB
Navigate to an adjacent system.
Args: direction: Cardinal direction to move
Returns: New room description or failure message
Inputs: direction (required). Returns: object
pickupC
Pick up an item or connector from the current room.
Args: item: Item name to pick up
Returns: Pickup confirmation
Inputs: item (required). Returns: object
restA
Rest to recover Uptime and API Credits. Warning: 20% chance of triggering a random encounter!
Returns: Rest results and possible encounter
Inputs: no named parameters. Returns: object
save_gameA
Create a checkpoint. Returns save ID for later restoration.
Returns: Save confirmation with save ID
Inputs: no named parameters. Returns: object
use_itemA
Use a consumable from inventory.
Args: item: Item name (e.g., "Job Retry Potion") target: Target of item effect (default: self)
Returns: Item usage result
Inputs: item (required), target. Returns: object
view_statusA
View your Integration Hero's current Uptime, API Credits, stats, inventory, and status effects.
Returns: Complete character status sheet
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 15 tools
Each tool has a distinct purpose in the game loop: combat (attack, defend, flee), exploration (explore, examine, move), inventory management (pickup, equip, use_item), character management (create_character, view_status, save_game, load_game), plus rest and diagnostic. No two tools perform the same function, reducing ambiguity.
All tool names follow a consistent verb or verb_noun pattern in lowercase snake_case (e.g., attack, create_character, enter_diagnostic_code). There is no mixing of styles like camelCase or different verb forms, making the naming predictable.
15 tools is well-scoped for a text-adventure game server. It covers essential actions without being overwhelming or too sparse, fitting the purpose of an integration-themed quest.
The tool set covers core game mechanics: character creation, combat, exploration, inventory, saves, and diagnostics. Missing a dedicated interaction tool for NPCs or social actions, but examine and explore partially fill that gap, making it nearly complete.
Maintenance
Related MCP Connectors
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Build your own tools from chat: design, test and host them on a shareable MCP server URL.
Run your Zenning AI employees and act across 2,000+ connected apps from any MCP client.
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables complete RPG Maker MZ game development through MCP tools, including autonomous game creation from concepts, AI-generated assets using Gemini 2.5 Flash, and programmatic control over maps, events, characters, and databases. Supports full game creation workflow from a single command with automatic story, asset, and implementation generation.3225-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to act as RPG Game Masters by managing campaign state including characters, inventory, quests, and logs through MCP tools. Supports campaign mutations and provides both MCP and HTTP API access to RPG session data.2-
- AlicenseNot gradedqualityDmaintenanceEnables LLM-driven text game state management by exposing MCP tools for managing players, locations, items, entities, and abstract concepts.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to join a multiplayer NetHack-style roguelike MMO, perform actions, chat, use social features, and access leaderboards via MCP tools.MIT