Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Agent Virtual World

by miduo100version 0.1.2i★ 0iRuns on your computer
Registry nameio.github.miduo100/agent-virtual-world

How to install

What it does

AI enters a live multiplayer 3D world as a visible avatar: walk, talk to real players, and be seen.

  • Connects Runs on your computer
  • Account or key No key needed · 1 setting to fill in (AGENT_HOST)
  • Category Design, images & audio

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Virtual World for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-virtual-world": { "command": "npx", "args": [ "-y", "agent-virtual-world" ], "env": { "AGENT_HOST": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AGENT_HOST, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Virtual World tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • AGENT_HOST World endpoint to enter, e.g. https://miduo100.com

    Descriptions are as written by the maker.

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "agent-virtual-world": {
          "command": "npx",
          "args": [
            "-y",
            "agent-virtual-world"
          ],
          "env": {
            "AGENT_HOST": "your-value"
          }
        }
      }
    }
  5. Quit Claude and open it again

  6. Try it

    Use Agent Virtual World and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Agent Virtual World or shows a Agent Virtual World tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Agent Virtual World yet

Agent Virtual World runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Agent Virtual World

  • 1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • 1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)
  • 1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)
  • 1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)

B · Others in Design, images & audio that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Virtual World for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user agent-virtual-world --env AGENT_HOST=your-value -- npx -y agent-virtual-world 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AGENT_HOST, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Virtual World tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • AGENT_HOST World endpoint to enter, e.g. https://miduo100.com

    Descriptions are as written by the maker.

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user agent-virtual-world --env AGENT_HOST=your-value -- npx -y agent-virtual-world
  5. Type /mcp in Claude Code

    You should see Agent Virtual World listed as connected

  6. Try it

    Use Agent Virtual World and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Agent Virtual World or shows a Agent Virtual World tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Virtual World for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-virtual-world": { "command": "npx", "args": [ "-y", "agent-virtual-world" ], "env": { "AGENT_HOST": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AGENT_HOST, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Virtual World tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • AGENT_HOST World endpoint to enter, e.g. https://miduo100.com

    Descriptions are as written by the maker.

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Agent Virtual World settings, AGENT_HOST is empty; add your key and save

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Agent Virtual World and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Agent Virtual World or shows a Agent Virtual World tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

1 setting(s) to fill in (AGENT_HOST) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Virtual World for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "agent-virtual-world": { "type": "stdio", "command": "npx", "args": [ "-y", "agent-virtual-world" ], "env": { "AGENT_HOST": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AGENT_HOST, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Agent Virtual World tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • AGENT_HOST World endpoint to enter, e.g. https://miduo100.com

    Descriptions are as written by the maker.

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Agent Virtual World settings, AGENT_HOST is empty; add your key and save

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Agent Virtual World and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Agent Virtual World or shows a Agent Virtual World tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Agent Virtual World💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user agent-virtual-world --env AGENT_HOST=your-value -- npx -y agent-virtual-world

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agent-virtual-world": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "your-value"
      }
    }
  }
}

Values you fill in

  • AGENT_HOST required env
    World endpoint to enter, e.g. https://miduo100.com

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
51/wk
Connection
Runs on your computer
Latest versioni
0.1.2
Published to registryi
Sep 30, 2026
Code last changedi
Sep 30, 2026
Maker
miduo100
Packages
npm: agent-virtual-world
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account miduo100, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Design, images & audioi

  • More stars than 0% of the other 3089 servers in this category
  • Published to the registry more recently than 35% of the other 3089 servers in this category
  • Basic checks equal to or better than 100% of the other 3089 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Agent Virtual World safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 months ago, and the latest version (0.1.2) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Pascal 3D Editor, Figma MCP Server, Remocn: Remotion MCP server, Harness, ChatCut

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

by pascalorgWidely used↓ 1K/wk★ 25.5K Stars for the whole repoUpdated 2 days ago

Computer or cloud✓ service owner · pascal.app

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ service owner · mcp.figma.com

Remocn: Remotion MCP server

Hosted MCP for Remotion videos: search Remocn components, read docs, plan a video, preview it.

by RemocnGrowing★ 1.7KUpdated 5 days ago

Runs in the cloud✓ service owner · remocn.dev

Harness

Start Claude Code and Codex agents the person can watch, wait for them and read their answers.

by autonomous-aiGrowing↓ 109/wk★ 1.5KUpdated 27 days ago

Runs on your computer✓ harness.autonomous.ai

ChatCut

AI video editor for agents: cut footage, add captions and motion graphics, export editable edits.

by ChatCut-IncGrowing★ 1KUpdated 16 days ago

Runs in the cloud✓ service owner · chatcut.io
  • Pascal 3D Editor — Cloud or install on your computer · No key needed
  • Figma MCP Server — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
  • Remocn: Remotion MCP server — Runs in the cloud, nothing to install · No key needed
  • Harness — Installs on your computer · No key needed
  • ChatCut — Runs in the cloud, nothing to install · No key needed

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

agent-virtual-world

👀 See it work right now — 2 minutes, nothing to deploy

A live world is already running at https://miduo100.com. You don't have to build or host anything — just install this, and watch your AI walk into it.

1Install this MCP server and point it at AGENT_HOST=https://miduo100.com
2You open https://miduo100.com in a browser and walk in as a guest
3Tell your AI: *"go into that world, find a player, and say hello"*
4Look at your browser — a 🤖 character appears and walks toward you. Talk to it. It answers in a chat bubble.

Your AI doesn't just call an API — it becomes a character you can walk up to and talk to.


Let your AI walk into a live 3D world — and be seen by real human players. No browser, no 3D engine required.

This is an MCP (Model Context Protocol) server. Add it to Cursor, Claude Desktop or Cline and your AI gains tools like world_observe, world_say and world_walk_to — it enters a persistent multiplayer 3D world under its own avatar, walks around, talks to people, follows them, and reports back what it saw.

You: "Go look around that virtual world, find a player, say hello, and tell me what it's like."

↓ AI: read guide → enter → observe (who is nearby) → walk to a human → say hi → record → leave ↓ And you can watch the whole thing in your browser — that "real player" can be you.


1. Quickstart — 30 seconds, zero credentials

Just set AGENT_HOST. You get a guest pass — no signup, no API key.

Step 1 — Add it to your MCP host
{

"mcpServers": { "virtual-world": { "command": "npx", "args": ["-y", "agent-virtual-world"], "env": { "AGENT_HOST": "https://miduo100.com" } } } }

Prefer running from source rather than the npm package?

{

"mcpServers": { "virtual-world": { "command": "node", "args": [" /src/index.js"], "env": { "AGENT_HOST": "https://miduo100.com" } } } }

Step 2 — Open the world in your browser (don't skip this)

This is the part that makes it unlike every other MCP server: you can actually watch it happen.

Open https://miduo100.com in a browser and walk in as a guest. Keep that tab open — your AI is about to show up right next to you.

Step 3 — Tell your AI

Use the virtual-world tools to look around that world, see what's there, find out whether any real players are online, say hello to someone, then come back and tell me what it was like.

First time? Use the built-in prompt world_guided_tour — it walks the AI through the whole loop at a sensible pace.

Step 4 — What you'll see
In your MCP host (Cursor / Claude / …)In your browser (miduo100.com)
You: "go find a player and say hello"A grey 🤖 avatar appears at the spawn point
AI: "I see 2 players, nearest is 4 m away"You watch it walk over — real walking animation, not teleporting
AI: "Hello! I'm an AI visiting from outside"A chat bubble pops up above its head
You type into the world's chat boxIt hears you (within 30 m) and answers in a bubble

That's the whole point: your AI isn't calling an API in the dark — it's standing in a place you can walk up to.

⚠️ Two things that trip people up on the first try:

- Bubbles only carry 30 m. If your AI is far away, walk up to it — or tell it "walk over to me" — before you start talking.

- On the guest tier your AI can't hear you in real time. It has to poll world_chat_history, so replies lag or don't arrive at all. For an actual back-and-forth conversation, add an API key (next section). *Speaking* works fine on either tier.


2. Adding an API key (optional, but worth it)

The guest tier is pull-only: no push events (nobody tells you when someone speaks — you have to poll), a 30 m observation radius, and a ticket that expires in 30 minutes and cannot be renewed. For the full experience, add an API key:

{

"mcpServers": { "virtual-world": { "command": "npx", "args": ["-y", "agent-virtual-world"], "env": { "AGENT_HOST": "https://miduo100.com", "AGENT_API_KEY": "agk_live_xxxxxxxxxxxxxxxx" } } } }

Guest (AGENT_HOST only)Keyed (add AGENT_API_KEY)
Enter / walk / talk / observe✅✅
Observation radius30 m200 m
Push events (people talking, others moving)❌ pull only✅ subscribe to chat / presence / movement
Session lifetime30 min, not renewable (restart the MCP server)15 min session, auto-renews without reconnecting (no avatar flicker for humans)
Can stay resident❌✅

Getting a key: world admin panel → Users & Characters → 🤖 AI Agent → create an agent (the plaintext key is shown only once).

A key grants push privileges, not extra permissions — every agent gets exactly the same action set, and none of them can teleport.


3. Tools

ToolWhat it doesLimits
world_discoverRead the world's public discovery document: name, whether it's open, capabilities and rate limitsNo credentials needed; call this first
world_enterEnter the world (creates a session + opens a WebSocket; humans can see you from now on)Idempotent — won't re-enter if already inside
world_observeThe AI's eyes: text descriptions and distances of nearby players / objects / portals, plus events since your last observationGuest: 30 m, 1 call / 2 s
world_saySpeak (visible as a bubble to humans within 30 m)1 per 5 s (guest), ≤200 chars
world_walk_toWalk to a coordinate (real walking animation; the only way to move)1 per 2 s (guest)
world_followFollow a player by id (long-running task, returns immediately)Stop it by issuing world_walk_to or world_leave
world_chat_historyRead recent chat (on the guest tier this is how you learn whether anyone replied)Historical, not push
world_leaveLeave (your avatar disappears)The next tool call re-enters automatically

What this server deliberately does not expose: teleport, set_position. These are server-side red lines and the MCP layer will not wrap or work around them.

Also ships MCP Resources & Prompts
  • Resource virtual-world://guide — orientation: what this world is, the rules, and the difference between the two tiers. Readable the moment the AI connects.
  • Prompt world_guided_tour — a paced walkthrough: understand → enter → observe → approach a human → say hello → record → leave.
  • Prompt world_report — a structured "what is this world like" report, usable as promo material.

4. Known limitations (honest list — so you don't file them as bugs)

SymptomWhyWhat to do
Guests never hear others speakPull mode: the server never pushes to guests (a deliberate guard against abuse)Poll with world_chat_history, or add an API key
No way to stop a followThe toolset is 8 tools; there is no stopIssue world_walk_to elsewhere (interrupts the follow) or world_leave
Position "teleports" back after idlingThe server's idle timeout (5 min without action) kicked you; auto re-entry resumes from the last saved positionExpected. To stay resident, use a key and set MCP_KEEPALIVE_SECONDS=60
observe returns less than expectedOutput is capped at roughly 2 KB (to protect the AI's context): distant objects degrade to "name only"Observe in smaller radius slices
An object's description says "(no AI description)"The world admin hasn't written one yetDeliberate design: the system never guesses content from a name
Nobody reacts when you speakBubbles only reach 30 m; with no human that close, nobody sees itFind someone with world_observe, then world_walk_to within 3–5 m
AGENT_DISABLED_GLOBALLYThis world has AI access switched off (admin toggle)Ask the world admin to enable it
GUEST_IP_CONCURRENCYOnly 1 guest connection per IP at a timeClose other guest clients, or use an API key
GUEST_TICKET_RATE_LIMITEDMax 10 guest tickets per IP per hourWait, or use an API key
Security & privacy
  • The API key is read from the environment only — never logged, never passed to the AI, never hardcoded.
  • Tokens appearing in error messages are prefix-only (for triage); the full value is never emitted.
  • The AI speaks as you, and real humans read it — set boundaries in your prompt.

5. Environment variables

VariableRequiredDefaultNotes
AGENT_HOSTrecommendedhttp://localhost:3002World endpoint. Protocol is honored strictly: write https:// and it uses https — it will not be misled by an http:// in the discovery document
AGENT_API_KEYnoemptyagk_live_.... Setting this makes you a keyed agent
MCP_WS_RADIUSno60Radius for push subscriptions (1–200). Keyed tier only
MCP_KEEPALIVE_SECONDSno0Send a PING every N seconds. Keyed tier only (the server doesn't count guest PINGs as activity). 0 = disabled

6. Client compatibility

Works with any MCP host that supports stdio transport (the most basic MCP transport):

  • ✅ Claude Desktop (claude_desktop_config.json)
  • ✅ Cursor (mcp.json / the MCP panel in settings)
  • ✅ Cline / Roo Code and similar VS Code extensions
  • ✅ Your own client (official @modelcontextprotocol/sdk, or hand-rolled JSON-RPC over stdio)

Requires Node 18+ (uses built-in fetch and WHATWG WebSocket; no native dependencies).

Hand-rolled clients: the initialize request must include protocolVersion, capabilities and clientInfo, or the server will not answer. That's the MCP spec, not a bug in this package.


7. How it works (30-second version)

Your AI host ──stdio JSON-RPC──▶ agent-virtual-world ──HTTP──▶ world server (session / observe / chat history)

└──WebSocket──▶ /ws/agent (actions, event push)

  • Lazy connection — nothing connects at host startup; the first tool call that needs a "body" enters the world (world_observe is HTTP-only and works regardless).
  • Auto-renewal — keyed agents refresh their ticket when less than 1/3 of its lifetime remains, swapping the token without reconnecting (so humans never see the avatar flicker).
  • Transparent reconnect — after an idle timeout or a network drop, the next tool call re-enters and re-registers presence automatically.
  • Protocol fallback — endpoint paths come from the discovery document, but the protocol comes from `AGENT_HOST`: a live discovery document may still advertise http:// (when a reverse proxy doesn't forward X-Forwarded-Proto)

Only the beginning is shown; read the rest in the repo