How to Use the Callpicker MCP in Pydantic AI
Build type-safe, reliable agents with Pydantic AI that interact with your phone system and never fail silently.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Callpicker MCP to Pydantic AI
Create your Vinkius account to connect Callpicker 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.
Get Guaranteed Correct Call Data
Pydantic AI's whole point is correctness. When your agent calls `get_call_details` or `list_call_logs`, the JSON response is immediately parsed and validated against a Pydantic model. If a field is missing, has the wrong type, or is just plain junk, your code will raise a `ValidationError`. This means no more defensive coding or silent data corruption. You can trust that the call log data your agent is working with matches the exact schema you expect. If the upstream API ever changes without warning, your agent fails loud and clear, which is exactly what you want in production.
Model-Agnostic Phone Operations
With Pydantic AI, your choice of LLM doesn't lock you in. You can use the Callpicker tools with an agent powered by GPT-4, Gemini, Claude, or even a local model running on your own machine. The logic for using `make_call` or `get_recording_url` is completely separate from the model provider. This gives you the freedom to swap out the 'brain' of your agent without rewriting all the tool-handling code. If a new, better model comes out tomorrow, you can switch to it and your Callpicker integration will keep working just as it did before.
Reliable PBX System Checks with Pydantic AI
When you're checking on critical infrastructure, you need to trust the data you're getting. An agent using Pydantic AI can call `get_pbx_system_status` or `list_pbx_extensions` and know for certain that the response is well-formed. No guesswork involved. This is especially important for automated monitoring and remediation. If an agent gets a malformed status response, it won't try to act on bad data. The validation layer ensures that any decisions—like whether to send an alert or reroute numbers—are based on a known, valid system state. This MCP Server gives your type-safe agent the tools it needs.
Set up Callpicker 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": {
"callpicker-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
})
agent = Agent(
"openai:gpt-4o",
toolsets=[toolset],
system_prompt="You have access to Callpicker tools.",
)
result = await agent.run("List recent Callpicker 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 Callpicker. 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 Callpicker MCP in Pydantic AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Callpicker MCP today
We host it, we monitor it, we maintain it. You just paste one token.