mcp
MCP server by florentine-ai Community
Florentine.ai MCP server turns natural language questions into queries on MongoDB and MySQL data. It is built for developers who add database querying to their own AI agents or desktop apps.
Install mcp
Built from the published package, never by AI.
claude mcp add mcp -e FLORENTINE_TOKEN=YOUR_FLORENTINE_TOKEN -- npx -y @florentine-ai/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp": {
"env": {
"FLORENTINE_TOKEN": "YOUR_FLORENTINE_TOKEN"
},
"args": [
"-y",
"@florentine-ai/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp": {
"env": {
"FLORENTINE_TOKEN": "YOUR_FLORENTINE_TOKEN"
},
"args": [
"-y",
"@florentine-ai/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp": {
"env": {
"FLORENTINE_TOKEN": "YOUR_FLORENTINE_TOKEN"
},
"args": [
"-y",
"@florentine-ai/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp --env FLORENTINE_TOKEN=YOUR_FLORENTINE_TOKEN -- npx -y @florentine-ai/mcp{
"mcpServers": {
"mcp": {
"env": {
"FLORENTINE_TOKEN": "YOUR_FLORENTINE_TOKEN"
},
"args": [
"-y",
"@florentine-ai/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp npx -y @florentine-ai/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp block.
About
The Florentine.ai MCP server lets an AI assistant query MongoDB and MySQL data in natural language. The agent forwards a question to the server, which turns it into a database query and returns the results to the agent for further processing.
It offers a static mode for existing MCP clients such as Claude Desktop and a dynamic mode for custom clients, where request parameters can be injected per call. It also supports secure data separation for multi-tenant use, automated schema exploration, semantic vector search with automated embeddings, advanced lookups, and key exclusion. It is aimed at developers building custom AI agents or AI desktop apps that need to query their own database.
Written from the project's README and checked against it.
Tools it gives your assistant
florentine_list_collectionsLists all active collections or tables that can be queried, with descriptions, keys and value types.florentine_askReceives a question and returns a query, query result or answer, depending on the return types setting.
What you need
- A Florentine.ai account
- A Florentine.ai API key
- A connected database with at least one analyzed and activated collection or table
- Node.js v18.0.0 or later
- An API key for OpenAI, Google, Anthropic or Deepseek
| Setting | Needed | What it is |
|---|---|---|
FLORENTINE_Environment variable, secret | Required | Your Florentine.ai API key, get it from https://florentine.ai/dashboard |
LLM_Environment variable | Optional | The LLM service to use, one of 'openai', 'anthropic', 'google' or 'deepseek' (must only be provided if you did not set it in your Florentine.ai account) |
LLM_Environment variable, secret | Optional | Your API key for the LLM service (must only be provided if you did not set it in your Florentine.ai account) |
SESSION_Environment variable | Optional | Session ID for maintaining server-side context across requests |
RETURN_Environment variable | Optional | Stringified JSON array of return types for the response |
REQUIRED_Environment variable | Optional | Stringified JSON array of values for required inputs keys |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List the collections I can query in my Florentine.ai account.
- Ask my MongoDB data how many orders were placed last month.
- Which customers bought the most products this quarter?
Good to know
- Uses a bring your own key model, so you must supply your own LLM API key.
- Only collections or tables that are analyzed and activated can be queried.
- Dynamic mode needs you to override the florentine_ask tool in your own client.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
mcp: common questions
Does Florentine.ai MCP server work with MySQL as well as MongoDB?
Yes. The source describes natural language querying for both MongoDB and MySQL data.
Which LLM providers can I use with it?
The source lists OpenAI, Google, Anthropic and Deepseek. You can save your key in your Florentine.ai account or pass it in the MCP server config.
What is the difference between static and dynamic mode?
Static mode is for existing external MCP clients such as Claude Desktop, with parameters set in the config. Dynamic mode is for your own custom MCP client, where parameters are passed to the florentine_ask tool for each request.
How do I install mcp?
In Claude Code run claude mcp add mcp -e FLORENTINE_TOKEN=YOUR_FLORENTINE_TOKEN -- npx -y @florentine-ai/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp the official server?
mcp is a community project by florentine-ai, not verified by a company domain.
Is mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp safe to use?
It scores 69 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
