
This repository contains a set of use cases demonstrating how to build AI-featured applications. - LangGraph + Next.js - MCP (Model Context Protocol)
This demo shows how to create a simple AI agent using LangGraph and integrate it into a Next.js application. LangGraph is a robust framework for building agent and multi-agent workflows. It provides flexibility to build complex logic and has great tooling for debugging (LangGraph Studio) and monitoring (LangSmith). Next.js is a popular framework for building web applications.
The demo includes the following capabilities:
There are some features that are not implemented yet: - Graph interruption (Human in the loop) in parallel nodes. - Send custom events from the same parallel nodes. E.g., when checking weather for multiple cities at the same time, it is not possible to distinguish between them on the client side.

This demo shows how to create and use the Model Context Protocol (MCP) in your application. The Model Context Protocol is a method for integrating external data sources or services into your LLM application. The demo includes the following:
- TypeScript and Python MCP servers implementations
- STDIO and SSE transport protocols
- Integraion MCP servers with LangGraph servers
You can use this project as the starting point for your projects:
- Clone the repository
- Adjust the AI agent logic in the graph.py file or create a brand new one
- Adjust the agent state in the agent-types.ts file
- In the client app, call agent using useLangGraphAgent hook in your components
Add .env file to the /agent directory and set your OPENAI_API_KEY (See .env.example)
cd agent/
poetry install
poetry run server
To run the AI server with MCP tools using the SSE protocol, first start the MCP servers. MCP servers using the STDIO protocol run automatically.
- Start Booking MCP demo server
cd mcp-servers/booking-mcp
bun install
npm start
cd mcp-servers/calandar-mcp
uv sync
uv run python calendar-mcp-server.py sse
--mcp flagcd agent/
poetry install
poetry run server --mcp
cd client/
npm install
npm run dev
Application will start at http://localhost:3000 by default
Get expert support with Akveo's AI development services.
$ claude mcp add ai-cookbook \
-- python -m otcore.mcp_server <graph>