npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vercel-platform-mcp-server

v0.1.0

Published

Local implementation of Vercel MCP server

Readme

Vercel MCP Server

Note: This package is part of the MCP Servers monorepo. For the latest updates and full source code, visit the Vercel MCP Server directory.

An MCP server for managing Vercel deployments and viewing application runtime logs through the Vercel REST API.

Highlights

  • Deployment Management - List, inspect, create, cancel, delete, promote, and rollback deployments
  • Build & Runtime Logs - View build logs (events) and runtime application logs for debugging
  • Fine-grained Access Control - Enable readonly or readwrite tool groups via environment variables
  • Team Support - Scope operations to a specific Vercel team

Capabilities

Tools

| Tool | Group | Description | | ----------------------- | --------- | ------------------------------------------------------------- | | list_deployments | readonly | List deployments with filtering by project, target, and state | | get_deployment | readonly | Get detailed deployment information by ID or URL | | list_projects | readonly | List projects in the account/team | | get_deployment_events | readonly | Get build logs for a deployment | | get_runtime_logs | readonly | Get runtime application logs with filtering | | create_deployment | readwrite | Create a new deployment or redeploy | | cancel_deployment | readwrite | Cancel an in-progress deployment | | delete_deployment | readwrite | Delete a deployment permanently | | promote_deployment | readwrite | Promote a deployment to production | | rollback_deployment | readwrite | Rollback to a previous deployment |

Setup

Prerequisites

Configuration

| Variable | Required | Description | | --------------------------- | -------- | ------------------------------------------------------------------- | | VERCEL_TOKEN | Yes | Vercel API token | | VERCEL_TEAM_ID | No | Team ID for team-scoped operations | | VERCEL_TEAM_SLUG | No | Team URL slug (alternative to team ID) | | VERCEL_ENABLED_TOOLGROUPS | No | Comma-separated tool groups: readonly, readwrite (default: all) |

Configuration

Set the following environment variables before running:

export VERCEL_TOKEN="your-vercel-api-token"

# Optional: for team-scoped operations
export VERCEL_TEAM_ID="team_abc123"
export VERCEL_TEAM_SLUG="my-team"

# Optional: limit enabled tool groups
export VERCEL_ENABLED_TOOLGROUPS="readonly"

Manual Setup

# Clone the repository
git clone https://github.com/pulsemcp/mcp-servers.git
cd mcp-servers/experimental/vercel

# Install dependencies
npm install

# Build
npm run build

# Set environment variables
export VERCEL_TOKEN="your-token-here"

# Run
npm start

Usage Tips

  • Use list_projects first to find project IDs needed by promote_deployment, rollback_deployment, and get_runtime_logs
  • Runtime log retention varies by plan: Hobby=1h, Pro=1d, Enterprise=3d (up to 30d with Observability Plus)
  • Use get_runtime_logs with since/until to query historical logs, search to find specific errors, and level/source to filter results
  • Set VERCEL_ENABLED_TOOLGROUPS=readonly to prevent any write operations
  • Use list_deployments with the state filter to quickly find failed or in-progress deployments

Examples

Check deployment status

"What's the status of my latest deployments?"

Uses list_deployments to show recent deployments with their states.

Debug a failed build

"Show me the build logs for deployment dpl_abc123"

Uses get_deployment_events to display the build output and error messages.

Promote a preview to production

"Promote deployment dpl_abc123 to production for project prj_xyz789"

Uses promote_deployment to make a preview deployment serve production traffic.

View runtime errors

"Show me the runtime logs for my-app's latest deployment"

Uses list_projects to find the project ID, then get_runtime_logs to show recent application logs.

Search for specific errors in logs

"Find all 500 errors in the last 24 hours for my-app"

Uses get_runtime_logs with statusCode: 500 and since set to 24 hours ago to filter server errors.

Debug edge function issues

"Show me warning and error logs from edge functions for dpl_abc123"

Uses get_runtime_logs with source: "edge-function" and level: "error" to narrow down issues.

Development

# Install dependencies
npm install

# Build
npm run build

# Run functional tests
npm test

# Run integration tests
npm run test:integration

# Run manual tests (requires .env with VERCEL_TOKEN)
npm run test:manual

# Lint
npm run lint