---
title: "What is MCP? The protocol your agent uses to call tools"
description: "MCP (Model Context Protocol) is the open protocol your agent uses to find and call tools on a server, such as compiling an effect or reading your scene."
canonical: https://appliedmanifold.com/learn/mcp/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Learn](https://appliedmanifold.com/learn/)
3.  What MCP is

LEARN // MCP

# What is MCP

MCP, the Model Context Protocol, is the open protocol your agent uses to call tools. A server lists the tools it offers, each with a name, a description and the inputs it accepts. Your MCP client shows them to the agent, which calls one when your request needs it, such as compiling an explosion or reading a scene.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Connect over MCP →](https://appliedmanifold.com/docs/mcp/)

A draft compile is from $0.05, and new accounts start with $5 of usage.

**AT A GLANCE**

-   Open protocol, messages in JSON-RPC 2.0
-   Servers offer tools, resources and prompts
-   Transports: stdio (local) and HTTP (remote)
-   Spatial Compiler: hosted and local servers, early access

01 // HOW IT WORKS

## The parts of an MCP setup

An MCP setup has three parts. Your agent decides what to do, and the MCP client, the app your agent runs in, connects to one or more servers. Each server exposes tools, plus optional resources (data it can read out) and prompts. When the agent picks a tool, the client sends a `tools/call` request with the inputs, and the server returns the result as text or structured data.

Every server describes its tools the same way, so one client can use many servers at once, such as one that edits your scene and one that compiles effects. Adding a server takes a few lines in the client's config.

02 // MCP AND APIS

## How MCP relates to a REST API

A REST API is built for code you write, and MCP for an agent that finds tools while it works. Many services offer both, and the MCP server often calls the same API underneath. Use the API for scripts and pipelines with fixed steps, and MCP when you want to ask your agent in plain words. See [MCP vs REST](https://appliedmanifold.com/mcp/mcp-vs-rest/).

03 // SPATIAL COMPILER

## Spatial Compiler over MCP

Spatial Compiler runs a hosted MCP server at `https://spatialcompiler.dev/mcp`, in early access, with a browser sign-in and no key in your config. Connect it and ask your agent for a looping fire or an explosion that plays once, and you get sprite sheets your engine can play, plus a ready scene in Godot 4. A local server, `npx -y @applied-manifold/spatial-compiler`, takes your API key instead. See [Install via MCP](https://appliedmanifold.com/docs/mcp/).

04 // RELATED

## Related pages

-   [Engine MCP serversAn engine MCP server is an editor plugin that lets your agent read and change your project through tools.](https://appliedmanifold.com/learn/engine-mcp/)
-   [Hosted vs local MCPHosted MCP servers run at a URL with a browser sign-in, and local ones are commands your client starts with a key.](https://appliedmanifold.com/learn/hosted-vs-local-mcp/)
-   [MCP transportsAn MCP transport carries messages between client and server: stdio for a local process, Streamable HTTP for a server at a URL.](https://appliedmanifold.com/learn/mcp-transport/)
-   [MCP or RESTPick MCP when an agent makes the calls and REST when your own code does; both reach the same Spatial Compiler service.](https://appliedmanifold.com/mcp/mcp-vs-rest/)
-   [Godot MCP Godot 4Connect your agent to Spatial Compiler's hosted MCP server to compile fire, smoke, explosion and dust effects into Godot 4 scenes.](https://appliedmanifold.com/mcp/godot/)
-   [MCP for game VFXAsk your agent for game VFX in plain words; over MCP it compiles, checks and wires fire, smoke, explosion and dust effects.](https://appliedmanifold.com/mcp/vfx/)
-   [Install via MCPPoint your MCP client at the hosted server, `https://spatialcompiler.dev/mcp`, which signs you in with an OAuth 2.1 browser login, or run the local server with `npx -y @applied-manifold/spatial-compiler` and your API key in `SPATIAL_API_KEY`.](https://appliedmanifold.com/docs/mcp/)

[All pages in Learn →](https://appliedmanifold.com/learn/)

[← Particle overdraw](https://appliedmanifold.com/learn/overdraw/)[Engine MCP servers →](https://appliedmanifold.com/learn/engine-mcp/)

05 // FAQ

## MCP questions

[All questions →](https://appliedmanifold.com/faq/)

**README.MCP**

### What is an MCP server?

An MCP server is a program that speaks the Model Context Protocol and exposes tools to your agent locally or over a URL.

### What are MCP tools?

MCP tools are named actions with descriptions and JSON schemas that an agent discovers and calls, such as compiling an asset.

### Why use MCP instead of an API?

Use MCP when an agent chooses tools dynamically without custom client code and use a REST API for fixed build pipelines.

### Why is an MCP server needed?

Agents can only act through tools their client provides, so an MCP server adds external capabilities without changing the client.

### What does MCP mean in agentic AI?

MCP is the standard protocol connecting AI agents to external tools and data so one agent can work across many services.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Install via MCP →](https://appliedmanifold.com/docs/mcp/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
