Skip to main content
Glama
playcanvas

PlayCanvas Editor MCP Server

Official
by playcanvas

store_download

Download assets from the store for use in real-time 3D web applications, specifying ID, name, and licensing details for integration into PlayCanvas Editor projects.

Instructions

Download an asset from the store

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
licenseYes
nameYes

Implementation Reference

  • The handler function for the 'store_download' MCP tool. It delegates the download by calling the WebSocket server method 'store:playcanvas:clone' with the provided id, name, and license.
    ({ id, name, license }) => { return wss.call('store:playcanvas:clone', id, name, license); }
  • Zod input schema defining parameters for the 'store_download' tool: id, name, and license object.
    { // store: z.enum(['playcanvas', 'sketchfab']).optional(), id: z.string(), name: z.string(), license: z.object({ author: z.string(), authorUrl: z.string().url(), license: z.string() }) },
  • Registration of the 'store_download' tool with MCP server, including name, description, schema, and handler.
    mcp.tool( 'store_download', 'Download an asset from the store', { // store: z.enum(['playcanvas', 'sketchfab']).optional(), id: z.string(), name: z.string(), license: z.object({ author: z.string(), authorUrl: z.string().url(), license: z.string() }) }, ({ id, name, license }) => { return wss.call('store:playcanvas:clone', id, name, license); } );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/playcanvas/editor-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server