Skip to main content
Glama

Set a project's MCP file path

set_mcp_config_path
Idempotent

Point the project at the repository file that declares its MCP servers, e.g. .cursor/mcp.json or .vscode/mcp.json. null restores the default (.mcp.json). The file is read, never edited. When the repository's ship.yml sets mcp.config, that wins and this call is refused (409); list_mcp_servers reports which one applies as configPathSource. Requires the config:write capability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject id, e.g. from list_projects
configPathYesRepository-relative path, or null

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.