Skip to content

Start server fails with error :MCP server playwright-mcp has tools with invalid parameters which will be omitted. #109

Open
@manojatlas

Description

@manojatlas

Start server fails with error :MCP server playwright-mcp has tools with invalid parameters which will be omitted.

My configuration on VS code:
"playwright-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"@executeautomation/playwright-mcp-server"
]
}

the error log as below:

Tool start_codegen_session has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"options":{"type":"object","description":"Code generation options","properties":{"outputPath":{"type":"string","description":"Directory path where generated tests will be saved (use absolute path)"},"testNamePrefix":{"type":"string","description":"Prefix to use for generated test names (default: 'GeneratedTest')"},"includeComments":{"type":"boolean","description":"Whether to include descriptive comments in generated tests"}},"required":["outputPath"]}},"required":["options"]}

Tool end_codegen_session has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"sessionId":{"type":"string","description":"ID of the session to end"}},"required":["sessionId"]}

Tool get_codegen_session has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"sessionId":{"type":"string","description":"ID of the session to retrieve"}},"required":["sessionId"]}

Tool clear_codegen_session has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"sessionId":{"type":"string","description":"ID of the session to clear"}},"required":["sessionId"]}

Tool playwright_navigate has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to navigate to the website specified"},"browserType":{"type":"string","description":"Browser type to use (chromium, firefox, webkit). Defaults to chromium","enum":["chromium","firefox","webkit"]},"width":{"type":"number","description":"Viewport width in pixels (default: 1280)"},"height":{"type":"number","description":"Viewport height in pixels (default: 720)"},"timeout":{"type":"number","description":"Navigation timeout in milliseconds"},"waitUntil":{"type":"string","description":"Navigation wait condition"},"headless":{"type":"boolean","description":"Run browser in headless mode (default: false)"}},"required":["url"]}

Tool playwright_screenshot has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"name":{"type":"string","description":"Name for the screenshot"},"selector":{"type":"string","description":"CSS selector for element to screenshot"},"width":{"type":"number","description":"Width in pixels (default: 800)"},"height":{"type":"number","description":"Height in pixels (default: 600)"},"storeBase64":{"type":"boolean","description":"Store screenshot in base64 format (default: true)"},"fullPage":{"type":"boolean","description":"Store screenshot of the entire page (default: false)"},"savePng":{"type":"boolean","description":"Save screenshot as PNG file (default: false)"},"downloadsDir":{"type":"string","description":"Custom downloads directory path (default: user's Downloads folder)"}},"required":["name"]}

Tool playwright_click has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"selector":{"type":"string","description":"CSS selector for the element to click"}},"required":["selector"]}

Tool playwright_iframe_click has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"iframeSelector":{"type":"string","description":"CSS selector for the iframe containing the element to click"},"selector":{"type":"string","description":"CSS selector for the element to click"}},"required":["iframeSelector","selector"]}

Tool playwright_fill has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"selector":{"type":"string","description":"CSS selector for input field"},"value":{"type":"string","description":"Value to fill"}},"required":["selector","value"]}

Tool playwright_select has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"selector":{"type":"string","description":"CSS selector for element to select"},"value":{"type":"string","description":"Value to select"}},"required":["selector","value"]}

Tool playwright_hover has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"selector":{"type":"string","description":"CSS selector for element to hover"}},"required":["selector"]}

Tool playwright_evaluate has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"script":{"type":"string","description":"JavaScript code to execute"}},"required":["script"]}

Tool playwright_console_logs has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"type":{"type":"string","description":"Type of logs to retrieve (all, error, warning, log, info, debug)","enum":["all","error","warning","log","info","debug"]},"search":{"type":"string","description":"Text to search for in logs (handles text with square brackets)"},"limit":{"type":"number","description":"Maximum number of logs to return"},"clear":{"type":"boolean","description":"Whether to clear logs after retrieval (default: false)"}},"required":[]}

Tool playwright_close has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{},"required":[]}

Tool playwright_get has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to perform GET operation"}},"required":["url"]}

Tool playwright_post has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to perform POST operation"},"value":{"type":"string","description":"Data to post in the body"},"token":{"type":"string","description":"Bearer token for authorization"},"headers":{"type":"object","description":"Additional headers to include in the request","additionalProperties":{"type":"string"}}},"required":["url","value"]}

Tool playwright_put has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to perform PUT operation"},"value":{"type":"string","description":"Data to PUT in the body"}},"required":["url","value"]}

Tool playwright_patch has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to perform PUT operation"},"value":{"type":"string","description":"Data to PATCH in the body"}},"required":["url","value"]}

Tool playwright_delete has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"url":{"type":"string","description":"URL to perform DELETE operation"}},"required":["url"]}

Tool playwright_expect_response has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"id":{"type":"string","description":"Unique & arbitrary identifier to be used for retrieving this response later with Playwright_assert_response."},"url":{"type":"string","description":"URL pattern to match in the response."}},"required":["id","url"]}

Tool playwright_assert_response has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"id":{"type":"string","description":"Identifier of the HTTP response initially expected using Playwright_expect_response."},"value":{"type":"string","description":"Data to expect in the body of the HTTP response. If provided, the assertion will fail if this value is not found in the response body."}},"required":["id"]}

Tool playwright_custom_user_agent has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"userAgent":{"type":"string","description":"Custom User Agent for the Playwright browser instance"}},"required":["userAgent"]}

Tool playwright_get_visible_text has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{},"required":[]}

Tool playwright_get_visible_html has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{},"required":[]}

Tool playwright_go_back has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{},"required":[]}

Tool playwright_go_forward has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{},"required":[]}

Tool playwright_drag has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"sourceSelector":{"type":"string","description":"CSS selector for the element to drag"},"targetSelector":{"type":"string","description":"CSS selector for the target location"}},"required":["sourceSelector","targetSelector"]}

Tool playwright_press_key has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"key":{"type":"string","description":"Key to press (e.g. 'Enter', 'ArrowDown', 'a')"},"selector":{"type":"string","description":"Optional CSS selector to focus before pressing key"}},"required":["key"]}

Tool playwright_save_as_pdf has invalid JSON parameters:
- Unable to load schema from 'https://json-schema.org/draft-07/schema': certificate signature failure. (at /)
- Schema: {"type":"object","properties":{"outputPath":{"type":"string","description":"Directory path where PDF will be saved"},"filename":{"type":"string","description":"Name of the PDF file (default: page.pdf)"},"format":{"type":"string","description":"Page format (e.g. 'A4', 'Letter')"},"printBackground":{"type":"boolean","description":"Whether to print background graphics"},"margin":{"type":"object","description":"Page margins","properties":{"top":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"},"left":{"type":"string"}}}},"required":["outputPath"]}

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