Logo Coop Anything

Coop Anything

Cộng đồng
cranebeaker

Co-op Anything: point your AI agent at any single-player game and play it with friends (online and/or splitscreen!). MCP server and playbook to let you reverse engineer, fix, test, ship and share what it learns.

Nhà phát hànhcranebeaker
Kho mãcoop-anything
Ngôn ngữPython
Bản fork
117
Sao
848
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Coop Anything cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    848 sao và 117 bản fork từ kho mã được liên kết.

Want to play a single-player game with your friends? Point your AI coding agent at this repo. It researches what exists, reverse engineers the game and its engine if it has to, builds or fixes the co-op, tests it with bots inside the game, and packages it so your friends install it in one click and join over Steam without port forwarding.

The sky is the limit. Every game that runs on your PC is a candidate.

Games being made co-op right now: Deus Ex (released) · Fallout: New Vegas · Zelda: Ocarina of Time (fully synced) · Dungeon Keeper · S.T.A.L.K.E.R. Shadow of Chernobyl

From the community: Mega Man X and Mega Man X4 (native PC with co-op netplay) · Pilotwings 64 (split-screen) · Crab Champions · Stacklands · Half Sword · Enter the Gungeon · Clive Barker's Jericho · Poppy Playtime · Divinity II (split-screen) · Command & Conquer 3 (campaign co-op) · Far Cry 2 · Gothic 3 · Fear & Hunger · Modern Warfare 2 (campaign co-op) · Little Nightmares (on our Discord) · yours next?

Quick start

Tell your agent (Claude Code, Codex, Gemini CLI, Cursor, OpenCode, ...):

Read https://github.com/cranebeaker/coop-anything and follow AGENTS.md.
I want to play <game> in co-op with my friends.

The agent follows AGENTS.md and the skills in .agents/skills (also in .claude/skills for Claude Code).

Add the MCP server

The Co-op Anything MCP lets any agent search the co-op directory, detect a game's engine from its install folder, read the playbook and skills, and validate contributions. Claude Code picks it up from this repo's .mcp.json; for other agents:

claude mcp add coop-anything -- python <clone>/tools/mcp/coop_mcp.py

Codex, Gemini CLI and Cursor setup: playbook/mcp.md. For the binary work, pair it with a reverse-engineering MCP such as REA (npx rea-agents setup): Co-op Anything knows what to do, REA looks inside the game.

How it works

Your agent takes one of two paths.

Path 1: finish what existsPath 2: build it from zero
WhenA co-op mod exists but is buggy, stalled or abandoned. Most loved games are here.Nothing usable exists.
HowFind the last build, mine its bug reports (issues, forums, Discord), audit the code, fix it as a separate package, test, ship.Reverse engineer the game and engine, hook in, show the second player, sync enemies, world and story, handle level changes and saves, test, ship.
Skillscoop-research, coop-revive, coop-qacoop-reverse-engineer, coop-build-from-zero, coop-networking, coop-sync-testing, coop-qa
GuideReviving abandoned modsHow co-op mods work

Both paths end the same way: automated tests with real game clients (QA), easy install, Steam relay networking (networking), and a pull request back here.

Sync test tools

Ready-made, game-agnostic tools for building and testing co-op sync, in tools/. Each has tests, mutation twins and one command that prints ALL OK (python -I tools/test_all.py runs them all).

ToolWhat it does
chaosUDP relay that adds lag, loss, reorder, duplicates and one-way cuts between real clients, with live control
flightFlight recorder for your mod plus an analyzer: lines up 2 to 4 machines, finds the first desync, shrinks it and writes a regression test
fuzzSeeded N-player co-op fuzzer with invariant oracles (converge, no double apply, one owner, no dupes, nothing stale)
ownershipSmall C++ library: one owner per NPC with epochs, handoff, and stale echo rejection
fakeworldExample in-memory game world for testing sync without launching the game
gameslot, gamepoolLock and warm pool for running several game copies on one PC safely
scenarios, botsJSON start states plus multi-bot co-op playbooks with a state diff after each step
animcheckCompares animation and pose across machines and flags sliding, T-poses, floating and rubber-banding
bridge, inspectAn RPC server template for inside your game (console line, state dump, save, load, screenshot) with a Python client, plus a live side-by-side view of every copy
hotreloadSplit your mod into a loader and a core, and swap the core inside the running games instead of restarting them
mutants, buildlockRuntime mutation twins for every fix, and a shared build lock with a build cache

Fast iteration shows where the time in an in-game fix round goes and which tool removes each wait.

They come from the fnv-coop project. The coop-sync-testing skill tells your agent when to use which.

What you can co-op

Your game is...Typical approachTools your agent uses
On an engine with multiplayer already (Unreal 1/2, Source, id Tech, X-Ray)Make the single-player logic run on the existing netcode with script modsScript source, SDK compilers, mod packages
Bethesda (Gamebryo, Creation)Script extender plugin, host-authority sync, reuse Tilted Online style designsSKSE / F4SE / xNVSE, Ghidra, REA
UnityHarmony patches through a mod loader, a networking library in C#BepInEx, MelonLoader, dnSpyEx, Il2CppDumper
Unreal Engine 4/5Lua or C++ mods with an SDK dump of the game's classesUE4SS, Dumper-7
RE Engine, FromSoftware, other proprietaryDLL hooks; extend the game's own online features where they existREFramework, MinHook, Ghidra, REA, x64dbg
Decompiled or open source (N64 decomps, KeeperFX, OpenMW, source ports)Add networking directly in the codeA compiler, the decomp, Docker cross builds
Console only (PS1, PS2, N64, Dreamcast, GameCube, Wii, GBA, ...)Decomp or recompiled PC port first; else emulator netplay, or a memory-sync mod between two emulatorsDecomps and recompilers (N64Recomp, XenonRecomp), PCSX2 PINE, Dolphin Memory Engine, BizHawk / mGBA Lua
Closed binary, nothing elseFull reverse engineering of state, saves and levels; the hardest pathREA, GhidraMCP, ida-pro-mcp, Frida, Cheat Engine

Console games: emulator co-op and decompiled or recompiled PC ports, the route Ocarina of Time co-op took.

Couch co-op on one PC? Split screen builds on Nucleus Co-op (Windows) and PartyDeck (Linux and Steam Deck), both open source.

Full tool list with install notes: playbook/tools.md. Which engine has co-op work you can reuse: playbook/engine-families.md.

Games so far

GameWhat was doneReleaseWrite-up
Deus Ex (2000)Revived the HX co-op mod: fix package, Steam relay, automated test suitedeus-ex-coopgames/deus-ex
Dungeon Keeper (1997)Shared-keeper co-op on KeeperFX, Steam relay networkingdungeon-keeper-coopgames/dungeon-keeper
S.T.A.L.K.E.R. Shadow of ChernobylFix patch for Shadow of COOP (true ending unlocked)stalker-soc-coop-fixesgames/stalker
Fallout: New VegasStory co-op: shared quests, dialogue results, karma and reputationfnv-coopgames/fallout-new-vegas
Zelda: Ocarina of TimeFixes for a fully synced Ship of Harkinian co-op forkocarina-coopgames/ocarina-of-time

Plus a directory of 230+ co-op mods and gaps for other games (browse and search it at coopanything.app), each with what it really syncs and how well it was tested.

Everyone is a contributor

Every agent that works on a game sends what it learned back as a pull request: a fix, a bug list, a test, a failed attempt, a corrected directory entry. One person's agent gets a game halfway; the next one starts from there. Pooled together, that's enough compute to get even the biggest games over the line.

  • Your agent opens the PR as a draft; you review the diff and publish it.
  • Each game gets its own release repo, linked from Games so far.
  • The QA level on every entry says how it was proven: untested, player reports, automated tests (bots drove real game clients) or verified playthrough.

CONTRIBUTING.md has the details. Chat with other contributors on Discord.

FAQ

Documentation

Rules

Don't commit game files or assets here. Building on decomps is fine; a game's code lives in its own repo. No personal info. Credit the mods you build on and give fixes back to them. Co-op only: nothing that cheats in other people's multiplayer games or touches anti-cheat.

License: MIT.

Dùng MCP Coop Anything với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Coop Anything, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Coop Anything làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Coop Anything.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "coop-anything": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Coop Anything, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Coop Anything.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Coop Anything giúp tôi làm việc này không?
Coop Anything
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Coop Anything.

Câu hỏi thường gặp

Máy chủ MCP Coop Anything dùng để làm gì?

Coop Anything là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Coop Anything với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Coop Anything với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Coop Anything với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Coop Anything, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Coop Anything với TypingMind?

Coop Anything hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Coop Anything cung cấp những công cụ nào trong TypingMind?

Coop Anything cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Coop Anything không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Coop Anything yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇