agentic-mcp
MCP (Model Context Protocol) client for the Agentic Framework.
Features
- MCP Client: Connect to MCP servers
- Tool Execution: Call MCP tools from agents
- Code Mode: Agents write code that calls MCP tools (98.7% token reduction)
- Async-first: Built on Tokio
Installation
[]
= "0.1"
Quick Start
use ;
async
Code Mode
Instead of passing tool schemas to LLMs (expensive), agents write Python code:
# Agent writes this code, executed in sandbox
=
Benefits:
- 98.7% token reduction vs function calling
- More complex tool compositions
- Agents can use loops, conditions, error handling
License
MIT