Back to Home
Emanskiez icon

your-digital-twin-mcp

Verified Safe

by Emanskiez

Overview

A Model Context Protocol (MCP) server that provides RAG-powered digital twin assistant functionality using Upstash Vector and Groq, answering questions about a professional profile.

Installation

Run Command
pnpm mcp

Environment Variables

  • UPSTASH_VECTOR_REST_URL
  • UPSTASH_VECTOR_REST_TOKEN
  • GROQ_API_KEY
  • GMAIL_USER
  • GMAIL_APP_PASSWORD

Security Notes

The core RAG and MCP server logic (`mcp-server.ts`, `lib/rag.ts`) uses environment variables for API keys and includes input validation, mitigating common risks. However, the `app/api/send-email/route.ts` endpoint directly embeds user-provided `name`, `contact`, and `message` into an HTML email body without explicit sanitization, posing a potential Cross-Site Scripting (XSS) vulnerability for the email recipient. The `populate-db.ts` script contains `index.reset()`, which could wipe the database if executed carelessly.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens2300
Stars0
Forks0
Last Update2025-12-02

Tags

RAGDigital TwinAI AssistantMCPNext.js