We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IBM/ibmi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/bin/bash
# LangGraph Studio Quick Setup Script
set -e
echo "π LangGraph Studio Setup for IBM i Agents"
echo "=========================================="
# Check if we're in the right directory
if [ ! -f "langgraph.json" ]; then
echo "β Error: langgraph.json not found"
echo " Please run this script from agents/frameworks/langchain/"
exit 1
fi
echo ""
echo "π¦ Step 1: Setting up Python environment..."
# Check if virtual environment exists
if [ ! -d ".venv" ] && [ ! -d "venv" ]; then
echo " Creating virtual environment..."
uv venv
echo " β
Virtual environment created"
fi
echo " Installing dependencies..."
uv pip install langgraph langchain langchain-core langchain-openai langchain-community
uv pip install langchain-mcp-adapters
uv pip install langgraph-checkpoint-sqlite
uv pip install "langgraph-cli[inmem]"
uv pip install langchain-ollama
echo "β
Dependencies installed"
echo ""
echo "π Step 2: Creating directories..."
mkdir -p tmp
mkdir -p src/ibmi_agents/agents
echo "β
Directories created"
echo ""
echo "βοΈ Step 3: Environment setup..."
if [ ! -f ".env" ]; then
if [ -f ".env.example" ]; then
cp .env.example .env
echo "β
Created .env from .env.example"
echo "β οΈ IMPORTANT: Edit .env and add your OPENAI_API_KEY"
else
echo "β οΈ Warning: .env.example not found"
fi
else
echo "β
.env already exists"
fi
echo ""
echo "π Step 4: Checking IBM i MCP Server..."
if curl -s -f http://127.0.0.1:3010/mcp > /dev/null 2>&1; then
echo "β
IBM i MCP Server is running"
else
echo "β οΈ IBM i MCP Server not detected at http://127.0.0.1:3010/mcp"
echo " Start it with: npm run dev (from project root)"
fi
echo ""
echo "β
Setup Complete!"
echo ""
echo "π Next Steps:"
echo " 1. Edit .env and add your OPENAI_API_KEY"
echo " nano .env"
echo ""
echo " 2. Ensure IBM i MCP Server is running:"
echo " cd /path/to/ibmi-mcp-server && npm run dev"
echo ""
echo " 3. Start LangGraph Studio:"
echo " langgraph dev"
echo ""
echo "π― Quick Commands:"
echo " langgraph dev # Start Studio"
echo " langgraph dev --debug # Start with debug logging"
echo " langgraph dev --port 8080 # Use custom port"
echo ""
echo "π Documentation: See LANGGRAPH_STUDIO.md for details"