How to Use the Efí Pay (Gerencianet) MCP in OpenAI Agents SDK
Build production-ready payment agents with OpenAI Agents SDK that issue Pix charges and boletos through Efí Pay.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Efí Pay (Gerencianet) MCP to OpenAI Agents SDK
Create your Vinkius account to connect Efí Pay (Gerencianet) 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.
Issue Boletos and Pix via MCP Server
The `efi_create_boleto` and `efi_create_pix_charge` tools give your OpenAI agent direct access to generate Brazilian payment methods. When your system needs to bill a customer, the agent calls these endpoints to create immediate Pix codes or traditional bank slips. You track exact status by calling `efi_get_pix_payment` to confirm when funds actually land. Because you use the OpenAI Agents SDK, you set firm guardrails around these payment generation tools. The agent requests the charge, but your predefined safety constraints validate the amounts before execution. This keeps your automated billing logic predictable and traceable in your OpenAI dashboard.
Query Account Balances and Statements
Reading financial data starts with the `efi_get_balance` and `efi_get_statement` tools. Your agent pulls current digital account totals and historical movement summaries straight from Efí Pay. If an accounting sub-agent needs to reconcile the day's receipts, it grabs the raw statement data and parses the transactions. You configure the agent handoff so a specialized reconciliation agent handles the read-only queries while another agent manages the actual outbound payments. This isolates permissions. The tracing features in your dashboard show exactly when the agent checked the balance versus when it initiated a new charge.
Send Real-Time Pix Payments
The `efi_send_pix` tool allows your agent to push funds out to third parties instantly. You pass the destination key and amount, and the tool executes the transfer in real time. This works well for automated vendor payouts or customer refunds without human intervention. Managing outbound cash flow requires strict oversight. By combining this tool with `efi_list_pix_charges` and `efi_list_boletos`, your system verifies incoming revenue before authorizing the outgoing Pix. The OpenAI framework ensures the agent follows this sequence exactly as defined in your prompt constraints.
Set up Efí Pay (Gerencianet) 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 Efí Pay (Gerencianet) tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Efí Pay (Gerencianet) tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Efí Pay (Gerencianet) 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="Efí Pay (Gerencianet) Agent",
instructions="You have access to Efí Pay (Gerencianet) 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 Efí Pay. 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 Efí Pay (Gerencianet) 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 Efí Pay (Gerencianet) MCP today
We host it, we monitor it, we maintain it. You just paste one token.