Skip to content

get_project schema accepts projectId, but runtime expects idOrName #195

Open

Description

@Kiyahj81

I ran into what looks like a schema mismatch in the Vercel MCP get_project tool while using it through Codex.

Other authenticated reads work normally: list_teams, list_projects, and list_deployments all return the expected account data. Only get_project appears impossible to call because the exposed schema and the runtime handler expect different argument names.

Environment

  • Vercel MCP: https://mcp.vercel.com
  • Client: OpenAI Codex with the Vercel plugin
  • Plugin bundle shown locally as 0.21.4
  • Observed: September 20, 2026

Reproduction

  1. Authenticate the Vercel connection.

  2. Call list_teams, then list_projects, and take a valid team ID and project ID from those responses.

  3. Call get_project with the documented arguments:

    {
      "teamId": "<valid team ID>",
      "projectId": "<valid project ID>"
    }
  4. The runtime rejects the request because it did not receive idOrName:

    Input validation error: Invalid arguments for tool get_project:
    idOrName: Invalid input: expected string, received undefined
    
  5. Calling it with idOrName instead is rejected by the connector before it reaches the runtime:

    Parameters failed connector schema validation:
    projectId [required]: Missing required property
    
  6. Supplying both projectId and idOrName produces the first error again, which suggests the extra idOrName field is being stripped before the handler runs.

Expected behavior

get_project should accept projectId and teamId, as documented here:

https://vercel.com/docs/agent-resources/vercel-mcp/tools#get-project

Actual behavior

There does not seem to be an argument object that satisfies both validation layers:

  • The connector-facing schema requires projectId.
  • The runtime handler appears to require idOrName.

My guess is that projectId needs to be mapped to the SDK/API's internal idOrName parameter before the handler calls it, but I may be missing a supported calling convention.

The other project and deployment tools still work, so this does not appear to be an OAuth or team-scope problem. The current workaround is to use list_projects, deployment tools, or the REST API for project details.

Related but not the same issue: #164 reports a separate connector schema mismatch around deployment creation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions