@codacy/codacy-mcp 0.3.7 → 0.3.8

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.
@@ -15,22 +15,45 @@ export const searchRepositoryIssuesTool = {
15
15
  patternIds: {
16
16
  type: 'array',
17
17
  description: 'Set of code pattern identifiers',
18
+ items: {
19
+ type: 'string',
20
+ description: 'Code pattern identifier',
21
+ },
18
22
  },
19
23
  languages: {
20
24
  type: 'array',
21
25
  description: `Set of language names, without spaces. Accepted values: ${codacyLanguages.join(', ')}`,
26
+ items: {
27
+ type: 'string',
28
+ enum: codacyLanguages,
29
+ description: 'Language name',
30
+ },
22
31
  },
23
32
  categories: {
24
33
  type: 'array',
25
34
  description: `Set of issue categories. Accepted values: ${issueCategories.join(', ')}`,
35
+ items: {
36
+ type: 'string',
37
+ enum: issueCategories,
38
+ description: 'Issue category',
39
+ },
26
40
  },
27
41
  levels: {
28
42
  type: 'array',
29
43
  description: 'Set of issue severity levels. Accepted values: Info, Warning and Error. Codacy maps these values as follows: Info->Minor, Warning->Medium, Error->Critical',
44
+ items: {
45
+ type: 'string',
46
+ enum: ['Info', 'Warning', 'Error'],
47
+ description: 'Issue severity level',
48
+ }
30
49
  },
31
50
  authorEmails: {
32
51
  type: 'array',
33
52
  description: 'Set of commit author email addresses',
53
+ items: {
54
+ type: 'string',
55
+ description: 'Commit author email address',
56
+ },
34
57
  },
35
58
  },
36
59
  },
@@ -14,6 +14,10 @@ export const searchSecurityItemsTool = {
14
14
  repositories: {
15
15
  type: 'array',
16
16
  description: 'Use this to filter by repository name.',
17
+ items: {
18
+ type: 'string',
19
+ description: 'Repository name',
20
+ },
17
21
  },
18
22
  priorities: {
19
23
  description: 'Array of security issue priorities/severities to filter by.',
@@ -52,6 +56,10 @@ export const searchSecurityItemsTool = {
52
56
  segments: {
53
57
  type: 'array',
54
58
  description: 'Set of segments ids (type number). Segment is a Codacy concept that groups repositories by different criteria',
59
+ items: {
60
+ type: 'number',
61
+ description: 'Segment id',
62
+ },
55
63
  },
56
64
  },
57
65
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/codacy-mcp",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Codacy MCP server",
5
5
  "license": "MIT",
6
6
  "author": "Codacy",