How to Use the ContentGroove MCP in Pydantic AI
Build type-safe video highlight pipelines with runtime validation using Pydantic AI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ContentGroove MCP to Pydantic AI
Create your Vinkius account to connect ContentGroove to Pydantic AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Validate video uploads using Pydantic AI with strict type safety
Stop letting malformed video URLs crash your production code. Your agent uses `create_media_from_url` to import files, and Pydantic AI ensures the returned media payload matches your expected schema before your code even touches it. If you need to upload local files, the agent calls `create_direct_upload` to get a signed URL. The framework validates every field of the response at runtime, so you never have to worry about missing parameters or null values.
Parse clip metadata without silent failures
Extract highlight details with absolute certainty. When your agent calls `get_clip_details` or `list_all_clips`, this MCP Server returns structured video data that Pydantic AI immediately validates against its internal models. If ContentGroove updates its payload or returns an unexpected field, the framework fails loudly. This prevents your agent from hallucinating timestamps or passing broken clip ranges to your video rendering engine.
Track media processing status with absolute type correctness
Build reliable polling loops for your video rendering pipeline. Your agent calls `get_media_status` and `get_media_clips` to verify when highlights are ready, checking status strings against strict Python Enums. By using the unified toolset in Pydantic AI, you avoid the deprecated HTTP classes. Your agent gets a clean, validated stream of project details from `get_media_details` and `list_media` without any manual parsing code.
Set up ContentGroove MCP in Pydantic AI
Prerequisites
- Python 3.10+ installed
-
pydantic-ai-slim[fastmcp]package - Active Vinkius subscription with a valid endpoint token
- 1
Install Pydantic AI with FastMCP
Run
pip install "pydantic-ai-slim[fastmcp]". The FastMCP toolset replaces the deprecatedMCPServerHTTPclass with full protocol support. - 2
Configure the FastMCPToolset
Pass a JSON-style config dict to
FastMCPToolsetwith your Vinkius URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. Supports Streamable HTTP, SSE, and Stdio transports. - 3
Create and run your agent
Pass the toolset to
Agent(toolsets=[toolset])and callagent.run(). Swapopenai:gpt-4ofor any supported model — Anthropic, Google, Mistral, or Groq.
from pydantic_ai import Agent
from pydantic_ai.toolsets.fastmcp import FastMCPToolset
toolset = FastMCPToolset({
"mcpServers": {
"contentgroove-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
})
agent = Agent(
"openai:gpt-4o",
toolsets=[toolset],
system_prompt="You have access to ContentGroove tools.",
)
result = await agent.run("List recent ContentGroove transactions")
print(result.output) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by ContentGroove. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about ContentGroove MCP in Pydantic AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the ContentGroove MCP today
We host it, we monitor it, we maintain it. You just paste one token.