Back to Home
dtrog icon

gpg-webservice

Verified Safe

by 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

Run Command
npm run build && npm run start:http

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-03

Tags

GPGPGPAI AgentCryptographyModel Context Protocol