agents-mcp-usage
Verified Safeby kikzi
Overview
Demonstrates a Model Context Protocol (MCP) server integration with various AI agent frameworks.
Installation
uv run run_server.py stdioEnvironment Variables
- GEMINI_API_KEY
- LOGFIRE_TOKEN
- OPENAI_API_KEY
Security Notes
Secrets are loaded from environment variables, which is good practice. The server exposes simple, well-defined tools (`add`, `get_current_time`, `get_greeting`). Inter-process communication uses `stdio` (local), not direct network exposure. The server is executed via `uv run` for example clients, which executes a local script. No 'eval' or obvious malicious patterns found in the provided code. Primary risks would involve supply chain attacks or more complex tools not shown.
Similar Servers
fastmcp
FastMCP is a Python framework for building and interacting with Model Context Protocol (MCP) servers. It provides client and server capabilities, enabling the creation of AI agents and services through definable tools, resources, and prompts. It supports various transports, authentication methods, logging, and background task execution, with strong integration for OpenAPI specifications.
mcp-servers
Provides a curated collection of Model Context Protocol (MCP) server configurations to enable AI agents to interact with various developer tools and services.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcpc
A framework for building agentic Model Context Protocol (MCP) servers by composing existing MCP tools. It enables the creation of portable, interoperable AI agents with flexible execution modes and robust logging/tracing capabilities.