Vercel

Vercel Enables Agent Access to Runtime Logs via New MCP Tool


Executive Summary

Vercel has launched the `get_runtime_logs` tool, enabling programmatic access to runtime logs through its Multi-functional Compute Plane (MCP) server. This new capability allows agents to retrieve logs from Vercel Functions invocations for both preview and production deployments. The primary goal is to empower automated systems to debug failing requests, inspect function output, and investigate application behavior directly on the platform.

Key Takeaways

* New Tool: The `get_runtime_logs` tool is now available for agents interacting with the Vercel MCP server.

* Log Access: It provides programmatic access to runtime logs for any specified project or deployment.

* Log Content: Logs include function invocation details, standard output, and `console.log` messages from Vercel Functions.

* Use Cases: The feature is designed to enable agents to debug requests, inspect output, search for specific errors or request IDs, and investigate runtime behavior.

* Availability: The tool is available now for both preview and production environments.

Strategic Importance

This announcement strengthens Vercel's platform by providing essential programmatic observability for AI agents, supporting a more automated, AI-driven development and operations (DevOps) workflow.

Original article