Back to Home
Preetnagda icon

mcp-lab

Verified Safe

by Preetnagda

Overview

A Next.js dashboard for registering and testing HTTP-based Model Context Protocol (MCP) servers, allowing manual tool interaction or LLM-orchestrated chat experiences.

Installation

Run Command
npx sst dev

Environment Variables

  • DATABASE_URL
  • NEXTAUTH_SECRET
  • EMAIL_API_KEY
  • EMAIL_FROM
  • ENCRYPTION_KEY
  • NEXTAUTH_URL
  • AUTH_TRUST_HOST
  • NODE_ENV

Security Notes

The application demonstrates strong security practices, utilizing NextAuth.js for robust authentication and session management, including magic links and Drizzle adapter. Data access is strictly user-scoped across API routes, mitigating unauthorized access. Drizzle ORM prevents SQL injection vulnerabilities by default. OAuth 2.0 authorization code flow with PKCE and state/nonce protection is implemented via `oauth4webapi`. Sensitive API keys and OAuth tokens are encrypted at rest using AES-256-GCM with a key securely managed by SST secrets. Input validation for tool arguments is enhanced by `@rjsf/validator-ajv8` when JSON schemas are provided. A minor note is the hardcoded default `DATABASE_URL` in `sst.config.ts` for local development, which is overwritten by secrets in deployed environments.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens750
Stars0
Forks0
Last Update2025-12-21

Tags

Next.jsAILLMDashboardModel Context ProtocolServerless