eino-mcp-agent
Verified Safeby shenghuofei
Overview
An intelligent chat agent built on CloudWeGo Eino, designed to integrate with various tools via the Model Context Protocol (MCP), exemplified by a file counting utility.
Installation
go run main.goEnvironment Variables
- OPENAI_API_KEY
- GITHUB_TOKEN
Security Notes
The project uses standard libraries for file operations and JSON parsing, avoiding direct 'eval' or similar dangerous functions. Hardcoded secrets are avoided by using environment variables (e.g., OPENAI_API_KEY, GITHUB_TOKEN). The primary risks involve potential for LLM-generated malicious inputs to tools if not properly constrained, or if the configuration (config.yaml) were to specify a malicious command for an MCP server, which is a configuration-level risk rather than a code vulnerability.
Similar Servers
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
MCP-Agent
An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.
mcp-cli-ent
Orchestrates Model Context Protocol (MCP) servers and their tools on-demand for AI agents, without loading tool definitions directly into the agent's context window.