Skip to content

Convex MCP and Docker containers #77

Closed
@manchuwook

Description

@manchuwook

Is there a way to pass the CONVEX_SELF_HOSTED_URL and CONVEX_SELF_HOSTED_ADMIN_KEY to the MCP as a parameter? I tried using

        "convex": {
            "command": "npx",
            "args": [
                "convex@latest",
                "mcp",
                "start",
                "--project-dir",
                "${workspaceFolder}",
                "--env-file",
                "${workspaceFolder}/.env.local",
            ],
            "envFile": "${workspaceFolder}/.env.local"
        }

But it still doesn't seem to pick it up or authorize. It keeps asking me to run npx convex dev

I am running convex as a docker image, and I can connect to it through a browser, just not through the MCP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions