我在服务器上已经启动好了playwright,如下:
root@autotest:~# npx @playwright/mcp@latest --port 8090 --host 0.0.0.0
Listening on http://localhost:8090
Put this in your client config:
{
“mcpServers”: {
“playwright”: {
“url”: “http://localhost:8090/mcp”
}
}
}
但是在配置mcp的时候,怎么配置无论是sse,还是http,或者改成/sse 都是报错:[ErrorDetail(string=‘MCP configuration is invalid’, code=‘invalid’)]
你这个mcp的协议是什么呢?MaxKB 目前支持 SSE/Streamable HTTP 协议
