How to Connect a Mascot and Animation MCP Server to Windsurf Cascade
By the Charmotion team · Updated · How we write guides

To connect a mascot and animation MCP server to Windsurf Cascade, add a remote entry with the server's serverUrl to the mcp_config.json file that Cascade opens from its MCP menu, then sign in with OAuth. The server URL is https://charmotion.app/mcp and no API key is needed. Free previews and guide search work without an account.
Key takeaways
- Cascade reads its MCP servers from mcp_config.json, and the Open MCP config file action in the MCP menu opens it.
- A remote server entry needs a name and a serverUrl that ends in /mcp.
- OAuth sign-in replaces an API key, so no secret goes into the file.
- If the server or its tools do not appear, check the JSON syntax, the file path and the tool count first.
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.
Where does Windsurf Cascade keep its MCP config file?
Cascade reads its external tool servers from one JSON file. Learning how to connect an animation and mascot MCP server to Windsurf Cascade mostly means knowing where that file lives and what an entry in it should look like. Windsurf's official docs say you can open the file from Cascade's MCP menu with the Open MCP config file action, which opens the raw mcp_config.json.
The path depends on your operating system. These are the Cascade-managed locations given in the official docs:
| System | Cascade-managed mcp_config.json |
|---|---|
| macOS and Linux | ~/.config/devin/mcp_config.json, or $XDG_CONFIG_HOME/devin/mcp_config.json when XDG_CONFIG_HOME is set |
| Windows | %AppData%/devin/mcp_config.json |
The docs also name a separate discovery file for the editor itself: ~/.codeium/windsurf/mcp_config.json for the stable build and ~/.codeium/windsurf-next/mcp_config.json for Next. Many guides point only to the .codeium path, but the file that Cascade opens from its menu is the one to edit when the two differ.
Third-party pages report that Windsurf was renamed Devin Desktop in June 2026, so older screenshots and paths may not match what you see. Open the file from the menu and work from there.
How do you add a remote MCP server entry in Cascade?
A remote server needs a name and a URL. The official docs say remote HTTP entries require a serverUrl or url field, and their example uses a serverUrl that ends in /mcp. The name is yours to choose. This guide uses animation-mascot. Copy the remote URL from the MCP server page and paste it in place of the placeholder:
{"animation-mascot": {"serverUrl": "PASTE-SERVER-URL-HERE"}}Keep the surrounding structure of the file as the docs show it. If the entry follows another server, make sure the entries are separated correctly, and check that every brace and quote is closed before saving. A single syntax error can stop the whole file from loading, which is the most common reason a server seems to vanish.
Two details matter. The URL has to end in /mcp. The entry also needs no headers object. Headers are what you add when a server expects a token. The GitHub MCP server's Windsurf guide, for example, sends a Bearer token in a headers object next to its serverUrl. A server that signs in with OAuth does not need that field, so leave it out.
Cascade also interpolates environment variables in the command, args, env, serverUrl, url and headers fields, according to the docs. You will not need that for this server. It becomes useful when a server needs a secret that you prefer to keep out of the file.
What does the Charmotion MCP server give Cascade?
Charmotion's remote MCP server at https://charmotion.app/mcp turns one character image or logo into animations. It uses Streamable HTTP, OAuth sign-in and no API key. Once Cascade has connected, the tools below become available to the agent. Each one maps to a step in the same pipeline you would use on the website.
| Tool | What Cascade can do with it |
|---|---|
| design_character | Design a character with AI (1 credit) |
| design_logo | Design a logo with AI (1 credit) |
| create_character_set | Create a character with the animations you choose (1 credit each, idle free) |
| add_animations | Add animations to a character later; only the new ones use credits |
| get_character_set | Return download links and AI_README integration notes |
| export_videos | Export MP4, GIF, transparent WebM, transparent MOV and a 9:16 launch MP4 (no credits) |
| start_motion | Make three free logo animation concepts |
| build_motion | Build the logo animation you pick (5 credits) |
| refine_motion | Refine a logo animation (no credits) |
| get_account | Show the credits and plan allowance left |
Free accounts get animated previews and guide search without signing in. Designs, character animations and logo builds draw on the plan you hold, and get_account shows what is left. Plan details and credit amounts are on the pricing page.
How does OAuth sign-in work for a remote MCP server in Cascade?
Windsurf's docs say Cascade supports OAuth for remote servers that use the Streamable HTTP or SSE transport. The Model Context Protocol specification splits the roles. The MCP server acts as a resource server, while a separate authorization server handles login and tokens. That split is why the config file holds a URL and no credential.
Sign in with the same account you use on the website, because designs, animations and logo builds are charged to that account. Your sign-in does not change the entry you wrote. The file stays the same whether you are signed in or not.
If the server shows as unauthenticated, do not paste a key into the file. Look for the sign-in prompt in Cascade's MCP menu and complete it there. Windsurf controls the exact screens, so check its MCP page if the prompt differs from what this guide describes.
Remember that the transport choice affects this flow. Stdio servers run as a local child process and do not use OAuth in the same way. This server is remote, which is why the entry contains only a serverUrl.
What can you ask Cascade to do once the server is connected?
After Cascade lists the tools, plain requests map onto them. A logo workflow runs in this order:
- Ask for three logo concepts with start_motion. They are free, and you pick the one to keep.
- Build the chosen concept with build_motion, which costs 5 credits.
- Refine it with refine_motion if the first pass misses. Refines use no credits.
- Check the balance with get_account before any paid step.
Create three logo concepts for my fitness app with start_motion, then show me the options before building one.
A character workflow is similar. A character comes from design_character or from your own image, and create_character_set builds it with the animations you choose, such as launch, happy, wave and loading. Idle is always included for free. Each animation costs 1 credit, and add_animations can add more later without touching the ones already made. For the logo path, see how to animate a logo from Claude, Cursor or VS Code with MCP, and for adding states later, how to add new mood and animation states via MCP.
A finished character comes back as one Rive (.riv) file. It contains CharacterViewModelMachine, CharacterStateMachine and, when launch was picked, LaunchStateMachine. The mood numbers are fixed: idle 0, happy 1, wave 2, thinking 3, sad 4, loading 5, listening 6, talking 7, sleeping 8 and attention 9. get_character_set returns the download links and an AI_README that a coding assistant can read. Video copies come from export_videos, which uses no credits. The steps for those files are in how to export transparent WebM, MOV, MP4 and GIF animations via MCP.
Why doesn't the server or its tools show up in Cascade?
Most failures come from the file rather than the server. Check these in order:
- JSON syntax. A missing comma, brace or quote stops the file from loading. Paste the file into a JSON validator before you restart anything.
- File path. Edit the file that the Open MCP config file action opens. A path copied from an older guide, especially a .codeium path, may be a different file.
- URL and field name. The URL must match the remote address on the MCP server page and end in /mcp, and the entry must use the serverUrl or url field.
- Leftover headers. A headers object copied from a token-based server does not belong in this entry. This server signs in with OAuth.
- Tool count. A third-party site, clients.dev, reports that Cascade allows 100 MCP tools enabled at one time and that tools can be toggled per server. Check Windsurf's MCP page for the current limit, and turn off tools you do not need from other servers.
If the tools list is complete but a call fails, run get_account first. It confirms the account and the plan allowance, which tells you whether a paid step was blocked before it started.
For the full tool reference, see the MCP server page, which lists the same remote URL for Claude, Cursor, VS Code, Codex and other assistants.
How to connect an animation and mascot MCP server to Windsurf Cascade
- Open the MCP config file. In Windsurf, open Cascade's MCP menu and choose the Open MCP config file action. Edit the mcp_config.json file it opens, using the path for your operating system.
- Add a remote server entry. Add an entry with a name of your choice and a serverUrl set to https://charmotion.app/mcp. Do not add a headers object, because the server signs in with OAuth.
- Check the JSON. Make sure every brace, bracket and quote is closed and that entries are separated by commas. A syntax error stops the whole file from loading.
- Save and let Cascade load the server. Save the file and return to Cascade's MCP menu to confirm the server is listed.
- Sign in with OAuth. Complete the sign-in prompt shown for the server, using the account you use on the website. Do not paste an API key into the file.
- Confirm the tools and the account. Check that the server's tools are listed, then ask Cascade to run get_account to see the credits and plan allowance before any paid step.
Frequently asked questions
Do I need an API key to connect the server to Windsurf Cascade?
No. The server uses OAuth sign-in, so the mcp_config.json entry holds only the serverUrl. Free accounts can use animated previews and guide search without an account. Designs, character animations and logo builds need an account and a plan.
Can the same server run in Claude, Cursor or VS Code?
Yes. The server is a standard remote MCP endpoint, and the MCP server page lists Claude, Cursor, VS Code, Codex and other assistants as supported clients. Each client keeps its server list in its own file or settings screen, so follow that client's setup steps rather than copying this file.
Does connecting the server use credits?
Connecting does not draw on credits, because only designs, character animations and logo builds do. Logo concepts, refines and video exports use no credits. get_account shows your remaining balance, and plan details are on the pricing page.
What comes back when a character build finishes?
get_character_set returns download links and AI_README integration notes. The main output is one Rive (.riv) file with three state machines, driven by a mood number from 0 to 9. Video files are separate exports from export_videos.
Sources
- Cascade MCP configuration, Windsurf
- Install the GitHub MCP server in Windsurf, GitHub
- Model Context Protocol specification and remote servers, Model Context Protocol
- Windsurf MCP page, clients.dev
- Windsurf MCP setup guide, Fast.io
- Charmotion MCP server, Charmotion
Related guides
- How to Animate a Logo or Character From Claude, Cursor or VS Code With MCP
- How to Set Up a Remote Rive Animation MCP Server in Cursor
- How to Connect a Remote Animation MCP Server to Claude Code
- How to Configure a Remote Animation MCP Server in OpenAI Codex CLI
- How to Export Transparent WebM, MOV, MP4, and GIF Animations Directly via MCP