custom-mcp-server
Verified Safeby aakankshagupta18
Overview
A learning project demonstrating how to build a Model Context Protocol (MCP) server with basic tools and Google ADK integration.
Installation
node dist/index.jsEnvironment Variables
- GOOGLE_ADK_ENABLED
Security Notes
The File Operations Tool includes path validation to prevent directory traversal and disallow absolute paths, which is a good security practice. The server communicates via stdio, reducing direct network exposure. However, the `workspaceRoot` for file operations defaults to `process.cwd()`, meaning improper deployment in a sensitive directory could still pose risks. Error messages are not uniformly sanitized across all tools, potentially exposing more detail than intended during failures.
Similar Servers
boilerplate-mcp-server
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
mcp-typescript-template
This project provides a foundational TypeScript template for developing remote Model Context Protocol (MCP) servers with robust tooling and best practices.
workshop-mcp-servers
Demonstrates building Model Context Protocol (MCP) servers in TypeScript and Java for integrating with developer platforms and services like GitHub, specifically for a workshop using Visual Studio Code and GitHub Copilot.
mcp-typescript-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.