# Agent Virtual World

> Agent Virtual World is an open-source MCP server. AI enters a live multiplayer 3D world as a visible avatar: walk, talk to real players, and be seen. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/miduo100/agent-virtual-world
- **MCP Registry name:** io.github.miduo100/agent-virtual-world
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-virtual-world --env AGENT_HOST='<AGENT_HOST>' -- npx -y agent-virtual-world
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "<AGENT_HOST>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "<AGENT_HOST>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-virtual-world": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "<AGENT_HOST>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "<AGENT_HOST>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-virtual-world": {
      "command": "npx",
      "args": [
        "-y",
        "agent-virtual-world"
      ],
      "env": {
        "AGENT_HOST": "<AGENT_HOST>"
      }
    }
  }
}
```

## FAQ

### Is Agent Virtual World free?

Yes. Agent Virtual World is open source, so you can use and self-host it for free.

### How do I add Agent Virtual World to Claude Code?

Run this command in your terminal: claude mcp add agent-virtual-world --env AGENT_HOST='<AGENT_HOST>' -- npx -y agent-virtual-world

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-virtual-world
