Skip to content
Limited timeStarter is now $9 a month instead of $20.See plans
charmotion

How to Use a Remote Animation MCP Server in Cline and Roo Code

By the Charmotion team · Updated · How we write guides

Cover illustration for the guide: How to Use a Remote Animation MCP Server in Cline and Roo Code, with Charmotion demo characters

To connect a remote animation MCP server in Cline or Roo Code, add its endpoint URL to the tool's MCP settings file with the Streamable HTTP transport, then check that the server's tools appear. Cline reads cline_mcp_settings.json, and Roo Code reads mcp_settings.json for global servers or .roo/mcp.json for a project. Both tools use the same server URL.

Key takeaways

  • Cline and Roo Code both read remote MCP servers from a JSON settings file, so each server is a name, a URL and a transport type.
  • Cline uses the type value streamableHttp and Roo Code uses streamable-http, so copy the spelling shown on each tool's docs page.
  • In Roo Code, use the global file for a server you want in every project and .roo/mcp.json for one repository.
  • Confirm the server's tools appear in the MCP panel before asking the assistant to animate anything.
  • If the server needs sign-in, follow the server's own setup steps, because neither config example includes OAuth fields.

Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.

What do you need before connecting a remote MCP server?

This guide shows how to connect a remote animation MCP server in Cline and Roo Code. You need VS Code with the Cline or Roo Code extension installed, the server's full endpoint URL, and the transport the server supports.

Remote servers use Streamable HTTP. The Model Context Protocol documentation describes how the Streamable HTTP transport uses OAuth 2.1 so that a separate authorization server handles login and tokens, while the MCP server acts as a resource server. If the terms are new, start with the Model Context Protocol site.

The steps below use a placeholder URL, https://animation.example.com/mcp, and a server named animation. Replace both with the values from your server's setup page. Any remote server with a URL and a transport follows the same steps. A remote animation server typically exposes tools for creating characters, adding animations, checking account limits and exporting files, so read its tool list after you connect.

How do you add a remote MCP server in Cline?

Cline keeps its server list in cline_mcp_settings.json. Open it from the Configure MCP Servers button on the Configure tab of the MCP Servers panel. Neither docs page gives an operating-system path for this file, so open it from that button rather than typing a path.

There are two routes. The first is the Remote Servers tab. Enter a server name, the full server URL and a transport type. Streamable HTTP is listed as recommended and SSE as legacy. Then click Add Server. Use this route when you want the form to build the entry for you.

The second route is editing the file. A remote entry sits under mcpServers with a url field and a type field. The key you choose, here animation, is how you tell the servers apart in the list:

{
  "mcpServers": {
    "animation": {
      "url": "https://animation.example.com/mcp",
      "type": "streamableHttp"
    }
  }
}

The type field selects the transport. Use streamableHttp for a Streamable HTTP server. The legacy sse type is for legacy SSE servers only, so do not use it for a Streamable HTTP endpoint.

Cline's docs also describe a command-line route. It takes the server URL, a --transport http option, an optional --header and a --yes flag to skip confirmation. It suits setup scripts and team onboarding, because the same command can run on every machine. Check the flags against the current Cline docs before you script them.

How do you add a remote MCP server in Roo Code?

Roo Code has two configuration files. Global servers live in mcp_settings.json, and project servers live in .roo/mcp.json at the project root. Open the MCP settings view, then use the Edit Global MCP or Edit Project MCP option at the bottom to open the right file.

Use the project file when the server belongs to one repository. Commit it, and teammates get the same setup after they clone the project. Use the global file for a server you want in every project, such as a general tool you use across all your work.

A remote entry has a named key, a type set to streamable-http, and a url that points to the endpoint:

{
  "mcpServers": {
    "animation": {
      "type": "streamable-http",
      "url": "https://animation.example.com/mcp"
    }
  }
}

Roo Code's docs spell the type with a hyphen, while Cline spells it streamableHttp. Copy the value from the page for the tool you are editing. The Roo Code docs do not describe what happens when type is omitted, so set it explicitly.

Roo Code's MCP docs do not describe how it resolves a server name that appears in both files (as of December 2026). Avoid reusing a name, so you always know which entry the assistant is calling.

Should you use Streamable HTTP or SSE for a remote server?

Use Streamable HTTP when the server offers it. SSE is the older remote transport, and Cline lists it as legacy. Match the type to what the server documents, not to what the editor suggests first.

ToolWhere the type goesStreamable HTTP valueLegacy value
Clinecline_mcp_settings.json or the Remote Servers tabstreamableHttpsse (legacy SSE servers only)
Roo Codemcp_settings.json or .roo/mcp.jsonstreamable-httpNot documented on its MCP page (as of December 2026)

A transport that does not match the server is the first thing to check when a remote server fails to connect. The Model Context Protocol specification describes Streamable HTTP as the transport for remote servers and uses OAuth 2.1 for authorization, so a server that follows the spec will document it.

Stdio is a different case. It runs the server as a local child process, which suits servers that read local files or credentials on the same machine. A server reached by URL does not use stdio, so leave that option out of a remote entry.

How do you handle sign-in and headers?

Some remote servers sign you in with OAuth. In that case the config entry usually needs only the URL and the type, and sign-in happens through the server's own flow. Other servers ask for a token in a header instead.

The Cline docs mention a headers field, and its CLI accepts a --header option. Neither tool documents bearer-token or OAuth syntax in its config examples (as of December 2026). For any token format, follow the server's own setup guide and copy the exact header name it lists.

Keep tokens out of files you commit. A project file in .roo/mcp.json travels with the repository, so put shared credentials in your own environment or the editor's secure store, not in the JSON. Each developer can then sign in with their own account.

Treat a shared token as a password. If one leaks, revoke it on the server side, issue a new one and update the environment on each machine that uses it.

How do you check that the animation tools loaded?

After you save, the server should appear in the MCP panel with its tools listed. Open it and read the tool names. If the list matches what the server's documentation promises, the connection works and you can move on to a real request.

Start with a low-cost call before a build. Many animation servers offer an account or usage tool, and asking for it first shows what your plan allows. Name the tool in your prompt so the assistant calls it directly.

Charmotion's MCP server is one example of this setup. Its endpoint at https://charmotion.app/mcp uses Streamable HTTP and OAuth sign-in with no API key. Its tools include design_character, create_character_set, add_animations, get_character_set, export_videos, start_motion, build_motion, refine_motion and get_account. Call get_account first, because each character animation costs 1 credit and idle is always included for free. export_videos makes MP4, GIF, transparent WebM and MOV files, and exports do not use credits. The same entry format from the sections above applies to this endpoint unchanged.

What if the remote server does not appear?

Most failures come from the config file itself. Work through these checks in order:

  • Check the JSON. A missing comma or quote can stop the file from loading, which removes every server in it.
  • Use the full URL with https:// and the path, such as /mcp.
  • Match the type spelling to the tool you are using: streamableHttp in Cline, streamable-http in Roo Code.
  • Check that you are editing the file you intended. In Roo Code, the global and project files are separate.
  • Confirm that the endpoint is reachable from your network before you blame the editor.

If the entry is valid and the server still shows no tools, open the server's own setup page and compare its example with yours. Its documentation is the reference for any header or token format. The editor cannot supply a value the server has not documented.

If a tool call fails after the server connects, check the arguments in your request against the tool's description, then ask the assistant to retry with one change at a time. For the React side of a Rive character, the steps in how to use Rive in React and Next.js cover the front end. For the wider picture of AI characters and their limits, read AI character animation in 2026.

How to connect a remote animation MCP server in Cline and Roo Code

  1. Get the endpoint. Copy the full server URL from the server's setup page and note which transport it supports, normally Streamable HTTP.
  2. Open the Cline settings. In VS Code, open the MCP Servers panel in Cline, go to the Configure tab and click Configure MCP Servers to open cline_mcp_settings.json.
  3. Add the Cline entry. Add the server under mcpServers with its url and a type of streamableHttp, or use the Remote Servers tab, enter the name and URL, and click Add Server.
  4. Add the Roo Code entry. Open the MCP settings view in Roo Code, choose Edit Global MCP or Edit Project MCP, and add the server with type streamable-http and its url.
  5. Confirm the tools. Save the files, check that the server lists its tools in the MCP panel, then ask the assistant to call one tool with a small test request.

Frequently asked questions

Can I use one server in both Cline and Roo Code?

Yes, if the server accepts Streamable HTTP. Each tool keeps its own settings file, so add the same URL twice: once with type streamableHttp in Cline's cline_mcp_settings.json, and once with type streamable-http in Roo Code's mcp_settings.json or .roo/mcp.json.

Does every remote animation server need an API key?

No. Some servers use OAuth sign-in, some ask for a token in a header, and some need neither. The server's setup page says which applies. Neither Cline nor Roo Code documents bearer-token or OAuth fields in its config examples (as of December 2026), so copy any header exactly as the server lists it.

Where should a server my whole team uses go?

In Roo Code, put it in .roo/mcp.json at the project root and commit the file, so the setup travels with the repository. Cline keeps its list in its own settings file, so share the entry in your project README and ask each developer to add it there.

Why does my assistant ignore the animation tools?

Check that the server shows as connected and lists its tools in the MCP panel. Then name the tool in your prompt, using the exact tool name from the list. If the list is empty, go back to the checks in the troubleshooting section.

Sources

Related guides