Skip to content

[CD-650] Refresh swagger.json from cortexapps/schemas - #18

Draft
ashiramin wants to merge 1 commit into
masterfrom
ashir/cd-650-refresh-swagger
Draft

ashiramin wants to merge 1 commit into
masterfrom
ashir/cd-650-refresh-swagger

Conversation

@ashiramin

Copy link
Copy Markdown
Contributor

Summary

Refreshes the vendored swagger.json for CD-650. It was last updated in January (#12), so the local MCP exposes 28 tools while the hosted one exposes far more.

Important

Don't merge yet. Every merge to master publishes ghcr.io/cortexapps/cortex-mcp:latest. Merge only once a brain-backend production release includes 620ebf8446, the same gate as cortex-remote-mcp#36.

Tools added

Added by CD-650 (58)

  • addCustomDataForEntity
  • addCustomDataForEntityAdvanced
  • addDeployForEntity
  • addGroupsToEntity
  • approveScorecardRuleExemption
  • archiveEntity
  • archiveTeam
  • createCustomEventForEntity
  • createCustomMetricData
  • createDefinition
  • createDependency
  • createInitiative
  • createOrPatchEntity
  • createOrUpdateEntity
  • createOrUpdateScaffolder
  • createOrUpdateScorecard
  • createPlugin
  • createQuery
  • createRelationshipType
  • createTeamMemberRole
  • createVerificationPeriod
  • denyScorecardRuleExemption
  • getPluginByTag
  • getQueryResults
  • getScaffolder
  • listAllPlugins
  • listScaffolders
  • patchPlugin
  • refreshScorecardScoreForEntity
  • replaceCustomEventForEntityByUuid
  • requestScorecardRuleExemption
  • revokeScorecardRuleExemption
  • unarchiveEntity
  • unarchiveTeam
  • updateCortexTeamMembers
  • updateDefinition
  • updateDependency
  • updateDeployByUuid
  • updateInitiative
  • updatePlugin
  • updateRelationshipType
  • updateScaffolder
  • updateVerificationPeriod
  • uploadGoSumPackage
  • uploadJavaPackage
  • uploadMavenPom
  • uploadNpmPackageJson
  • uploadNpmPackageLockJson
  • uploadNugetCsproj
  • uploadNugetPackagesConfig
  • uploadNugetPackagesLock
  • uploadPipfileLock
  • uploadPnpmLock
  • uploadRequirementsTxt
  • uploadYarnLock
  • upsertCatalogPage
  • validateWorkflowDescriptor
  • verifyEntityForPeriod

Already in the hosted MCP, missing locally (28)

  • AWSGetAwsResources
  • KubernetesGetK8sResourcesForEntity
  • createOrUpdateWorkflow
  • getCatalogPage
  • getDefinition
  • getOpenApiDocForEntity
  • getTeamHierarchyRelationships
  • getWorkflow
  • getWorkflowRun
  • listCatalogPages
  • listDefinitions
  • listDeployEnvironments
  • listGroupsForEntity
  • listIntegrationStatuses
  • listScorecardRuleExemptions
  • listScorecardScoresForEntity
  • listTeamMemberRoles
  • listVerificationPeriods
  • listVerifications
  • listVerificationsForEntity
  • listWorkflowRuns
  • listWorkflows
  • queryTraceEvents
  • retrieveCustomDataForEntityAdvanced
  • retrieveVerificationPeriod
  • runWorkflow
  • searchCatalog
  • searchDeploys

Test plan

  • ruff check src tests
  • pytest: 27 passed
  • create_mcp_server() loads the new spec and lists 114 tools, none of them deletes

🤖 Generated with Claude Code

https://claude.ai/code/session_01HVwBFGH8UJyMPKFSxbAZWQ

Re-vendor the public OpenAPI spec published from brain-backend
620ebf8446, the same spec cortex-remote-mcp is syncing. The local MCP
goes from 28 to 114 tools: the create/update tools added in CD-650 plus
the read tools the hosted MCP already had.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVwBFGH8UJyMPKFSxbAZWQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant