The **Model Context Protocol (MCP) client** for the [AI SDK](https://ai-sdk.dev/docs) lets you connect to MCP servers and use their tools with AI SDK functions like `generateText` and `streamText`.
| Tool name | Description | Destructive? |
|---|---|---|
| calculateSum | ✓ no | |
| get-pokemon | ✓ no | |
| ping | ✓ no | |
| get-user-info | ✓ no |
{
"mcpServers": {
"ai-sdkmcp": {
"command": "npx",
"args": [
"-y",
"@ai-sdk/mcp"
]
}
}
}