Enables AI agents to generate and render interactive 3D scenes, models, and animations using Three.js. Provides show_threejs_scene to execute custom JavaScript for 3D rendering and learn_threejs to retrieve Three.js API documentation and code examples, with support for OrbitControls, lighting effects, post-processing, and transparent backgrounds.
Grok is xAI's assistant on grok.com. It can add any remote MCP server as a custom connector and use its tools in a conversation.
This guide connects Three js MCP to Grok through MewCP, so Grok can use Three js MCP's 2 tools, like show_threejs_scene and learn_threejs, without your Three js MCP credentials ever reaching the app.
Three js MCP signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Manage repositories, pull requests, issues, branches and development workflows on GitHub. Automate software delivery and collaborate across engineering projects.
Connect to external APIs, webhooks and internet services through standard HTTP requests. Build integrations with virtually any platform that exposes a web-based interface.
Access Google Gemini models for multimodal AI, text generation, and reasoning. Analyze text, images, and documents; enable Google Search grounding and Python code execution; generate embeddings for semantic search; and explore available models and token usage.
Turn your AI agent into a creative studio The world's best image, video, audio and 3D models, inside the AI assistant you already use.
Other clients
Three js MCP works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Three js MCP tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
Go to grok.com/connectors, click New Connector, then choose Custom. On Grok Business or Enterprise, a team admin has to add the connector first.
Open Grok connectorsPaste the server URL.
A sign-in window opens; sign in to MewCP and approve access. No API key needed.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps.
Render an interactive 3D scene with custom Three.js code. Supports transparent backgrounds (alpha: true) for seamless host UI integration. Available globals: THREE, OrbitControls, EffectComposer, RenderPass, UnrealBloomPass, canvas, width, height.
Get documentation and examples for using the Three.js View