4,500+ servers built on MCP Fusion
Vinkius
Magicplan logo
Vinkius
LangChain logo

How to Use the Magicplan MCP in LangChain

Build multi-step LangChain pipelines that pull spatial data and write estimates without leaving your runtime.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Magicplan MCP on Cursor AI Code Editor MCP Client Magicplan MCP on Claude Desktop App MCP Integration Magicplan MCP on OpenAI Agents SDK MCP Compatible Magicplan MCP on Visual Studio Code MCP Extension Client Magicplan MCP on GitHub Copilot AI Agent MCP Integration Magicplan MCP on Google Gemini AI MCP Integration Magicplan MCP on Lovable AI Development MCP Client Magicplan MCP on Mistral AI Agents MCP Compatible Magicplan MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
LangChain

Connect Magicplan MCP to LangChain

Create your Vinkius account to connect Magicplan 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.

GDPR Free for Subscribers

Run multi-step floor plan analysis with LangChain

Your LangChain agent can now chain spatial data requests directly into financial calculations. By calling `get_project_floor_plan` to inspect the layout, the agent passes those dimensions directly into `list_project_estimates` to check budget alignment. This chain runs without manual intervention, turning complex spatial queries into a single execution path. You track every single tool call in LangSmith, which shows you exactly how the agent navigated from `get_project_details` to the final floor plan output. If the agent gets stuck or grabs the wrong layout, you see the exact payload and can tweak your prompt templates instantly.

Map workspace users to specific project estimates

Managing access and budgets across real estate projects is messy when done manually. This MCP Server lets your LangChain agent query `list_workspace_users` to see who is on site, then immediately run `get_estimate_details` to audit their specific financial drafts. The agent handles this by passing variables through a structured chain, ensuring that user IDs from one tool feed straight into the parameters of the next. It avoids the need to write custom glue code for every Magicplan API endpoint.

Extract custom form data during LangChain runs

Field technicians fill out custom checklists on site, and your LangChain agent needs that raw data to make decisions. The agent calls `list_available_forms` to find the correct checklist template, then triggers `get_plan_form_data` to pull the actual values from the active plan. This MCP capability allows you to construct decision-making nodes in LangGraph where the agent's next action depends entirely on whether a form field is marked complete. You get a deterministic pipeline that still adapts to real-world floor plan updates.

Setup guide

Set up Magicplan MCP in LangChain

Prerequisites

  • Python 3.10+ installed
  • langchain-mcp-adapters + langgraph packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChain BaseTool objects.

  2. 2

    Connect via HTTP transport

    Use MultiServerMCPClient with "transport": "http" pointing to your Vinkius endpoint. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Create a ReAct agent

    Pass the discovered tools to create_react_agent() from LangGraph. The agent automatically routes Magicplan tool calls through the MCP protocol.

  4. 4

    Run with any LLM

    Swap ChatOpenAI for ChatAnthropic, ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.

agent.py
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI

async with MultiServerMCPClient({
    "magicplan-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 Magicplan 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 Magicplan. 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 Magicplan MCP in LangChain

You install `langchain-mcp-adapters` and use the `MultiServerMCPClient` to connect to our hosted MCP endpoint. Once connected, call `client.get_tools()` and pass those tools directly to your agent's constructor so it can run tools like `get_project_details` on demand.
Yes, you do this through LangSmith. Every time your LangChain agent calls `get_plan_measurements` or `get_project_floor_plan`, the latency, token count, and exact spatial payloads are logged in your tracing dashboard.
Absolutely. You can combine this server with a database or email server inside a single LangChain `MultiServerMCPClient`. This lets your agent pull room dimensions with `get_plan_measurements` and write them directly to an external database in one run.
By default, the adapter handles tools statelessly. If your agent needs to keep track of a specific project ID across multiple steps, you should manage that state inside your LangGraph state schema or use `client.session()` to keep context alive.
We run the server in a secure, ephemeral V8 Isolate sandbox that has zero-trust access. Your API keys, spatial measurements, and financial estimates are never stored on our servers, and we handle all authentication via a single secure token.

Start using the Magicplan MCP today

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

Built & Managed by Vinkius 30s setup 10 tools

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

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

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
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.