Back to Home
Ashrokss icon

Custom-Mcp-with-Agno

Verified Safe

by Ashrokss

Overview

Develop a custom Model Context Protocol (MCP) server and client using the Agno agent framework to integrate custom tools like web search into AI agents.

Installation

Run Command
python mcp_client.py

Environment Variables

  • GROQ_API_KEY
  • SERPER_API_KEY

Security Notes

The primary security risk lies in the explicit instruction to directly embed `GROQ_API_KEY` and `SERPER_API_KEY` into `config/config.py`. If this file is committed to a public repository, these sensitive API keys will be exposed. Users must manually ensure this file is not tracked by Git or use a more secure secrets management method. The `mcp_server.py` makes external HTTP requests using `httpx` to the Serper API, handling standard network communication. No `eval` or obfuscation is found. The client directly executes `python mcp_server.py` as a subprocess to start the tool server, which is safe in this controlled context, but generally highlights command execution capabilities.

Similar Servers

Stats

Interest Score30
Security Score6
Cost ClassMedium
Avg Tokens300
Stars1
Forks0
Last Update2025-11-28

Tags

MCPAgnoAI AgentToolsWeb Search