How to Use the Envi Healthcare Supply Chain MCP in AutoGen
Let AutoGen agent teams debate and manage your healthcare supply chain with live Envi data.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Envi Healthcare Supply Chain MCP to AutoGen
Create your Vinkius account to connect Envi Healthcare Supply Chain to AutoGen and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Debate Purchase Order Approvals
Create a team of agents that work together to review supply requests. A 'Requester' agent can use `list_latest_supply_requisitions` to state a need. An 'Auditor' agent immediately checks `get_supply_stock_level` to see if the request is justified. A 'Finance' agent can check `get_envi_account_metadata` for budget limits. These agents converse in a chat, challenge each other's assumptions, and reach a consensus. A human only needs to get involved when the agents can't agree or need final sign-off.
Run Audits with Specialist Agents
Set up a workflow with specialized agents. One agent, the 'Analyst', runs a `quick_healthcare_supply_audit` to get a broad overview. It passes the results to a 'Specialist' agent, which then uses `get_po_technical_details` to dig into any purchase orders that were flagged as problematic. This division of labor, powered by an MCP Server, lets each agent focus on a specific task. The result is a more thorough review than a single, general-purpose agent could perform on its own.
Build Consensus-Driven Workflows
This MCP Server gives your AutoGen team the facts they need to have a productive debate. The `McpToolAdapter` automatically makes tools like `list_critical_stock_alerts` and `list_medical_vendors` available to any agent in your group chat. You're not just building a simple script; you're building a system where agents challenge each other's findings. They use live data from your Envi account to back up their arguments, leading to better, more resilient decisions.
Set up Envi Healthcare Supply Chain MCP in AutoGen
Prerequisites
- Python 3.10+ installed
-
autogen-ext[mcp]package - Active Vinkius subscription with a valid endpoint token
- 1
Install AutoGen with MCP
Run
pip install "autogen-ext[mcp]" autogen-agentchat. The MCP extension includesmcp_server_toolsfor stateless tool access. - 2
Fetch tools from the MCP
Call
mcp_server_tools(SseServerParams(url=...))with your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Run your agent
Pass the tools to
AssistantAgentand callagent.run(). The agent invokes Envi Healthcare Supply Chain tools and returns structured results.
from autogen_ext.tools.mcp import SseServerParams, mcp_server_tools
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient
server_params = SseServerParams(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
tools = await mcp_server_tools(server_params)
agent = AssistantAgent(
name="Envi Healthcare Supply Chain_assistant",
model_client=OpenAIChatCompletionClient(model="gpt-4o"),
tools=tools,
)
result = await agent.run("List recent Envi Healthcare Supply Chain data")
print(result.messages[-1].content) Prerequisites
- Python 3.10+ installed
-
autogen-ext[mcp]+autogen-agentchat - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Same packages as above.
McpWorkbenchis ideal when your agent needs stateful sessions across multiple tool calls. - 2
Use McpWorkbench as context manager
Wrap your agent in
async with McpWorkbench(...)to maintain shared state and resources. The workbench manages the full MCP session lifecycle. - 3
Run with workbench
Pass
workbench=workbenchto your agent. State is preserved across multiple tool calls within the same session.
from autogen_ext.tools.mcp import McpWorkbench, SseServerParams
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient
server_params = SseServerParams(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
async with McpWorkbench(server_params) as workbench:
agent = AssistantAgent(
name="Envi Healthcare Supply Chain_assistant",
model_client=OpenAIChatCompletionClient(model="gpt-4o"),
workbench=workbench,
)
result = await agent.run("List recent Envi Healthcare Supply Chain data")
print(result.messages[-1].content) 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 AutoGen
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.