Skip to content
VS Code

mcp for VS Code

io.github.florentine-ai/mcp

MCP server for Florentine.ai - Natural language to MongoDB aggregations

client:VS Code transport:stdio runtime:npm

Install mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "florentine-token",
      "description": "FLORENTINE_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "llm-service",
      "description": "LLM_SERVICE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "llm-key",
      "description": "LLM_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "session-id",
      "description": "SESSION_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "return-types",
      "description": "RETURN_TYPES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "required-inputs",
      "description": "REQUIRED_INPUTS",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "${input:florentine-token}",
        "LLM_SERVICE": "${input:llm-service}",
        "LLM_KEY": "${input:llm-key}",
        "SESSION_ID": "${input:session-id}",
        "RETURN_TYPES": "${input:return-types}",
        "REQUIRED_INPUTS": "${input:required-inputs}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp in other clients