How to Use the AMcards MCP in OpenAI Agents SDK
Use the OpenAI Agents SDK to have your agents send real, handwritten cards with AMcards and track their delivery status.
Works with every AI agent you already use
…and any MCP-compatible client
Connect AMcards MCP to OpenAI Agents SDK
Create your Vinkius account to connect AMcards to OpenAI Agents SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Send Cards Directly From Your Agent
Your agent can now send physical greeting cards. The OpenAI Agents SDK automatically discovers the AMcards tools, so your agent can call `send_greeting_card` with a contact's details and a personalized message. It feels like adding a new Python function, but it triggers a real-world action. This isn't just for one-off tasks. You can build specialized agents that manage entire outreach sequences. Use the built-in guardrails to require human confirmation before a card is sent, or have one agent propose a campaign and another approve it. You can see the full trace of these actions in your OpenAI dashboard, from the `trigger_drip_campaign` call to the final status check with `get_card_sending_history`.
Integrate AMcards with the OpenAI Agents SDK
Your agent won't be guessing what it can do. The SDK's auto-discovery finds every available tool on this MCP Server, from `list_card_templates` to `list_drip_campaigns`. This means your agent knows exactly which card designs and automated campaigns are available before it tries to send anything. Because you're building a production system, you need reliability. The agent framework lets you set up handoffs between different agents—one for drafting messages, another for selecting the right AMcards template. The whole process is traceable, so you can debug why an agent chose a specific card or campaign.
Full Tracing for Every Action
The `check_api_health` tool lets your agent confirm the AMcards service is online before attempting any operations. It's a simple but critical check for building a resilient system. You can build this into your agent's startup routine or as a pre-flight check before running a big campaign. Every tool call your agent makes—`list_configured_webhooks`, `get_card_sending_history`, anything—is logged in the OpenAI dashboard. This gives you a clear, step-by-step trace of your agent's decisions and actions. If a card fails to send, you'll know exactly which step failed and why, without digging through server logs.
Set up AMcards MCP in OpenAI Agents SDK
Prerequisites
- Python 3.10+ installed
-
openai-agentspackage (pip install openai-agents) - Active Vinkius subscription with a valid endpoint token
- 1
Install the SDK
Run
pip install openai-agentsto install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed. - 2
Connect via SSE transport
Use
MCPServerSsewith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. The SDK auto-discovers all AMcards tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives AMcards tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate AMcards tools and returns structured results. Copy the full example on the right to get started.
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerSse
async def main():
async with MCPServerSse(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as server:
agent = Agent(
name="AMcards Agent",
instructions="You have access to AMcards tools.",
mcp_servers=[server],
)
result = await Runner.run(agent, "List recent transactions")
print(result.final_output)
asyncio.run(main()) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by AMcards. 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 AMcards MCP in OpenAI Agents SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the AMcards MCP today
We host it, we monitor it, we maintain it. You just paste one token.