How to Use the DealMachine MCP in OpenAI Agents SDK
Build production real estate agents that manage DealMachine leads with the OpenAI Agents SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect DealMachine MCP to OpenAI Agents SDK
Create your Vinkius account to connect DealMachine 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.
Automate property lead generation
Production agents need to act on real estate data without hallucinating addresses. You configure the OpenAI Agents SDK to connect to your account, and your system immediately knows how to drop new prospects into your pipeline. The `add_new_lead` tool handles the initial creation based on raw street addresses. Once the record exists, your agent can run validation checks. It calls `search_leads_by_address` to prevent duplicates before spending credits on skip tracing. You get a clean database because the agent verifies the details against your actual CRM state before executing the write.
Deep dive into property equity and owner details
Finding a distressed property is only half the job. Your agent needs the financial context to decide if a deal makes sense. By running `get_property_details`, the system pulls back estimated equity, mortgage history, and the current deed status. That raw financial data feeds directly into your OpenAI agent's reasoning loop. If the equity meets your threshold, the system triggers `get_lead_details` to grab the owner's contact info. You set the guardrails, and the agent executes the research autonomously.
Monitor campaigns with this MCP Server
Real estate marketing burns cash fast if you don't watch the metrics. Connecting this DealMachine MCP Server gives your deployment direct access to your outbound mailer stats. The agent pulls recipient counts and engagement numbers using `list_marketing_campaigns`. Tracking who is actually finding these properties matters just as much. You can trigger `list_driving_teams` to audit which active drivers are logging the most actionable prospects. Handoffs between a research agent and a reporting agent happen naturally within the SDK framework.
Set up DealMachine 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 DealMachine tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives DealMachine tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate DealMachine 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="DealMachine Agent",
instructions="You have access to DealMachine 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 DealMachine. 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 DealMachine 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 DealMachine MCP today
We host it, we monitor it, we maintain it. You just paste one token.