Back to Home
emergent-lab icon

mcp-playground

Verified Safe

by emergent-lab

Overview

A web-based developer tool for testing, inspecting, and debugging Model Context Protocol (MCP) servers, supporting OAuth integration, request logging, and interactive execution of tools, resources, and prompts.

Installation

Run Command
pnpm dev:all

Environment Variables

  • DATABASE_URL
  • BETTER_AUTH_SECRET
  • BETTER_AUTH_URL
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • RESEND_API_KEY
  • ENCRYPTION_KEY
  • NEXT_PUBLIC_BASE_URL
  • SKIP_ENV_VALIDATION
  • IP_HASH_SALT
  • VERCEL_URL
  • PORT

Security Notes

The project demonstrates strong security practices for a web application. It uses Node.js's `crypto` module for AES-256-GCM encryption of sensitive data like OAuth tokens and client secrets, with the encryption key securely loaded from environment variables and validated for correct format. Sensitive data in logs (headers like 'Authorization', 'Cookie', and body fields like 'password', 'token') are sanitized and redacted. Environment variables are strictly validated using Zod via `@t3-oss/env-nextjs`. Security headers are configured in `next.config.ts` to prevent common web vulnerabilities like XSS and clickjacking. PII is configured to be sent to Sentry, which is a conscious operator choice rather than a code vulnerability. The markdown rendering component likely uses `isomorphic-dompurify` for XSS protection.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassMedium
Avg Tokens300
Stars7
Forks1
Last Update2025-12-13

Tags

Web-BasedDeveloper ToolModel Context Protocol (MCP)OAuthRequest Logging