@codacy/codacy-mcp 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,5 +7,6 @@ export const getFileCoverageTool = {
7
7
  properties: {
8
8
  ...fileSchema,
9
9
  },
10
+ required: ['provider', 'organization', 'repository'],
10
11
  },
11
12
  };
@@ -7,5 +7,6 @@ export const getFileWithAnalysisTool = {
7
7
  properties: {
8
8
  ...fileSchema,
9
9
  },
10
+ required: ['provider', 'organization', 'repository'],
10
11
  },
11
12
  };
@@ -11,5 +11,6 @@ export const getIssueTool = {
11
11
  description: 'Issue ID',
12
12
  },
13
13
  },
14
+ required: ['provider', 'organization', 'repository'],
14
15
  },
15
16
  };
@@ -11,5 +11,6 @@ export const getPullRequestGitDiffTool = {
11
11
  description: 'Pull request number',
12
12
  },
13
13
  },
14
+ required: ['provider', 'organization', 'repository'],
14
15
  },
15
16
  };
@@ -11,5 +11,6 @@ export const getRepositoryPullRequestFilesCoverageTool = {
11
11
  description: 'Pull request number',
12
12
  },
13
13
  },
14
+ required: ['provider', 'organization', 'repository'],
14
15
  },
15
16
  };
@@ -11,5 +11,6 @@ export const getRepositoryPullRequestTool = {
11
11
  description: 'Pull request number',
12
12
  },
13
13
  },
14
+ required: ['provider', 'organization', 'repository'],
14
15
  },
15
16
  };
@@ -8,5 +8,6 @@ export const getRepositoryWithAnalysisTool = {
8
8
  ...repositorySchema,
9
9
  ...branchSchema,
10
10
  },
11
+ required: ['provider', 'organization', 'repository'],
11
12
  },
12
13
  };
@@ -8,5 +8,6 @@ export const listFileIssuesTool = {
8
8
  ...fileSchema,
9
9
  ...defaultPagination,
10
10
  },
11
+ required: ['provider', 'organization', 'repository'],
11
12
  },
12
13
  };
@@ -16,5 +16,6 @@ export const listFilesTool = {
16
16
  description: 'Filter files that include this string anywhere in their relative path',
17
17
  },
18
18
  },
19
+ required: ['provider', 'organization', 'repository'],
19
20
  },
20
21
  };
@@ -8,5 +8,6 @@ export const listOrganizationRepositoriesTool = {
8
8
  ...organizationSchema,
9
9
  ...defaultPagination,
10
10
  },
11
+ required: ['provider', 'organization'],
11
12
  },
12
13
  };
@@ -20,5 +20,6 @@ export const listPullRequestIssuesTool = {
20
20
  description: 'If true, retrieves only potential issues',
21
21
  },
22
22
  },
23
+ required: ['provider', 'organization', 'repository'],
23
24
  },
24
25
  };
@@ -12,5 +12,6 @@ export const listRepositoryPullRequestsTool = {
12
12
  description: 'If true, includes pull requests that have not been analyzed',
13
13
  },
14
14
  },
15
+ required: ['provider', 'organization', 'repository'],
15
16
  },
16
17
  };
@@ -36,5 +36,6 @@ export const listRepositoryToolPatternsTool = {
36
36
  description: 'Returns only the recommended or non-recommended patterns.',
37
37
  },
38
38
  },
39
+ required: ['provider', 'organization', 'repository'],
39
40
  },
40
41
  };
@@ -7,5 +7,6 @@ export const listRepositoryToolsTool = {
7
7
  properties: {
8
8
  ...repositorySchema,
9
9
  },
10
+ required: ['provider', 'organization', 'repository'],
10
11
  },
11
12
  };
@@ -35,5 +35,6 @@ export const searchRepositoryIssuesTool = {
35
35
  },
36
36
  },
37
37
  },
38
+ required: ['provider', 'organization', 'repository'],
38
39
  },
39
40
  };
@@ -13,7 +13,7 @@ export const searchSecurityItemsTool = {
13
13
  properties: {
14
14
  repositories: {
15
15
  type: 'array',
16
- description: 'Use this to filter by repository name. ',
16
+ description: 'Use this to filter by repository name.',
17
17
  },
18
18
  priorities: {
19
19
  description: 'Array of security issue priorities/severities to filter by.',
@@ -56,5 +56,6 @@ export const searchSecurityItemsTool = {
56
56
  },
57
57
  },
58
58
  },
59
+ required: ['provider', 'organization'],
59
60
  },
60
61
  };
@@ -95,7 +95,7 @@ export const organizationSchema = {
95
95
  },
96
96
  organization: {
97
97
  type: 'string',
98
- description: "Organization name on the Git provider. In case a repository is given, use that repository's owner (could be an organization name or username), to find the repository's owner check the repository git url, it should be something like this for gh:'https://github.com/<owner>/<repository>.git' for gl:'https://gitlab.com/<owner>/<repository>.git' for bb:'https://bitbucket.org/<owner>/<repository>.git'.",
98
+ description: "Organization name on the Git provider. In case a repository is given, use that repository's owner (could be an organization name or username), to find the repository's owner check the repository git remote url, it should be something like this 'git@github.com:<owner>/<repository>.git' or for gh:'https://github.com/<owner>/<repository>.git' for gl:'https://gitlab.com/<owner>/<repository>.git' for bb:'https://bitbucket.org/<owner>/<repository>.git'.",
99
99
  },
100
100
  };
101
101
  export const repositorySchema = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/codacy-mcp",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Codacy MCP server",
5
5
  "license": "MIT",
6
6
  "author": "Codacy",