How to Use the Craft CMS (Craftnet) MCP in OpenAI Agents SDK
Run production agents that manage Craft CMS (Craftnet) plugin sales and licenses safely using the OpenAI Agents SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Craft CMS (Craftnet) MCP to OpenAI Agents SDK
Create your Vinkius account to connect Craft CMS (Craftnet) 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.
Validate Craftnet operations in OpenAI Agents SDK
When your agent calls `list_plugin_licenses` or `list_cms_licenses`, this MCP Server feeds data directly into OpenAI's native validation layer. You get clean, pre-checked schemas before any transaction data hits your production database. If an agent tries to pull account details using `get_account_details`, OpenAI's guardrails verify the parameters first. You can trace the entire call path on your OpenAI dashboard, keeping a tight lock on who accesses your developer profile.
Hand off sales analysis to specialized OpenAI agents
Run `list_sales_history` and `list_payout_history` through a specialized financial agent instead of forcing one agent to do everything. Build a coordinator agent that routes tasks to this specialist when it detects a request to read plugin earnings. This handoff happens behind the scenes. The secondary agent processes the numbers, sends the summary back, and shuts down, keeping your Craftnet developer credentials isolated from public-facing chat components.
Audit Craft Store search safely in production
Call `search_plugins_by_name` and `get_plugin_details` to let your support agent answer customer compatibility questions on the fly. Because this MCP integration runs on the OpenAI Agents SDK, every tool call leaves a clean audit trail in your tracing logs. You see exactly what keywords customers ask for and what plugin metadata the tool returns. It makes debugging failed searches simple because you can replay the exact payload without guessing what the model saw.
Set up Craft CMS (Craftnet) 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 Craft CMS (Craftnet) tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Craft CMS (Craftnet) tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Craft CMS (Craftnet) 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="Craft CMS (Craftnet) Agent",
instructions="You have access to Craft CMS (Craftnet) 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 Craftnet. 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 Craft CMS (Craftnet) 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 Craft CMS (Craftnet) MCP today
We host it, we monitor it, we maintain it. You just paste one token.