Skip to content

cannot update card from VS Code #26

@yellowtailfan

Description

@yellowtailfan

The read commands seem to work fine, but the AI says the write commands are broken. Write commands via the API work fine using the same API key.

Here's the AI complaint:

Unfortunately, I've confirmed the MCP metabaseWrite server tools are fundamentally broken:

What worked:

✅ copy_card created a new card (ID unknown, named "Copy of Order Volume Quarterly - Duplicate")
What doesn't work:

❌ update_card - schema bug prevents updating any properties
❌ create_card - same schema bug
❌ list_cards - schema bug prevents passing collection_id
The problem:
All write operations that need to pass data have:

"additionalProperties": false,
"properties": {}

This means they accept zero properties, making them unusable.

I'm using:

  • VS Code
  • Github Copilot Chat
  • Claude Sonnet 4.5

This is my mcp.json:

{
  "servers": {
    "metabaseRead": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cognitionai/metabase-mcp-server", "--read"],
      "envFile": "${workspaceFolder}/scripts/metabase/.env"
    },
    "metabaseWrite": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cognitionai/metabase-mcp-server", "--write"],
      "envFile": "${workspaceFolder}/scripts/metabase/.env"
    }
  }
}

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