gpg-webservice
Verified Safeby dtrog
Overview
The GPG Webservice MCP Adapter allows AI agents (like ChatGPT) to perform GPG cryptographic operations (sign, verify, encrypt, decrypt) by dynamically exposing them as MCP tools and acting as a proxy to a Flask REST API.
Installation
npm run build && npm run start:httpEnvironment Variables
- GPG_API_BASE
- GPG_API_KEY
- MCP_PORT
- MCP_HOST
- NODE_ENV
- LOG_LEVEL
- TLS_CERT
- TLS_KEY
- NODE_TLS_REJECT_UNAUTHORIZED
Security Notes
The project demonstrates a strong focus on security, particularly in the core Flask backend with features like Argon2id password hashing, AES-256-GCM encryption for private keys, PBKDF2-HMAC-SHA256 for key derivation, and process isolation for GPG operations. For the MCP server specifically, it enables CORS with `origin: '*'` and `NODE_TLS_REJECT_UNAUTHORIZED=0` for internal Docker communication during development. While these are documented as development defaults and production hardening (e.g., via Caddy reverse proxy) is detailed, they are significant security risks if directly deployed to a public-facing production environment without modification. The server itself is a proxy and does not directly handle private keys, mitigating some risks. Extensive security documentation and testing procedures are provided, indicating a strong security-conscious development approach.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
mcp-context-forge
Converts web content (HTML, PDF, DOCX, etc.) and local files from a URL into high-quality Markdown format. It supports multiple conversion engines, content optimization, batch processing, and image handling.
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.