Back to Home
dyelland-lt icon

mcp-example

Verified Safe

by 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

Run Command
pnpm start:public

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-26

Tags

MCPClaude DesktopGraphQLHTTPSRick and Morty API