Back to Home
thomkav icon

mcp-gateway

Verified Safe

by thomkav

Overview

Provides a robust security layer for Model Context Protocol (MCP) servers, offering authentication, session management, authorization, rate limiting, and audit logging for AI agent integrations with third-party APIs.

Installation

Run Command
pnpm build && node examples/vikunja/dist/index.js

Environment Variables

  • MCP_JWT_SECRET

Security Notes

The project is explicitly designed with a strong focus on security, adhering to Anthropic's MCP Security Best Practices and mitigating common OWASP API Top 10 risks. Key security features include: JWT-based authentication with HMAC-SHA256 signatures, UUIDv4 cryptographically random session IDs, per-user rate limiting, comprehensive audit logging, and secure storage of third-party API tokens in the OS keyring (Keychain on macOS, Credential Manager on Windows, libsecret on Linux). There is no observable use of `eval` or direct dangerous `child_process` calls for untrusted input. Hardcoded secrets are explicitly avoided in favor of environment variables or OS keyring storage, with clear instructions for production use. Input validation using Zod schemas is extensive in examples to prevent injection attacks.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2026-01-16

Tags

SecurityAuthenticationAuthorizationSession ManagementAPI Gateway