Tag: agent
All the articles with the tag "agent".
-
MCP Study #2 — Connecting My MCP Server to Claude Desktop · Tool Calls + Approval UX
Actually connecting the energy-management MCP server I built yesterday to Claude Desktop. From finding claude_desktop_config.json (Settings → Developer → Edit Config) → registering the server → restarting → checking the connectors menu → asking 'show me the factory line list' and watching Claude call the tool with the 'Always Allow/Deny' approval UX. Question raised: how do you use RAG and MCP together? (Answer: wrap RAG in an MCP server)
-
MCP Study #1 — Getting Started with Model Context Protocol · First Call with stdio Server + Inspector
Starting to study MCP (Model Context Protocol) today. It's a standard protocol created by Anthropic that standardizes how LLMs access external systems. Comparing it with Tool Use → building my first MCP server (say_hello / add_numbers) with the Python SDK → verifying the stdio connection with MCP Inspector → building a fake energy management server that connects with FEMS. Connection failure due to venv python.exe path issue + fix.
-
LangGraph Study #3 — Human-in-the-Loop (Approving Risky Tools) · Checkpoints and the Interrupt Mechanism
When an agent automatically calls risky tools like file deletion, sending emails, or payments, things go wrong. Implementing the HITL pattern using LangGraph's checkpoint + Interrupt mechanism to get human approval right before a risky tool call. An unexpected trap: the LLM's own safety guard can block execution before it ever reaches HITL. How to separate the system prompt from the HITL gate.