Business Assistant MCP

Business Assistant MCP

Multi-tenant, stateless MCP server for conversational business assistants, handling business resolution, knowledge search, and data mutations with human confirmation and security guardrails.

Category
Visit Server

README

Business Assistant MCP

Servidor MCP remoto, multiempresa y stateless para un asistente conversacional de negocios.

Responsabilidad

El MCP no contiene el LLM. Su función es:

  • Resolver el negocio correcto desde un widget público o una sesión administrativa.
  • Buscar conocimiento activo sin mezclar tenants.
  • Preparar altas, ediciones, borrados lógicos y restauraciones.
  • Exigir confirmación humana antes de persistir cambios.
  • Aplicar guardrails determinísticos.
  • Validar JWT, membresía y rol.
  • Mantener auditoría.

El agente se encarga de interpretar lenguaje natural y redactar. Supabase persiste y protege los datos.

Stack

  • Node.js 22+
  • TypeScript
  • @modelcontextprotocol/sdk v1.x
  • Streamable HTTP stateless con respuesta JSON
  • Express para desarrollo local
  • Supabase PostgreSQL + Auth + RLS
  • Zod 4
  • Vercel Functions

Inicio local

cp .env.example .env
npm install
npm run typecheck
npm test
npm run dev

Endpoints:

GET  http://localhost:3001/health
POST http://localhost:3001/mcp

Aplicar base de datos

npm install -g supabase
supabase login
supabase link --project-ref TU_PROJECT_REF
supabase db push

La migración principal está en:

supabase/migrations/202607100001_business_assistant_mcp.sql

Inspector MCP

Con el servidor local ejecutándose:

npm run inspect

Configurar estos headers en el Inspector:

X-Internal-Service-Key: valor de MCP_INTERNAL_SERVICE_KEY
X-Widget-Key: UUID público del widget
X-Client-Origin: http://localhost:3000

Para herramientas administrativas, agregar además:

Authorization: Bearer <SUPABASE_ACCESS_TOKEN_DEL_USUARIO>

Seguridad

  • MCP_INTERNAL_SERVICE_KEY solo lo conocen la API del agente y el MCP.
  • SUPABASE_SECRET_KEY solo existe en el MCP y Vercel.
  • El navegador nunca llama directamente al MCP.
  • Las contraseñas se envían desde el formulario a Supabase Auth, no al agente ni al MCP.
  • Las herramientas administrativas requieren JWT válido y rol suficiente.
  • Toda búsqueda filtra por business_id dentro de PostgreSQL.
  • El borrado es lógico.
  • El commit es transaccional mediante RPC.

GitHub: crear y subir a nucky1

Desde la raíz del proyecto:

git init
git add .
git commit -m "feat: initialize multi-tenant business assistant MCP"
git branch -M main

Con GitHub CLI autenticada:

gh auth login
gh repo create nucky1/business-assistant-mcp \
  --public \
  --source=. \
  --remote=origin \
  --push

Si el repositorio ya existe:

git remote add origin https://github.com/nucky1/business-assistant-mcp.git
git push -u origin main

Documentación

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured