MCP server
The MCP endpoint lets a coding agent generate an asset in the middle of a task without a browser round trip. Remote server, streamable HTTP, bearer key.
Endpoint
Create a key at /account/keys first. Every request to /mcp needs
Authorization: Bearer mm_live_... and Content-Type: application/json.
The server answers JSON, not server sent events, and holds no session state.
Cursor
Add this to ~/.cursor/mcp.json and restart Cursor.
{
"mcpServers": {
"makemeshes": {
"url": "https://makemeshes.com/mcp",
"headers": {
"Authorization": "Bearer mm_live_yourkeyhere"
}
}
}
}
Per project, the same block goes in .cursor/mcp.json at the repository root.
Claude Code
One command adds it for the current project:
claude mcp add --transport http makemeshes https://makemeshes.com/mcp \
--header "Authorization: Bearer mm_live_yourkeyhere"
Or commit a .mcp.json next to the code so the whole team gets it:
{
"mcpServers": {
"makemeshes": {
"type": "http",
"url": "https://makemeshes.com/mcp",
"headers": {
"Authorization": "Bearer mm_live_yourkeyhere"
}
}
}
}
Keep that file out of version control if the repository is public. The key is the account.
Tools
| Tool | Arguments | Returns |
|---|---|---|
generate_asset |
type (sprite, texture, mesh), prompt |
Job id, status and credits left. |
get_job |
job_id |
Status, progress and, when done, signed download and preview URLs. |
list_assets |
limit (1 to 50) |
Your assets with signed download URLs. |
What a run looks like
Ask the agent for what you want and let it call the tools:
Make me a texture for the crate in this scene. Call generate_asset with type
"texture" and a prompt describing weathered pine planks, then poll get_job and
write the file to public/textures/crate.png.
A typical exchange, cut down to the parts that matter:
-> {"jsonrpc":"2.0","id":1,"method":"initialize",
"params":{"protocolVersion":"2025-06-18","capabilities":{}}}
<- {"result":{"protocolVersion":"2025-06-18",
"capabilities":{"tools":{}},"serverInfo":{"name":"makemeshes","version":"1.0.0"}}}
-> {"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"generate_asset",
"arguments":{"type":"sprite","prompt":"cracked clay pot"}}}
<- {"result":{"content":[{"type":"text","text":"Queued job 0f2b... (sprite, 1 credit)."}]}}
Credits come out of the account behind the key, and the same daily and concurrent limits apply. Signed download URLs expire in an hour, so fetch the file when the job completes rather than at the end of the session.
Notes
- The server is stateless. There is no
Mcp-Session-Idto keep. GET /mcpanswers 405 on purpose. Use POST, or no transport if the client asks for SSE.- Tool failures come back as
isError: truewith a readable sentence, not as transport errors.