https://ai-sdk.dev/docs/reference/ai-sdk-core/create-mcp-client deploy this snippet from the exampl

https://ai-sdk.dev/docs/reference/ai-sdk-core/create-mcp-client

deploy this snippet from the example to a worker. just instead of type stdio, set type to sse and provide url = other worker url that serves the playwright mcp
Create a client for connecting to MCP servers
Was this page helpful?