mcp
v0.2.1MCP server for Florentine.ai - Natural language to MongoDB aggregations
Values you need
| Variable | What it is | |
|---|---|---|
FLORENTINE_TOKEN | required secret | Your Florentine.ai API key, get it from https://florentine.ai/dashboard |
LLM_SERVICE | 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_KEY | optional secret | Your API key for the LLM service (must only be provided if you did not set it in your Florentine.ai account) |
SESSION_ID | optional | Session ID for maintaining server-side context across requests |
RETURN_TYPES | optional | Stringified JSON array of return types for the response |
REQUIRED_INPUTS | optional | Stringified JSON array of values for required inputs keys |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'FLORENTINE_TOKEN=<FLORENTINE_TOKEN>' -- npx -y --package=@florentine-ai/mcp@0.2.1 florentine --mode staticAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@florentine-ai/mcp@0.2.1",
"florentine",
"--mode",
"static"
],
"command": "npx",
"env": {
"FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@florentine-ai/mcp@0.2.1",
"florentine",
"--mode",
"static"
],
"command": "npx",
"env": {
"FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "FLORENTINE_TOKEN",
"id": "florentine-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@florentine-ai/mcp@0.2.1",
"florentine",
"--mode",
"static"
],
"command": "npx",
"env": {
"FLORENTINE_TOKEN": "${input:florentine-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@florentine-ai/mcp@0.2.1", "florentine", "--mode", "static"]
env = { "FLORENTINE_TOKEN" = "<FLORENTINE_TOKEN>" }For AI agents
- Ask the user for: FLORENTINE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: florentine_list_collections, florentine_ask.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json