Vercel AI SDK
import { mcplug } from "@mcplug/client/ai";

const tools = await mcplug({
	token,
	id: "01JSW3WRG3XS1HT1XABYEC08QR"
});

const { text, response } = await generateText({
  model: openai("gpt-4o"),
  system: "You are a friendly assistant!",
  maxSteps: 10,
  messages: [{
  	role:"user",
  	content:"Hello, what is the weather in Tokyo?"
  }],
  tools
});
				
Cursor
./cursor/.mcp.json
{
  "mcpServers": {
    "mcplug": {
      "command": "npx",
      "args": [
        "-y",
        "@mcplug/client@latest",
        "01JSW3WRG3XS1HT1XABYEC08QR"
      ],
      
    }
  }
}
				
Author:
MCPlug
Privacy:
Public
Creation date:
April 27, 2025 at 5:14:36 PM
Total servers:
0
This plug has no tool enabled.