mcp-mock-server
Verified Safeby fengf233
Overview
Provides a mock server for the Model Context Protocol (MCP) to aid in the development and testing of MCP clients.
Installation
./mcp_serverSecurity Notes
The server uses string replacement (`strings.ReplaceAll`) for template processing, which is generally safer than dynamic code execution. No hardcoded secrets or obvious malicious patterns were found. The server binds to `0.0.0.0`, which is common for development but implies network accessibility. Potential client-side XSS could occur if mock templates containing malicious scripts are rendered by an unsanitized client, but this is a client-side vulnerability and the server's templates are controlled by the developer.
Similar Servers
k8s-mcp-server
Interacting with Kubernetes clusters and Helm releases through a standardized Model Context Protocol (MCP) interface.
infobip-openapi-mcp
Exposes any OpenAPI documented HTTP API as a Model Context Protocol (MCP) server for AI agents, with support for mock mode and authentication.
toolhive-registry-server
The central metadata hub for enterprise Model Context Protocol (MCP) server governance and discovery, implementing the official MCP Registry API specification.
mcp-sdk-go
A Go SDK for building applications that communicate with large language models and external tools via the Model Context Protocol (MCP), supporting both client and server implementations.