Skip to content

MCP error -32000: Unknown method: initialize #9

@sinjie2008

Description

@sinjie2008

I retest the MCP, using the vscode, and facing below error

"MCP error -32000: Unknown method: initialize"

here is what I tested
npm install
npm run build
and MCP at cline

"woocommerce": {
  "command": "node",
  "args": ["....\\Desktop\\woocommerce-mcp-server\\build"],
  "env": {
    "WORDPRESS_SITE_URL": "http://localhost/wordpress/",
    "WOOCOMMERCE_CONSUMER_KEY": "ck_61a5ec6f7edadfb93070f58ab9ca8edf8e643617",
    "WOOCOMMERCE_CONSUMER_SECRET": "cs_2a10898acc1bcc31d2e90f669af9ea253a2ceee2",
    "WORDPRESS_USERNAME": "admin",
    "WORDPRESS_PASSWORD": "admin123"
  }
}

Needed your help,

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions