- Step1: Install the library and dependencies
- Step2: Configure MCP servers in JSON or code
- Step3: Initialize MCPClient with server configurations
- Step4: Create or instantiate an LLM compatible with LangChain.js
- Step5: Build an agent using MCPAgent with desired configurations
- Step6: Run queries or tasks through the agent