CrewAI
Connect DevMotion to a CrewAI agent using MCPServerSSE.
MCP Endpoint: https://devmotion.app/mcp
Setup
Connect MCP server to an agent
from crewai.mcp import MCPServerSSE
from crewai import Agent, Task, Crew
mcp_server = MCPServerSSE(
url="https://devmotion.app/mcp",
headers={"Authorization": "Bearer YOUR_TOKEN"},
cache_tools_list=True,
)
animator = Agent(
role="Video Animator",
goal="Create animations in DevMotion based on user briefs",
backstory="Expert at motion graphics and animation.",
mcps=[mcp_server],
)
task = Task(
description="Create a 1080x1920 TikTok intro with a bold slide-in title",
agent=animator,
)
crew = Crew(agents=[animator], tasks=[task])
crew.kickoff()Authentication
Obtain a long-lived token from your DevMotion profile and pass it in the Authorization header as shown above.