← Browse

@vercel-labs/mcp-to-ai-sdk

A

MCP server package mcp-to-ai-sdk

mcp_servermcp

Install

agr install @vercel-labs/mcp-to-ai-sdk --target claude

This artifact does not publish files for Claude.

Document

{ "name": "mcp-to-ai-sdk", "version": "0.1.1", "description": "CLI tool to generate Vercel AI SDK wrappers for MCP tools", "main": "dist/mcp-tools-cli.js", "bin": { "mcp-to-ai-sdk": "dist/mcp-tools-cli.js" }, "scripts": { "build": "tsc", "dev": "dist/mcp-tools-cli.js", "sample": "tsx samples/grep-app-test.ts", "prepublishOnly": "npm run build", "test": "echo "Error: no test specified" && exit 1", "version-packages": "changeset version", "changeset": "changeset", "release": "pnpm build && changeset publish" }, "keywords": [ "mcp", "ai", "vercel", "ai-sdk", "cli", "tools", "model-context-protocol" ], "author": "Vercel", "files": [ "dist/**/*" ], "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.17.4", "ai": "^5.0.29", "commander": "^14.0.0", "json-schema-to-zod": "^2.6.1", "prettier": "^3.6.2", "zod": "^4.1.5" }, "devDependencies": { "@changesets/cli": "^2.27.12", "@types/node": "^24.3.0", "dotenv": "^17.2.1", "tsx": "^4.20.5", "typescript": "^5.9.2" }, "publishConfig": { "access": "public" } }

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • warnType matchbest-effort: server code not analyzed

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-8ec6825f40182026-08-03