mcp-example
Verified Safeby dyelland-lt
Overview
A Model Context Protocol (MCP) server that acts as a bridge between Claude Desktop and the Rick and Morty GraphQL API, demonstrating MCP functionality with HTTPS transport.
Installation
pnpm start:publicEnvironment Variables
- PORT
- HOST
Security Notes
The server uses HTTPS with locally generated SSL certificates via mkcert, providing TLS security. CORS is broadly enabled (`origin: true`), which is common for development but would ideally be restricted in a production environment. There are no direct uses of `eval`, obfuscation, or hardcoded sensitive API keys (the Rick and Morty API is public). The `start-public.sh` script handles ngrok, which exposes localhost publicly, but this is an explicit action by the user and clearly documented for remote access to Claude Desktop. The `http-server.ts` includes a helpful warning about regenerating SSL certificates for non-localhost IP access, showing security awareness.
Similar Servers
mcp-typescript-template
This project provides a foundational TypeScript template for developing remote Model Context Protocol (MCP) servers with robust tooling and best practices.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
mcp-typescript-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.
mcp_server
This server implements the Model Context Protocol (MCP) to expose developer-defined tools as a HTTP API, specifically demonstrating a task creation tool.