Overview
What is Mcp Agents Basic?
This repository provides a basic MCP (Model Context Protocol) server and agent setup. It runs an MCP server using fastmcp and an MCP agent using gradio and smolagents, all managed with the uv package manager. It is intended for developers who want a minimal starting point for MCP-based tool interaction.
How to use Mcp Agents Basic?
Install dependencies with uv sync. Start the MCP server by running fastmcp run server.py. Start the interactive MCP agent by running uv run client.py.
Key features of Mcp Agents Basic
- Uses
fastmcpto run the MCP server - Integrates
gradiofor a web-based user interface - Employs
smolagentsfor agent logic - Managed entirely with the
uvpackage manager - Single repository for both server and client
Use cases of Mcp Agents Basic
—
FAQ from Mcp Agents Basic
How do I install Mcp Agents Basic?
Run uv sync to install all required dependencies.
How do I start the MCP server?
Run fastmcp run server.py to launch the MCP server.
How do I start the MCP agent?
Run uv run client.py to start the agent with Gradio and smolagents.
What technologies does the MCP agent use?
The agent uses gradio for the interface and smolagents for agent logic.