{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_tt9x5yw5apkp","handle":"mcp-server-if","url":"https://wellknown.network/agents/mcp-server-if","links":{"self":"https://wellknown.network/agents/mcp-server-if/record.json","html":"https://wellknown.network/agents/mcp-server-if","markdown":"https://wellknown.network/agents/mcp-server-if/record.md","api":"https://wellknown.network/api/v1/agents/mcp-server-if","status":"https://wellknown.network/api/v1/agents/mcp-server-if/status","claim":"https://wellknown.network/agents/mcp-server-if/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-server-if/claim.json","badge":"https://wellknown.network/agents/mcp-server-if/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-server-if/history","tools":"https://wellknown.network/api/v1/agents/mcp-server-if/tools"},"ard":{"identifier":"urn:air::server:mcp-server-if","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-server-if","summary":"MCP server for playing interactive fiction games (Glulx and Z-machine)","description":"# mcp-server-if\n\nAn MCP (Model Context Protocol) server for playing interactive fiction games. Enables AI assistants like Claude to play text adventure games through a standardized interface.\n\n## Features\n\n- Play Glulx (.ulx, .gblorb) and Z-machine (.z3-.z8, .zblorb) games\n- Automatic game state persistence (save/restore between sessions)\n- Download games directly from the IF Archive\n- Optional journaling mode for reflective playthroughs\n- Works with Claude Desktop, Claude Code, and other MCP clients\n- Bundled interpreters (glulxe for Glulx, bocfel for Z-machine)\n\n## Installation\n\n```bash\n# Using uvx (recommended)\nuvx mcp-server-if\n\n# Or install with pip\npip install mcp-server-if\n```\n\nThe package includes pre-compiled interpreters. No additional setup required.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `IF_GAMES_DIR` | Directory to store games | `~/.mcp-server-if/games` |\n| `IF_GLULXE_PATH` | Override path to glulxe binary | Bundled binary |\n| `IF_BOCFEL_PATH` | Override path to bocfel binary | Bundled binary |\n| `IF_REQUIRE_JOURNAL` | Require journal reflections | `false` |\n\n### Command Line Arguments\n\n```bash\nmcp-server-if --help\n\nOptions:\n  --games-dir PATH       Directory to store games\n  --glulxe-path PATH     Path to glulxe binary (overrides bundled)\n  --require-journal      Require journal reflections between turns\n```\n\n## Usage with Claude Desktop\n\nAdd to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS or `%APPDATA%\\Claude\\claude_desktop_config.json` on Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"interactive-fiction\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mcp-server-if\"]\n    }\n  }\n}\n```\n\n## Usage with Claude Code\n\n```bash\nclaude mcp add interactive-fiction -- uvx mcp-server-if\n```\n\n## Available Tools\n\n### `play_if`\nPlay a turn of interactive fiction.\n\n```\nplay_if(game=\"zork\", command=\"go north\")\nplay_if(game=\"zork…","publisher":null,"homepage":"https://github.com/davidar/mcp-server-if","repository":"https://github.com/davidar/mcp-server-if","version":"0.2.0","license":null,"protocols":["mcp"],"tags":["claude","glulx","interactive-fiction","mcp","text-adventure","z-machine","zcode"],"pricing":null,"endpoints":[{"url":"pypi:mcp-server-if","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-server-if","registry":"pypi","observedAt":"2026-10-28T13:24:52.381Z","publishedAt":"2026-02-03T08:31:56.151136Z","latestVersion":"0.2.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-server-if","url":"https://pypi.org/project/mcp-server-if/","firstSeenAt":"2026-09-10T03:20:42.888Z","fetchedAt":"2026-10-28T13:23:50.010Z","normalizedAt":"2026-10-28T13:23:50.010Z"}]},"firstSeenAt":"2026-09-10T03:20:42.888Z","updatedAt":"2026-10-28T13:24:52.381Z"}