Skip to main content
Glama

Open77 Devkit MCP

@open2077/mcp gives coding agents the whole Open77 Lua surface, pinned to the server build you run: every native with its permissions, reasons and first build, the guides, the open77:* events, the manifest grammar, the game-data names, and a validator that catches a client native in a server script before the server does.

Open77 turns Cyberpunk 2077 into a server-driven multiplayer platform; gameplay is written as Lua resources. Its natives are not in any model's training data, which is why an assistant without this server writes FiveM code with Open77 names. This is the fix.

Install

One line, from inside your server folder so the build is detected:

npx -y @open2077/mcp init

init registers the server in every agent it finds: Claude Code, Codex CLI, Cursor, VS Code, Claude Desktop, Windsurf, Gemini CLI. It never overwrites a different existing entry unless you pass --force, and npx -y @open2077/mcp uninstall reverses it.

Without Node, or from a browser client, use the hosted docs-only endpoint:

https://mcp.open2077.net/mcp

Claude Code: claude mcp add --transport http open77-devkit https://mcp.open2077.net/mcp. In claude.ai, add it under Settings › Connectors. The hosted endpoint answers for the latest published build, or the build you pass as ?build=2.31.13+op77.54.

Related MCP server: DesyncedMCP

What the agent gets

Tool

Answers

open77_search

natives, guide sections, events, permissions, FiveM aliases

open77_api

one card: signature, permissions, reasons, since, example, related guides

open77_namespace, open77_guide, open77_events, open77_permissions

the catalogue by facet

open77_data

vehicles, weapons, items, NPC templates, props, VFX, SFX, animations

open77_fivem_equivalent

what to use on Open77, and what is deliberately absent

open77_manifest_schema, open77_server_config_schema

open77.lua and server.jsonc

open77_changes, open77_build

what a build adds; which build this session answers for

open77_workspace, open77_validate, open77_new_resource

local only: detect the server, validate a resource (the server's own --lint verdict when the binary is next to you; command names another loaded resource already registers), scaffold one

open77_server_status, open77_resources, open77_resource, open77_console_tail, open77_console_command, open77_tunables

local only, through Warden: status, start/stop/restart/reload/validate, the log, the console, tunables

open77_workshop_search, open77_workshop_release, open77_workshop_plan, open77_workshop_install, open77_workshop_job

local only, through Warden: browse the Workshop, plan, install with the human's consent, follow the job

Resources: open77://skill (the method), open77://guide/{slug}, open77://api/{runtime}/{namespace}, open77://stubs/{runtime}. Prompts: new_resource, port_fivem_resource, explain_reason.

Every answer states the build it answers for. A native newer than that build, or in no published build, is reported as NOT AVAILABLE, never silently served.

What's new

0.1.4 — refreshed RP animation guidance: walking upper-body profiles, native animation-owned items, custom item permissions, hold/drink transitions and timed sequences. open77_data identifies animation inventories as discovery data, with public downloads and guidance for finding playable profiles. API cards include the server animation permissions. Match the runtime and archives before using newer item options; the original native's since is not a per-option version guarantee. First-person presentation remains experimental. Includes the 0.1.3 fixes below.

For RP jobs, start with open77_guide rp-animations, then open77_api server:Open77.animations.play. Every official resource is public in open77-resources; the held-action examples are at open77-resources/rp/docs/held-actions.md.

0.1.3 -- fixes measured by four MCP-only agents on 2026-09-18 against the index for 2.31.13+op77.76:

  • open77_validate accepts the documented .await forms (Open77.database.query.await(sql, params) and the other database methods) and the global MySQL, which is Open77.database on every build that has the table; both still go through the permission check, so database.access is required as before. A name whose card documents no .await form gets a warning instead of a false "not in the catalogue". The alias table lives in src/index/conventions.ts, each entry pointing at the guide section that documents it, and the test suite checks those sections still say so.

  • open77_api client:<name> works as the mirror of server:<name>; a prefix contradicting runtime says so instead of "does not exist".

  • open77_api server:exports and server:print answer from the guides (server-exports#publish-a-service, server-api#logging) until the index carries their cards; open77_namespace _G lists them as a footnote.

  • open77_validate warns when a literal RegisterCommand("<name>") reuses a name another resource under the detected server already registers on the same side; the runtime keeps one handler silently. Only when a server is detected (open77_workspace): a session with no server next to it has nothing to compare against.

Editor completion

npx -y @open2077/mcp types

writes open77-client.d.lua, open77-server.d.lua and a .luarc.json into your resources root, so the Lua language server in VS Code or Cursor completes Open77.* from the same catalogue.

Where the knowledge comes from

The index is built from the public documentation content of open77-app: content/api and content/docs, which are synced from the platform wiki, itself generated from the client and server source, plus the site's own guides in content/guides (the RP job pages, the runtime and operator pages). Nothing here is hand-written knowledge: cards, permissions, reasons, since, events and catalogues are extracted from code; guides are chunked as published. A wiki guide keeps its name over a site guide.

Index builds are published to https://cdn.open2077.net/dev-index/<build>/ with a hashed manifest. The package ships a snapshot of the latest index and refreshes from the CDN at most once a day, verifying every file against the manifest; offline, it serves the cache or the snapshot and says so.

Commands

open77-mcp                       serve over stdio (what agents launch)
open77-mcp serve-http --port N   serve over Streamable HTTP
open77-mcp init [--server-dir D] [--project P] [--only cursor,codex] [--force]
open77-mcp uninstall
open77-mcp types [--out DIR]
open77-mcp status
open77-mcp warden-login          sign in to Warden in the terminal; only the session cookie is kept (~/.open77/mcp/warden)
open77-mcp build-index --content <open77-app/content> [--out DIR]
open77-mcp verify-index [--dir DIR]

Environment: OPEN77_INDEX_DIR (serve this index directory), OPEN77_MCP_OFFLINE=1, OPEN77_MCP_CACHE (default ~/.open77/mcp), OPEN77_CDN_BASE.

Live server tools

Enable Warden in server.jsonc (warden.enabled: true), then run npx -y @open2077/mcp warden-login once in a terminal. The username and password are typed there and sent to your server; the MCP keeps only the session cookie, owner-readable, and never sees the password. Installs from the Workshop need the plan's own hash plus an explicit consent: true, exactly as Warden requires from a human.

Development

npm install
npm run index:build -- --content ../open77-app/content   # rebuild index/ from a checkout
npm test
npm run build
node dist/cli.js init --dev        # register this checkout instead of the npm package

The MCP is registered under the key open77-devkit in every client. evals/ holds the task suite an agent must pass with nothing but this MCP attached; see evals/README.md.

Licensed MIT. The game data in the index is names and record identifiers extracted from TweakDB, the same data the website publishes; no game asset is redistributed.

Available Tools

27 tools
open77_apiRead one native's cardA
Read-only

The full card of one Lua native: signature, description, permissions the manifest must declare, reasons it can return, the first build that has it, example, related guides. Accepts a qualified name (Open77.map.getWaypoint, TriggerClientEvent) or a side-pinned name (server:Open77.vehicles.spawn, client:Open77.camera.attach).

Inputs: name (required), runtime.

open77_buildWhich build this server answers forA
Read-only

The index build, where it came from (CDN cache, embedded snapshot), the newest published server build, and the package version.

Inputs: no named parameters.

open77_changesNatives added between buildsA
Read-only

Which natives a newer server build adds compared to an older one, from the since field. Useful to answer 'what do I gain by updating' or 'why does this work on my dev box and not on the owner's server'.

Inputs: from (required), to.

open77_console_commandRun a server console commandA
Destructive

Runs one line at the server console with operator authority (e.g. resources, ensure my_res, help, or a command a resource registered). Output comes back inline; resource-claimed commands answer in the log a tick later.

Inputs: command (required).

open77_console_tailServer logA
Read-only

Recent server log entries, optionally filtered by a regex and a resource name. Use after a reload to read what the server said; errors carry the resource in brackets.

Inputs: after, lines, pattern, resource.

open77_dataGame data cataloguesA
Read-only

Look up game-data names; animation inventories are discovery data, not playback allowlists. Arguments: catalogue (one of vehicles, weapons, items (clothing), npc-templates, props, vfx, sfx, animations, animsets) and an optional query. Query matches the record/path/name; returns the fields the server itself answers Open77.data.* from. Vehicle records a player may spawn end in _player (the others are quest/scene vehicles).

Inputs: catalogue (required), limit, query, offset.

open77_eventsList eventsA
Read-only

Events by prefix (open77:map, open77:chat) or all of them; each with its sides, documented payload and guide. Host lifecycle and bus events without a prefix are included: onResourceStart, onPlayerReady, onPlayerDisconnected, playerDropped, chat:ready... (pass prefix=lifecycle for just those). Also lists the reserved prefixes a resource may not raise.

Inputs: prefix, documentedOnly.

open77_fivem_equivalentFiveM to Open77A
Read-only

What an Open77 resource uses in place of a FiveM native or Citizen call, and what is deliberately absent. Falls back to a search when the name is not in the alias table.

Inputs: name (required).

open77_guideRead a guideA
Read-only

A guide or one of its sections, as Markdown. Slugs come from open77_search (guide results) or the list returned when slug is omitted.

Inputs: slug, section.

open77_manifest_schemaopen77.lua manifest grammarA
Read-only

Every directive of the resource manifest with its form, default and rule, plus a complete example.

Inputs: no named parameters.

open77_namespaceList a namespaceA
Read-only

Every native under a namespace (Open77.vehicles, Open77.players, _G for globals), one line each with permissions and since. Omit the namespace to list the namespaces.

Inputs: runtime, namespace.

open77_new_resourceScaffold a resourceA

Creates a resource that is correct by construction: manifest, lifecycle handlers, and for kinds that need it a WebUI page or the export ownership guard. Kinds: blank, gamemode, hud, service. Writes under the resources root (or directory) and never overwrites an existing resource.

Inputs: name (required), kind, summary, directory.

open77_permissionsManifest permissionsA
Read-only

One permission (what it gates, which natives, which guides declare it) or the whole list. These are the strings a manifest's permissions { } block declares.

Inputs: name.

open77_resourceStart, stop, restart, reload or validate a resourceA
Idempotent

Runs one resource action on the live server through Warden. reload republishes an edited resource to the running session (the usual step after an edit); validate runs the server's own parser and Lua compiler over the resource's files without running them. Read the log afterwards with open77_console_tail.

Inputs: name (required), action (required).

open77_resourcesResources on the live serverA
Read-only

The resources the running server discovered, with their state, as Warden reports them.

Inputs: no named parameters.

open77_server_config_schemaserver.jsonc schemaA
Read-only

The JSON schema the dedicated server validates server.jsonc with. Pass a top-level key (network, resources, warden, voice...) for that section only.

Inputs: key.

open77_server_statusLive server statusA
Read-only

Warden's dashboard for the server next to this session: build, uptime, players, resources, load. Needs a Warden session (open77-mcp warden-login).

Inputs: no named parameters.

open77_tunablesTunablesA
Idempotent

Read the live tunables every resource declared, or set one (resource + key + value). A set is applied live when the resource accepts it; the server answers whether it is pending a restart.

Inputs: key, value, resource.

open77_validateValidate a resourceA
Read-only

Static checks of one resource directory against the served build: manifest grammar, script files, Lua syntax (5.3-compatible parser; exact 5.4 via the server's --lint when present), unknown Open77.* natives, client natives in server scripts and the reverse, permissions used but not declared, natives newer than the build or unreleased, and command names another resource of this server already registers (a warning; literal RegisterCommand names only). Argument resource: a resource name from open77_workspace or an absolute path.

Inputs: resource (required).

open77_workshop_installInstall a reviewed planA
Destructive

Installs a plan the human has read and accepted. Requires consent=true and the plan's sha256 exactly as open77_workshop_plan returned it; Warden refuses anything else. Returns the job id; follow it with open77_workshop_job. Never call this without the human's explicit yes.

Inputs: planId (required), sha256 (required), consent (required).

open77_workshop_jobInstallation job status, installed packagesA
Read-only

Follows an installation job by id (done when it reports committed), or lists the packages installed through the Workshop when no id is given.

Inputs: jobId.

open77_workshop_planCreate or read an installation planA

Creates an installation plan for one release (Warden inspects the package and lists permissions, dependencies, files it would replace and blockers), or reads an existing plan by id. SHOW THE PLAN TO THE HUMAN; the plan's sha256 is what open77_workshop_install needs, together with their consent.

Inputs: planId, discard, projectId, releaseId, +3 more.

open77_workshop_releaseReleases of a Workshop projectB
Read-only

Every release of a project with its state, files, tested builds and declared dependencies; the release id is what a plan needs.

Inputs: projectId (required).

open77_workshop_statusWorkshop availability on this serverA
Read-only

Whether this server can browse, install and publish through the Workshop (masterServer and warden.hubFileGatewayOrigin settings).

Inputs: no named parameters.

open77_workspaceDetected server and resourcesA
Read-only

Where the Open77 server next to this session is, its build, its config, its resources root and the resources in it. Re-detects when called.

Inputs: config, serverDir.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 27 tools

    Disambiguation4/5

    Tools fall into clear families: Workshop lifecycle, documentation/reference, and live-server operations. The main ambiguity is between open77_validate and the validate action of open77_resource, and between open77_search, open77_api, and open77_guide, though the descriptions do enough to point an agent to the right tool.

    Naming Consistency3/5

    All names share the open77_ prefix and snake_case, but the pattern after the prefix is mixed: workshop tools consistently use open77_workshop_<action>, while documentation tools are mostly bare nouns and operational tools mix verbs with noun phrases. This is readable and grouped, but not a uniform verb_noun convention.

    Tool Count2/5

    With 27 tools, the server exceeds the 25-tool threshold and feels heavy for a single MCP surface. Several lookups overlap or could be consolidated, such as open77_build, open77_workspace, and open77_server_status, making the full list harder for an agent to scan efficiently.

    Completeness4/5

    The main workflows are covered: documentation search, API/event/permission reference, resource creation and validation, reloading resources, viewing logs, and the full Workshop plan/install/job flow. Gaps like no uninstall or publish action for Workshop and no direct file-editing tool exist, but they are workable around with console commands or external edits.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      Enables AI agents to inspect, create, edit, debug, and playtest projects inside the Roblox editor via 29 lean tools, with push-based SSE transport, editor-safe script edits, and batched undoable writes.
      35
      1,117 npm
      20
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to develop Desynced mods by providing direct access to the game's Lua API reference, base-game source, live logs, and installed mods, plus live control via a debugger link for evaluating and reloading Lua in the running game.
      9
      2
      MIT