---
title: "What is an MCP transport? stdio vs HTTP explained"
description: "An MCP transport carries messages between your client and a server: stdio for a local process, or HTTP for a server at a URL. Engine plugins add a port."
canonical: https://appliedmanifold.com/learn/mcp-transport/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

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

LEARN // MCP

# What is an MCP transport

An MCP transport is the channel that carries messages between your MCP client and a server. With stdio, your client starts the server as a local process and they exchange JSON messages over standard input and output. With Streamable HTTP, the server lives at a URL and your client sends each message as an HTTP request.

[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**

-   Messages: JSON-RPC 2.0 on every transport
-   stdio: a local process, no port
-   Streamable HTTP: a URL, local or remote, OAuth sign-in
-   Spatial Compiler: hosted over HTTP, local over stdio

01 // HOW IT WORKS

## stdio and Streamable HTTP

Every transport carries the same JSON-RPC 2.0 messages, so a tool behaves the same over either one. With stdio, which needs the least setup, the client launches a command, writes requests to its input and reads replies from its output. Nothing listens on a port, and the server runs only while the client keeps it open.

Streamable HTTP puts the server behind one URL. The client posts each request, and the server answers with a single response or streams several messages back as server-sent events. It works across the network, supports OAuth sign-in, and replaced the older HTTP plus SSE transport in the 2025 versions of the spec.

02 // IN YOUR PROJECT

## Where ports come in

Engine MCP servers often add a hop the protocol leaves open: the server talks to a plugin inside your editor over a local WebSocket or TCP port. When a connection fails, check that hop first. The editor must be open, the plugin running, and the port in the plugin must match the one the server expects. A firewall or a second editor on the same port can block it.

03 // SPATIAL COMPILER

## Spatial Compiler's two transports

The hosted server at `https://spatialcompiler.dev/mcp` uses HTTP, with a browser sign-in. The local server, `npx -y @applied-manifold/spatial-compiler`, uses stdio: your client starts it with `SPATIAL_API_KEY` set, and it forwards every call to the hosted API. Neither opens a port on your machine or needs an editor plugin. See [Install via MCP](https://appliedmanifold.com/docs/mcp/).

04 // RELATED

## Related pages

-   [What MCP isMCP is the open protocol your agent uses to discover and call tools on servers, from scene editors to effect bakers.](https://appliedmanifold.com/learn/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/)
-   [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/)
-   [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/)
-   [Blender MCPModel in Blender and let your agent call Spatial Compiler's hosted MCP server for effect sprite sheets your engine plays. Hosted meshfx runs are available.](https://appliedmanifold.com/mcp/blender/)
-   [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/)

[← Hosted vs local MCP](https://appliedmanifold.com/learn/hosted-vs-local-mcp/)[Non-manifold geometry →](https://appliedmanifold.com/learn/non-manifold-geometry/)

05 // FAQ

## MCP transport questions

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

**README.MCP\_TRANSPORT**

### What is the difference between stdio and Streamable HTTP MCP transports?

Use stdio for a server running on your machine and Streamable HTTP for a remote server at a URL.

### Which port does an engine MCP server use?

Each editor plugin chooses its own port in settings. Over stdio the MCP link uses no port, only the plugin connection does.

### How do I troubleshoot a broken MCP connection?

Restart the client and check its MCP log. Test local commands manually, redo browser sign in for HTTP and confirm the editor plugin is running.

### Is an MCP transport the same as a REST API?

No. A REST API exposes endpoints for direct code calls, while an MCP transport carries protocol messages for agents to discover and call tools.

## 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/)
