How to Use the Envi Healthcare Supply Chain MCP in OpenAI Agents SDK
Build production-ready medical inventory agents with OpenAI Agents SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Envi Healthcare Supply Chain MCP to OpenAI Agents SDK
Create your Vinkius account to connect Envi Healthcare Supply Chain 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.
Connect the Envi MCP Server to your OpenAI Agents
`get_envi_account_metadata` gives your OpenAI agent immediate access to your Envi account limits and configurations. You don't have to code custom API wrappers. The SDK auto-discovers all ten tools when you pass the server to the Agent constructor. Your agent uses `quick_healthcare_supply_audit` to pull a high-level summary of your purchase orders and requisitions. If it spots an issue, the built-in guardrails validate the next steps before executing a deep dive.
Audit purchase orders across your hospital network
`list_healthcare_pos` pulls every purchase order currently sitting in your Envi account. Your agent can read the status of these orders in real time. If a clinician asks about a delayed shipment, the agent fetches the exact status without human intervention. When you need line-item specifics, `get_po_technical_details` steps in. The agent extracts the exact settings and items for a specific PO. You get tracing through the OpenAI dashboard to see exactly how the agent resolved the vendor data via `list_medical_vendors`.
Prevent medical stockouts before they happen
`list_critical_stock_alerts` identifies medical supplies sitting below your safety thresholds. Your agent runs this check on a schedule and hands off the alert to a specialized procurement agent. That specialized agent then calls `get_supply_stock_level` to verify the real-time stock for the specific item. It cross-references the location data from `list_healthcare_facilities` to tell you exactly which clinic needs the restock.
Set up Envi Healthcare Supply Chain 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 Envi Healthcare Supply Chain tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Envi Healthcare Supply Chain tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Envi Healthcare Supply Chain 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="Envi Healthcare Supply Chain Agent",
instructions="You have access to Envi Healthcare Supply Chain 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 Envi Healthcare Supply Chain. 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 Envi Healthcare Supply Chain 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 Envi Healthcare Supply Chain MCP today
We host it, we monitor it, we maintain it. You just paste one token.