mymcp_backend
by ZHLOVEYY
Overview
A Go backend server for managing and exposing MCP (Multi-Agent Communication Protocol) services, including dynamic registration and execution of user-defined Go functions as MCP tools.
Installation
go run main.goSecurity Notes
The server allows dynamic execution of user-provided Go source code via the Yaegi interpreter in the `/api/functomcp/codetrial` and `/api/functomcp/register` endpoints. While Yaegi is designed for safe Go interpretation, executing arbitrary user code from external sources (even with AST manipulation and import control) presents significant security risks, including potential interpreter vulnerabilities, resource exhaustion attacks, or unintended side effects if the sandboxing mechanism can be bypassed. Additionally, `service/pkg/mid/mcpAuth.go` contains a hardcoded `Authorization: 'xxxx'` value which, if used in a production setup, could lead to severe authentication bypasses for SSE connections.
Similar Servers
ig-mcp-server
A Go-based server application likely implementing a specific network protocol or game logic, suggested by 'MCP Server' naming and project structure.
toolhive-registry-server
The ToolHive Registry Server acts as a central metadata hub for enterprises to curate, discover, and govern Model Context Protocol (MCP) servers, providing a unified catalog from various sources with built-in security and auditability.
osmmcp
A Multi-Cloud Platform (MCP) server, likely developed in Go, designed for managing and standardizing transport across various cloud services, potentially including AI integration (Claude) and geographical data processing.
ops-mcp-server
Provides AI assistants with a unified Model Context Protocol (MCP) interface to query and interact with operational data from Kubernetes, Prometheus, Elasticsearch, and Jaeger.