How to Use the LangGraph Cloud (Stateful AI Agents) MCP in Claude Code
Orchestrate and manage stateful LangGraph agents directly from your terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect LangGraph Cloud (Stateful AI Agents) MCP to Claude Code
Create your Vinkius account to connect LangGraph Cloud (Stateful AI Agents) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run Stateful Agents in CI/CD
This is built for automating agent workflows in headless environments. Your script can call `create_thread` to get a new thread ID, then trigger a job on it with `create_run`. It's designed for CI/CD. Build a polling loop in your shell script using `get_run` to wait for completion. Once it's done, your GitHub Action or Jenkins job can proceed to the next stage. It makes stateful agents just another part of your pipeline.
Manage Agent State with Shell Commands
Treat your agent's memory like any other data source. The `get_thread_state` tool returns a JSON object that you can parse and inspect with `jq`. It's completely scriptable. If you spot an error, craft a new JSON payload and pipe it to `update_thread_state` to fix it on the fly. You can use `list_threads` and `list_runs` to get a machine-readable view of your entire agent fleet's activity.
Automate Monitoring and Cleanup
Run this MCP Server in a cron job to keep your LangGraph instance healthy. A simple shell script can call `list_runs` to find stalled executions, then use `cancel_run` to terminate them. This stops them from wasting money. Another script could periodically call `list_crons` to verify that all your scheduled agent tasks are correctly configured. It's practical, backend-focused system administration for your agents.
Set up LangGraph Cloud (Stateful AI Agents) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seelanggraph-cloud-stateful-ai-agents-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest LangGraph Cloud (Stateful AI Agents) transactions." It will automatically discover and invoke the available LangGraph Cloud (Stateful AI Agents) tools.
claude mcp add --transport http langgraph-cloud-stateful-ai-agents-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp 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 LangGraph Cloud (Stateful AI Agents) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the LangGraph Cloud (Stateful AI Agents) MCP today
We host it, we monitor it, we maintain it. You just paste one token.