Vinkius
OpenTHC logo
Vinkius
Vinkius runs on OpenAI Agents SDK

How to Use the OpenTHC MCP in OpenAI Agents SDK

Build production-grade compliance agents. Your OpenAI Agents SDK gets full access to OpenTHC data, with every action traced.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

OpenTHC MCP on Cursor AI Code Editor MCP Client OpenTHC MCP on Claude Desktop App MCP Integration OpenTHC MCP on OpenAI Agents SDK MCP Compatible OpenTHC MCP on Visual Studio Code MCP Extension Client OpenTHC MCP on GitHub Copilot AI Agent MCP Integration OpenTHC MCP on Google Gemini AI MCP Integration OpenTHC MCP on Lovable AI Development MCP Client OpenTHC MCP on Mistral AI Agents MCP Compatible OpenTHC MCP on Amazon AWS Bedrock MCP Support
MCP Servers — Included with Plan
Vinkius runs on OpenAI Agents SDK

Connect OpenTHC MCP to OpenAI Agents SDK

Create your Vinkius account to connect OpenTHC to OpenAI Agents SDK — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.

GDPR Included with Plan

Key Capabilities

Track Seed-to-Sale Lifecycles

Your agent can follow a plant from seed to final sale. It starts by checking `list_plants` to monitor cultivation stages and locations. Then it queries `list_lab_samples` and `list_lab_results` to confirm a batch passed testing before it can be moved. Once cleared, the agent uses `list_inventory` to find the specific lot, `list_products` to get its SKU, and `list_b2c_transactions` to confirm the final sale. OpenAI's tracing dashboard gives you a complete audit log of every step your agent took.

Manage B2B Supply Chain Transfers

This is for coordinating with other licensed businesses. Your agent can verify a partner's status by checking `list_companies` and `list_licenses` before initiating a transfer. It's a built-in guardrail against shipping to an expired or invalid license. To execute a transfer, your agent uses `list_b2b_transactions` to create and monitor the shipment. You can even build specialized agents—one for outbound logistics, another for receiving—and have them hand off tasks. This MCP Server gives them the tools to do the job.

Run Automated Compliance Audits with your OpenAI Agents SDK

Stop doing audits by hand. Give an agent a task: "Verify inventory in the main vault matches our compliance records." The agent uses `list_sections` to identify the vault, then calls `list_inventory` to get a full count of everything inside. It can cross-reference those counts against `list_b2b_transactions` and `list_b2c_transactions` to account for all movements. If it finds a mismatch, you get an alert instantly. It’s faster and catches errors humans would miss.

Setup guide

Set up OpenTHC MCP in OpenAI Agents SDK

Prerequisites

  • Python 3.10+ installed
  • openai-agents package (pip install openai-agents)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install the SDK

    Run pip install openai-agents to install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed.

  2. 2

    Connect via SSE transport

    Use MCPServerSse with your Vinkius endpoint URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. The SDK auto-discovers all OpenTHC tools at runtime.

  3. 3

    Create your Agent

    Pass the MCP to Agent(mcp_servers=[server]). The agent receives OpenTHC tools as native definitions — JSON schemas resolve automatically.

  4. 4

    Run the agent

    Call Runner.run(agent, prompt) to execute. The agent invokes the appropriate OpenTHC tools and returns structured results. Copy the full example on the right to get started.

agent.py
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="OpenTHC Agent",
            instructions="You have access to OpenTHC 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 OpenTHC. 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 OpenTHC MCP in OpenAI Agents SDK

It's straightforward. You instantiate an `MCPServerStreamableHttp` object with your Vinkius server URL and pass it to your Agent's constructor. The SDK handles tool discovery automatically, so all 12 OpenTHC tools are immediately available.
Yes, but you'd handle that in your agent's code logic. The MCP server exposes all tools by default. Your agent's internal programming and the prompts you give it are what control which functions like `list_plants` or `list_b2c_transactions` it actually calls.
Start with high-level queries and let the agent drill down. For example, ask it to summarize daily sales. The agent will likely use `list_b2c_transactions` to get the raw data, then you can have a second, specialized agent analyze the results for patterns.
The `list_varieties` tool gives your agent a complete catalog of all strains. When your agent needs to create a new plant record or product label, it can reference this tool to ensure it's using the correct strain name and genetic type.
Yes. Your connection is encrypted, and your Vinkius token is the only key. The server only handles OpenTHC transaction, inventory, and plant data—it never sees your agent's internal state or your OpenAI API keys. Vinkius runs each server in an isolated sandbox for an extra layer of security.

Start using the OpenTHC MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for OpenTHC. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.