How to Use the MINDBODY Health & Wellness MCP in LangChain
Build multi-step LangChain pipelines to track client visits and class schedules with the MINDBODY Health & Wellness MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect MINDBODY Health & Wellness MCP to LangChain
Create your Vinkius account to connect MINDBODY Health & Wellness to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Chain schedule checks to staff availability
The `list_classes` tool lets your agent pull active schedules directly into your chain. When a client requests a booking, the LangChain agent evaluates this schedule and immediately triggers `list_staff` to find an available instructor. This setup eliminates manual coordination by chaining the two tools together. The output of your class schedule query feeds directly into the staff search, letting the agent make decisions based on real-time room and instructor availability.
Trace client purchase and visit patterns
Your LangChain agent uses `get_client_purchases` to fetch raw spending records before feeding that data into another step. It then runs `get_client_visits` to cross-reference their actual attendance history against those purchases. You can monitor this entire multi-step analysis inside LangSmith to see exactly how the agent processes the wellness data. Seeing the latency and raw payloads for each tool call helps you optimize the decision-making loop.
Automate retention alerts through multi-tool reasoning
The `get_class_visits` tool identifies who showed up for a specific session, allowing your agent to flag missing regulars. Your agent then calls `get_client_details` to retrieve contact info and construct a personalized follow-up chain. This multi-step pipeline operates without human intervention, relying on the agent to decide when to trigger the next action. By combining these distinct tools, your MCP Server lets the agent handle the entire retention workflow from attendance check to contact retrieval.
Set up MINDBODY Health & Wellness MCP in LangChain
Prerequisites
- Python 3.10+ installed
-
langchain-mcp-adapters+langgraphpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChainBaseToolobjects. - 2
Connect via HTTP transport
Use
MultiServerMCPClientwith"transport": "http"pointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create a ReAct agent
Pass the discovered tools to
create_react_agent()from LangGraph. The agent automatically routes MINDBODY Health & Wellness tool calls through the MCP protocol. - 4
Run with any LLM
Swap
ChatOpenAIforChatAnthropic,ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
async with MultiServerMCPClient({
"mindbody-health-wellness-mcp": {
"transport": "http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
result = await agent.ainvoke({
"messages": "List recent MINDBODY Health & Wellness transactions"
})
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 MINDBODY. 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 MINDBODY Health & Wellness MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the MINDBODY Health & Wellness MCP today
We host it, we monitor it, we maintain it. You just paste one token.