Developers · MCP

Vimmersa in your AI coding tool

Claude Code, Cursor and Codex can build 360° virtual tours for you: create a tour, add panoramas from links or from your disk, connect the rooms and hand you the link. They do it through the Vimmersa MCP server at https://vimmersa.com/api/mcp, signed in with your own API key.

1. Get an API key

In Vimmersa open Console → Integrations → API keys and make a key. It starts with vmk_ and is shown once. Put it in an environment variable named VIMMERSA_API_KEY — every setup below reads it from there, so the key never sits in a config file you might commit.

macOS / Linux
export VIMMERSA_API_KEY="vmk_…"   # add to ~/.zshrc or ~/.bashrc
Windows
setx VIMMERSA_API_KEY "vmk_…"   # then open a new terminal

No key yet? The server still works without one for guest tours (free, 24 hours) and floor plans; tour tools then reply with how to add a key.

2a. Claude Code

Add the server with one command. (A Claude Code plugin with a ready-made create-virtual-tour skill is on its way; this page will show its install command.)

Terminal
claude mcp add --transport http vimmersa https://vimmersa.com/api/mcp \
  --header "Authorization: Bearer $VIMMERSA_API_KEY"

That command stores the key in Claude Code’s own settings. To keep it in the environment instead, or to share the setup with a team, commit this .mcp.json at the root of the project — Claude Code expands the variable when it connects:

.mcp.json
{
  "mcpServers": {
    "vimmersa": {
      "type": "http",
      "url": "https://vimmersa.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${VIMMERSA_API_KEY:-}"
      }
    }
  }
}

Check with /mcp in Claude Code, then ask: “Make a Vimmersa tour from the panoramas in ./shoot and give me the link.”

2b. Cursor

Save this as .cursor/mcp.json in your project, or merge it into ~/.cursor/mcp.json for every project. Set VIMMERSA_API_KEY in your shell profile or system environment and restart Cursor; then check Cursor Settings → MCP.

.cursor/mcp.json
{
  "mcpServers": {
    "vimmersa": {
      "url": "https://vimmersa.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:VIMMERSA_API_KEY}"
      }
    }
  }
}

2c. Codex CLI

Add this to ~/.codex/config.toml (or .codex/config.toml in a trusted project). Codex sends the variable as the bearer token; run /mcp in Codex to check.

~/.codex/config.toml
[mcp_servers.vimmersa]
url = "https://vimmersa.com/api/mcp"
bearer_token_env_var = "VIMMERSA_API_KEY"

What the agent can do

list_tours, get_tourRead your tours, their locations and links.
create_tourMake a new private tour.
add_panorama_from_url, add_file_from_urlAdd a 360° panorama or a GLB/FBX model from a public https link.
create_upload_link, add_uploaded_fileSend a file from your computer with a one-time curl command, then put it in a tour.
replace_fileStore a new version of a panorama or model and repoint the tour.
link_locationsAdd navigation hotspots between locations, both ways.
start_guest_tour, get_guest_tour, link_guest_locationsA free 24-hour tour with no account or key.
read_floor_plan, get_plan, update_planTurn a floor-plan image into an editable plan (no account).
ask_vimmersa_helpAsk how Vimmersa works; answered by our AI help assistant from the FAQ, guides and facts (no account).

Panoramas are equirectangular JPEG, PNG or WebP pictures, normally 2:1. New tours are private: publish or share them from the editor when you are happy with them.

Keys and safety

  • A key acts as your account for tours and uploads only: it cannot change your plan, billing, password or settings.
  • There are no delete tools and no AI-generation tools over MCP. Uploads count against the same daily allowance as the CLI.
  • Give a key only the permissions it needs (read, write, upload) and a short expiry; revoke it in the console at any time.
  • Never paste a key into a chat or commit it. Every snippet on this page reads it from VIMMERSA_API_KEY.

Questions: contact us.