Skip to content
LangChain

step2gcode for LangChain

com.step2gcode/step2gcode

Turn STEP, DXF and SVG files into CNC milling and laser G-code for GRBL, LinuxCNC, Mach3 and more.

client:LangChain transport:streamable-http tools:10

Install step2gcode in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "step2gcode": {
            "transport": "streamable_http",
            "url": "https://www.step2gcode.com/api/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

step2gcode in other clients