frasma
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@frasmaPrepare a process brief for our customer onboarding workflow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
Related MCP server: MCP Ops Agent
Process brief (quote request)
The landing form and the chat widget both submit a process brief to POST /api/request-process-assessment. Francesco uses that brief to prepare a quote.
Fields: name, work email, optional company and role, process (required), optional current tools and volume.
When MONGODB_URI is set, the same endpoint upserts users, inserts leads, and logs project_brief_submitted.
Required environment variables
Create a .env.local file in the project root with:
# Destination email (defaults to francemazzi@gmail.com)
MEETING_NOTIFICATION_EMAIL=francemazzi@gmail.com
# Sender identity (defaults to SMTP_USER if using SMTP)
MEETING_FROM_EMAIL=francemazzi@gmail.com
# Sender display name (defaults to "Frasma")
MEETING_FROM_NAME=Frasma
# --- Option A (recommended): Gmail SMTP via App Password ---
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=francemazzi@gmail.com
SMTP_PASS=your_gmail_app_password
# --- Option B: Resend ---
# RESEND_API_KEY=your_resend_api_keyNotes:
In production you should set these variables in your hosting provider (e.g. Vercel).
If neither SMTP nor Resend is configured, the API returns an error and the popup shows it to the user.
Diagnostic chat agent
The website chat is a process-diagnostic assistant. It uses the bilingual, versioned knowledge base in lib/knowledge/ to:
identify operational bottlenecks;
collect workflow, systems, volumes, baseline metrics, data, and constraints;
map the need to Frasma capabilities;
prepare an editable process brief;
submit that brief to
POST /api/request-process-assessmentonly after explicit user review.
If the assistant times out, the widget shows the same process brief form, prefilled from the conversation history (no extra LLM call).
Each browser session stores a conversationId in localStorage. Messages are persisted server-side in MongoDB Atlas through the official Node.js driver. On reopen, the widget restores the conversation via GET /api/conversations/:id. If MongoDB is not configured, the chat keeps working in stateless mode.
Do not add prices, guaranteed savings, customer secrets, credentials, or personal data about third parties to the knowledge base or diagnostic examples.
Required OpenAI environment variable (chat agent + voice dictation on the process assessment form):
OPENAI_API_KEY=your_openai_api_key
# Optional; defaults to gpt-4o-mini
OPENAI_CHAT_MODEL=gpt-4o-mini
# Optional; defaults to whisper-1 (process assessment voice dictation)
OPENAI_WHISPER_MODEL=whisper-1Chat persistence (MongoDB Atlas)
Persistence is optional but recommended in production. When configured, the API stores:
conversation metadata (
lang,timezone,pagePath, conversion flags);user and assistant messages;
conversion events from the process brief (
project_brief_submitted).
Setup:
Create a free M0 cluster on MongoDB Atlas (recommended region: Frankfurt or Ireland).
Create a database user with read/write access.
In Network Access, allow
0.0.0.0/0(required for Vercel serverless).Copy the connection string and set these environment variables locally and on Vercel:
MONGODB_URI=mongodb+srv://user:pass@cluster.mongodb.net/frasma_chat?retryWrites=true&w=majority
CHAT_RETENTION_DAYS=90Indexes and a TTL policy on conversations.expiresAt are created automatically on first use.
Without MONGODB_URI, POST /api/chat and the form APIs continue to work; persistence calls are skipped silently.
Verify the connection:
npm run check:mongodb
curl http://localhost:3000/api/statusExpected when configured correctly:
{
"persistence": { "configured": true, "connected": true }
}A successful chat response also includes conversationId.
MongoDB troubleshooting
Network Access on Atlas must include
0.0.0.0/0for Vercel serverless.The URI must include the database name:
...mongodb.net/frasma_chat?...If you reset the Atlas user password, update both
.env.localand Vercel, then redeploy.URL-encode special characters in the password (
@,#,%, etc.).After changing Vercel env vars, trigger a new deployment; env changes are not applied to existing deployments automatically.
AI discovery and public MCP
Public discovery surfaces for agents and humans:
Resource | URL |
Agents hub | |
Services hub | |
Case studies | |
llms.txt | |
llms-it.txt | |
Home markdown |
|
OpenAPI | |
API catalog | |
Agent skills | |
MCP (Streamable HTTP) |
MCP tools (read-only + handoff)
get_frasma_profilesearch_frasma_knowledgeget_diagnostic_frameworkprepare_diagnostic_summary— validates a diagnosis and returns handoff URLs; never sends emailprepare_project_brief— validates the process brief used for a quote; never sends email
Example Cursor / Claude Desktop remote config:
{
"mcpServers": {
"frasma": {
"url": "https://www.frasma.org/api/mcp"
}
}
}For stdio-only clients:
{
"mcpServers": {
"frasma": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://www.frasma.org/api/mcp"]
}
}
}Directory listing (after production deploy)
Confirm
/for-agents,/servizi,/llms.txt,/llms-it.txt, and/api/mcprespond in production.Smoke:
curl -H 'Accept: text/markdown' https://www.frasma.org/andhttps://www.frasma.org/servizi/ddt-erp, plus an MCPinitialize+tools/listagainst/api/mcp.Submit the server to relevant MCP directories with the short description from
/for-agents(mention the services hub).Keep the agent-skills digest in sync when
SKILL.mdchanges (shasum -a 256).
Quality checks:
npm run lint
npm test
npm run buildLearn More
To learn more about Next.js, take a look at the following resources:
Next.js Documentation - learn about Next.js features and API.
Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to audit and analyze Zendesk instances through a read-only MCP interface, providing tools for triggers, automations, analytics, and cross-reference queries.74MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for operations desk tasks including calendar availability, customer lookup, quote calculation, and notification sending. Includes an internal agentic orchestrator that consumes the same MCP tools via protocol.MIT
- AlicenseAqualityFmaintenanceProvides 14 MCP tools for AI agent infrastructure, enabling knowledge base queries, skill search, handoffs, blueprint validation, trust scoring, identity verification, SLA validation, and compliance checks.22MIT

CaseMargin MCP Serverofficial
AlicenseAqualityAmaintenanceExposes support case reasoning tools — generate structured case briefs and check escalation readiness from any MCP-compatible AI client.24971MIT
Related MCP Connectors
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Help desk for agents. Search questions and answers first. Read-only MCP.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/francemazzi/frasma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server