This page is available as Markdown : https://docs.vyse.cloud/automate/the-mcp-server.md. Index of all the documentation for AI : https://docs.vyse.cloud/llms.txt (full version: https://docs.vyse.cloud/llms-full.txt).

The MCP Server

The Vyse MCP server allows a compatible AI assistant to read and modify resources covered by the public API: create a custom block, configure a furnishing, or set up a project, without going through the interface.

The exposed tools use Vyse services, such as the API. Their coverage remains more limited than that of the interface; after an operation, verify its result in the project.

The MCP server address is:

Plain text
https://api.vyse.cloud/mcp

First create an API key, then:

Bash
claude mcp add --transport http vyse https://api.vyse.cloud/mcp --header "Authorization: Bearer vyse_..."

Add the server to the client's MCP configuration:

mcp.jsonJSON
{
  "mcpServers": {
    "vyse": {
      "type": "http",
      "url": "https://api.vyse.cloud/mcp",
      "headers": {"Authorization": "Bearer vyse_..."}
    }
  }
}

For a client that can only run local commands, the following example uses mcp-remote. Compatibility may vary by application:

claude_desktop_config.jsonJSON
{
  "mcpServers": {
    "vyse": {
      "command": "npx",
      "args": ["mcp-remote", "https://api.vyse.cloud/mcp", "--header", "Authorization: Bearer vyse_..."]
    }
  }
}
Note: The assistant only sees tools permitted by the key. With a Read key, it sees no write tools.

The server gives instructions at connection. The assistant:

  1. calls get_context: organization, scopes, projects with their ID and type;
  2. calls get_project_tree on the project where it works;
  3. uses the java_* tools on a JAVA project, the bedrock_* tools for its Bedrock view, and tools without prefix everywhere;
  4. deposits textures before creating blocks that use them.

It therefore does not need you to give it credentials: ask in plain language, for example "In Medieval Pack, create a oak chair from this model, with a hitbox of two blocks and a light level of 4".

For a first verification without modification, ask: "List my Vyse projects and show the categories of the Medieval Pack project." With a Read key, the assistant should call get_context, find the right project, then call get_project_tree. Verify that it cites the chosen project before proceeding.

To create a custom block, give it a Read & write key, the PNG to use, and a precise instruction: "In the Stones blocks folder of the Medieval Pack project, create a Polished stone block with this PNG on all faces." It must confirm the project and folder, deposit the texture with upload_texture, create the block with java_create_block, then re-read the result. The file must be accessible to the assistant; the MCP server does not retrieve a file that remains only on your computer.

ToolRoleScope
get_contextWhere am I: organization, scopes, projects. Call first.read
list_projectsAccessible projectsread
get_project_treeCategories and folders of a projectread
search_assetsSearch blocks, furnishings, entities in all projectsread
get_assetLocate an asset from its IDread
create_category, rename_category, delete_categoryCategorieswrite
create_directory, rename_directory, delete_directoryFolderswrite
list_textures, get_textureTexturesread
upload_textureDeposit a PNG (base64)write
java_list_blocks, java_get_blockBlocksread
java_create_block, java_update_block, java_delete_blockBlockswrite
java_list_furniture, java_get_furnitureFurnishingsread
java_create_furniture, java_update_furniture, java_delete_furnitureFurnishings, including hitboxwrite
java_list_entities, java_get_entityEntitiesread
java_create_entity, java_update_entity, java_delete_entityEntitieswrite
java_list_vanilla_blocks, java_get_vanilla_blockVanilla packread
java_import_vanilla_block, java_set_vanilla_block_export, java_delete_vanilla_blockVanilla packwrite
convert_bbmodel_to_java_model, convert_java_model_to_bbmodelConversions, no saveread
bedrock_list_assets, bedrock_get_assetBedrock viewread
bedrock_update_assetInclusion, collision and selection boxeswrite
get_project_settingsProject configurationread
update_project_settings, create_projectConfiguration, new projectmanage

Delete tools are marked "destructive": a good client asks for your approval before running them. Any deletion goes to the project trash and can be restored from the application.

Current limitation: The MCP tools for the Vanilla Pack know how to list, import, and delete vanilla blocks, then choose the exported copy. They do not yet modify models, blockstate rules, or vanilla texture overrides. For these settings, use the Vyse interface.

An error returns to the assistant as a tool result, with code and reason, for example 409 Project ... is a BEDROCK project: Java endpoints do not apply.... The assistant reads it and corrects its call.

The errors you are most likely to meet:

AnswerMeaningWhat to do
401 on the connectionMissing, revoked, or expired keyCreate a new key in your user settings and update the client configuration
403 This API key is restricted to other projectsThe key does not cover this projectCreate a key that includes the project, or check All projects I can access
This API key lacks the 'write' scope needed by ...The tool needs a higher level than the key hasUse a Read & write key (or Read, write & manage for configuration)
409 Project ... is a BEDROCK projectA Java tool was called on a Bedrock projectUse the bedrock_* tools

A Read key sees the 20 read tools only; a write tool called with it is refused and changes nothing.

ElementValue
TransportStreamable HTTP, stateless: one JSON-RPC request per POST /mcp, one JSON response
Protocol versions supported2025-06-18, 2025-03-26, 2024-11-05
AuthenticationAuthorization: Bearer vyse_... or X-Vyse-Api-Key
Methodsinitialize, ping, tools/list, tools/call (resources and prompts: empty lists)
GET /mcp405: no server stream

Manual verification, after creating a key with Read scope:

Bash
curl -X POST https://api.vyse.cloud/mcp \
  -H "Authorization: Bearer vyse_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": {"name": "vyse-guide", "version": "1.0"}}}'

curl -X POST https://api.vyse.cloud/mcp \
  -H "Authorization: Bearer vyse_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_context", "arguments": {}}}'

After connecting a client, have it call get_context, then get_project_tree on the chosen project. If one of them fails, check the address, key, and its Read scope before entrusting it with modifications.

  • Give each assistant its own key, named after it.
  • Grant Read & write only to assistants that must create; manage remains rare.
  • Limit the key to the relevant project when possible.
  • Revoke keys you no longer use.