mcp-use
Version:
A utility library for integrating Model Context Protocol (MCP) with LangChain, Zod, and related tools. Provides helpers for schema conversion, event streaming, and SDK usage.
18 lines • 627 B
TypeScript
/**
* HTTP Example for mcp-use.
*
* This example demonstrates how to use the mcp-use library with MCPClient
* to connect to an MCP server running on a specific HTTP port.
*
* Before running this example, you need to start the Playwright MCP server
* in another terminal with:
*
* npx @playwright/mcp@latest --port 8931
*
* This will start the server on port 8931. Resulting in the config you find below.
* Of course you can run this with any server you want at any URL.
*
* Special thanks to https://github.com/microsoft/playwright-mcp for the server.
*/
export {};
//# sourceMappingURL=http_example.d.ts.map