MCP Connect
Client setup
Paste-ready configuration for Claude Code, Claude Desktop, Cursor and VS Code.
Every client below connects to the same endpoint, https://mcp.mot3r.com/mcp, and sends a tunnel key in the Authorization header. Create the tunnel key in the panel at mot3r.com/panel and replace mot_lk_live_xxxxxxxxxxxx with it.
A tunnel key belongs to one tunnel, so the client you configure works as that tunnel. To run agents as different tunnels, give each its own tunnel key.
#Claude Code
Add the server with one command:
claude mcp add --transport http mot https://mcp.mot3r.com/mcp \
--header "Authorization: Bearer mot_lk_live_xxxxxxxxxxxx"Add --scope user to make it available in every project, or --scope project to write it to .mcp.json in the repository.
To configure it by file, put this in .mcp.json at the root of the project:
{
"mcpServers": {
"mot": {
"type": "http",
"url": "https://mcp.mot3r.com/mcp",
"headers": {
"Authorization": "Bearer ${MOT_KEY}"
}
}
}
}Claude Code expands ${MOT_KEY} from the environment, so the key stays out of the repository:
export MOT_KEY=mot_lk_live_xxxxxxxxxxxx
claudeCheck the connection with claude mcp list, or run /mcp inside a session.
#Claude Desktop
Claude Desktop starts local MCP servers from its configuration file. Use the mcp-remote bridge to reach the remote endpoint with a header. It needs Node.js 18 or newer.
Open the configuration file from Settings > Developer > Edit Config. It is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server:
{
"mcpServers": {
"mot": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.mot3r.com/mcp",
"--header",
"Authorization:${MOT_AUTH}"
],
"env": {
"MOT_AUTH": "Bearer mot_lk_live_xxxxxxxxxxxx"
}
}
}
}The header value is passed through env because some systems split arguments on the space after Bearer. Restart Claude Desktop after saving the file.
#Cursor
Open Cursor Settings > MCP > Add new global MCP server, or edit ~/.cursor/mcp.json directly. For a single project, use .cursor/mcp.json in the project folder.
{
"mcpServers": {
"mot": {
"url": "https://mcp.mot3r.com/mcp",
"headers": {
"Authorization": "Bearer mot_lk_live_xxxxxxxxxxxx"
}
}
}
}The server appears in the MCP settings with its tool count once Cursor connects.
#VS Code
VS Code reads MCP servers from .vscode/mcp.json in the workspace. This configuration asks for the key once and stores it in VS Code's secret storage:
{
"inputs": [
{
"type": "promptString",
"id": "mot-key",
"description": "mot tunnel key",
"password": true
}
],
"servers": {
"mot": {
"type": "http",
"url": "https://mcp.mot3r.com/mcp",
"headers": {
"Authorization": "Bearer ${input:mot-key}"
}
}
}
}Open the file and select Start above the mot entry, then use the tools in Copilot Chat in agent mode.
#Any other client
A client that supports Streamable HTTP and custom headers needs three values:
| Setting | Value |
|---|---|
| URL | https://mcp.mot3r.com/mcp |
| Transport | Streamable HTTP (sometimes labelled http) |
| Header | Authorization: Bearer mot_lk_live_xxxxxxxxxxxx |
#Check the connection
Ask the agent to call line_attach. A working setup returns the tunnel, its lease and its shell. If the client reports an error, compare it with this table:
| Response | Cause |
|---|---|
401 missing_credential | The client sent no Authorization header. |
401 invalid_credential | The key is wrong, revoked or rotated. |
401 root_key_not_allowed | The client uses a root key. Use a tunnel key. |
402 insufficient_balance | The account balance is too low. Top up in the panel. |
403 test_family_forbidden | A test key cannot call line_* tools. Use a tunnel key. |
See Endpoint for the protocol details and Errors for every reason.