Langraph Tools Integration icon

Langraph Tools Integration

Integrates Model Context Protocol endpoint tools into a Langraph tool node for AI workflows.

About

This project provides an example of how to integrate Model Context Protocol (MCP) endpoint tools into a Langraph tool node, enabling the creation of AI-powered workflows. The example features a simple graph with 'agent' and 'tool' nodes. It leverages the `@modelcontextprotocol/server-brave-search` MCP Server sample, requiring Brave Search API key and allowing for easy integration with AI providers such as Anthropic. The multi_server branch showcases a more advanced implementation utilizing multiple MCP servers simultaneously.

Key Features

  • 34 GitHub stars
  • Configurable AI provider (defaults to Anthropic)
  • Uses Brave Search through the `@modelcontextprotocol/server-brave-search` sample
  • Integrates MCP tools into Langraph workflows
  • Example implementation with 'agent' and 'tool' nodes
  • Supports multiple MCP servers (multi_server branch)

Use Cases

  • Building AI agents with search capabilities
  • Integrating various MCP services into a single workflow
  • Automating tasks using MCP tools within Langraph
Craft Better Prompts with AnyPrompt