tldraw MCP Server
by Mihai-Codes
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_CLIENT | No | Client hint: adal, claude, cursor, openai, generic (default generic) | |
| MCP_HTTP_HOST | No | HTTP bind host (default 127.0.0.1) | |
| MCP_HTTP_PATH | No | Streamable HTTP MCP path (default /mcp) | |
| MCP_HTTP_PORT | No | HTTP bind port (default 3333) | |
| MCP_TRANSPORT | No | Transport mode: stdio or http (default stdio) | |
| MCP_AUTH_TOKEN | No | Bearer-token auth for HTTP | |
| MCP_SERVER_NAME | No | Server name for tool prefixes (default tldraw) | |
| MCP_ALLOWED_HOSTS | No | Comma-separated Host allowlist | |
| EXPRESS_SERVER_URL | Yes | URL of the canvas server (e.g., http://127.0.0.1:3000) | |
| MCP_ALLOWED_ORIGINS | No | Comma-separated Origin allowlist | |
| MCP_PERFORMANCE_MODE | No | Set to 'true' for compact tool descriptions (default false) | |
| INCLUDE_SERVER_IN_TOOL_NAMES | No | Set to 'true' to expose tools as tldraw__create_element (default false) |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/Mihai-Codes/tldraw-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server