Mentioned as an optional framework that could be used to implement the agent functionality, though not directly used in the example implementation.
Used to power the ReAct agent for AI-driven interactions, allowing API calls to compatible models for meeting room booking functionalities.
Implements the ReAct (Reasoning and Acting) agent pattern for structured tool use, enabling methodical thought-action-observation cycles for meeting room booking workflows.
简介
该项目实现了一个入门的MCP Client和MCP Server交互的功能。 MCP Client中使用了React Agent模式来实现工具的调用。 MCP Server实现了两种启动方式即(stdio和sse),该例子中使用了sse的方式。
创建Agent
使用ReAct模式创建一个Agent,也可以使用langchain等框架实现,我这里没有使用AI框架。 在项目目录下创建‘react_agent.py’文件
创建一个MCP Server
在项目目录下创建一个新的文件‘meeting_room.py’,粘贴下面的内容。 MCP Server使用sse方式的情况,需要在MCP Client启动前启动,所以可以使用‘python meeting_room.py sse 8001’启动服务。
创建一个MCP Server管理类
在项目目录创建‘mcp_client.py’文件
启动MCP Client
使用命令启动agent,并从控制台观察输出。
控制台输出
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A simple MCP server that enables meeting room booking through an AI assistant, supporting room availability checks and booking operations with React Agent pattern for tool calling.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that helps AI assistants manage expense-sharing for social events, enabling the creation of gatherings, tracking of expenses, and calculation of fair reimbursements among participants.Last updated -Apache 2.0
- AsecurityAlicenseAqualityAn MCP server that enables AI agents to interact with Modal, allowing them to deploy apps and run functions in a serverless cloud environment.Last updated -73MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to manage meeting data, including creating meeting bots, searching transcripts, and organizing calendar events.Last updated -20MIT License
- -securityFlicense-qualityThe Google Meet MCP Server enables AI agents to create, manage, and retrieve Google Meet meetings. Built on the Model Context Protocol, it exposes tools for scheduling, updating, and deleting meetings, making it easy to integrate Google Meet functionalitiesLast updated -