{
  "info": {
    "name": "Codacy — mcp.ai",
    "description": "REST API for the Codacy MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/codacy",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "codacy_create_api_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/api/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "api",
            "token"
          ]
        },
        "description": "Creates a new account API token for the authenticated user. The token inherits all permissions from the account owner and provides access to the same organizations and repositories. Note: The token is",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_delete_api_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/api/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "api",
            "token"
          ]
        },
        "description": "Tool to delete a specific API token from the authenticated user's account. Use after confirming the token ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tokenId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_account_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "details"
          ]
        },
        "description": "Tool to retrieve details of the authenticated user's account. Use when confirming authentication before user-level operations.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_configuration_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/configuration/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "configuration",
            "status"
          ]
        },
        "description": "Tool to retrieve the current configuration status of the Codacy system. Use when checking system setup completion or first-time configuration status.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_health",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/health",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "health"
          ]
        },
        "description": "Tool to check the health status of the Codacy API. Use when verifying API connectivity and service availability.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_organizations_repositories_settings_languages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/organizations/repositories/settings/languages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "organizations",
            "repositories",
            "settings",
            "languages"
          ]
        },
        "description": "Tool to get the list of all languages with their extensions and enabled status for a repository. Use when you need to understand which programming languages are detected and enabled for analysis in a ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"provider\": \"\",\n  \"repositoryName\": \"\",\n  \"remoteOrganizationName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_tool_pattern",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/tool/pattern",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "tool",
            "pattern"
          ]
        },
        "description": "Tool to retrieve the definition of a specific pattern for a given tool. Use when you need to get detailed information about a specific code pattern including its description, examples, parameters, and",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"toolUuid\": \"\",\n  \"patternId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_user_organizations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/organizations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "organizations"
          ]
        },
        "description": "Retrieves all organizations the authenticated user belongs to for a specific Git provider. Returns organization details including name, provider, avatar, access permissions (DAST, SCA), and join statu",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"provider\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_get_version",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/version",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "version"
          ]
        },
        "description": "Tool to retrieve the version of the Codacy installation. Use when checking the Codacy API version for compatibility or debugging purposes.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_analysis_organizations_repositories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/analysis/organizations/repositories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "analysis",
            "organizations",
            "repositories"
          ]
        },
        "description": "Tool to list organization repositories with analysis information for the authenticated user. Use when you need to retrieve repositories from a specific organization with their analysis status. For Bit",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"search\": \"\",\n  \"provider\": \"\",\n  \"remoteOrganizationName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_duplication_tools",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/duplication/tools",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "duplication",
            "tools"
          ]
        },
        "description": "Tool to retrieve the list of duplication detection tools available in Codacy. Use when you need to identify which tools can analyze code duplication for different programming languages.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_languages_tools",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/languages/tools",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "languages",
            "tools"
          ]
        },
        "description": "Tool to retrieve the list of languages supported by available tools. Use when you need to determine which programming languages are supported by Codacy's analysis tools.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_login_integrations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/login/integrations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "login",
            "integrations"
          ]
        },
        "description": "Tool to list configured login providers on Codacy's platform. Use when you need to discover available authentication methods for Codacy login.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_metrics_tools",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/metrics/tools",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "metrics",
            "tools"
          ]
        },
        "description": "Tool to retrieve the list of metrics tools available in Codacy. Use when you need to discover which tools calculate metrics on projects and which languages they support.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_projects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/projects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "projects"
          ]
        },
        "description": "Tool to list all projects accessible to the authenticated user. Use when you need a list of repositories after confirming API token validity.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"search\": \"\",\n  \"perPage\": 0,\n  \"organizationName\": \"\",\n  \"organizationProvider\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_provider_integrations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/provider/integrations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "provider",
            "integrations"
          ]
        },
        "description": "Tool to list provider integrations existing on Codacy's platform. Use when you need to discover available Git providers that can be integrated with Codacy for authentication and repository management.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_tools",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tools",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tools"
          ]
        },
        "description": "Tool to retrieve the list of analysis tools available in Codacy. Use when you need to identify which code analysis tools are available and which programming languages they support.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "codacy_list_tools_patterns",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tools/patterns",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tools",
            "patterns"
          ]
        },
        "description": "Tool to retrieve the list of patterns for a specific tool. Returns code patterns that the tool can use to find issues, with pagination support.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"enabled\": false,\n  \"toolUuid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}