octocode-mcp 7.0.12-alpha.4 → 7.0.13
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.
- package/dist/index.js +3 -3
- package/dist/src/prompts/review_security.d.ts +4 -0
- package/dist/src/tools/toolMetadata.d.ts +2 -1
- package/dist/tests/errorCodes.test.d.ts +1 -0
- package/dist/tests/prompts/prompts.test.d.ts +1 -0
- package/dist/tests/prompts/research.test.d.ts +1 -0
- package/dist/tests/prompts/review_security.test.d.ts +1 -0
- package/dist/tests/prompts/use.test.d.ts +1 -0
- package/dist/tests/tools/toolsManager.metadata.test.d.ts +1 -0
- package/dist/tests/utils/fileFilters.test.d.ts +1 -0
- package/package.json +3 -4
- package/server.json +2 -2
- package/dist/src/prompts/kudos.d.ts +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
+
import type { CompleteMetadata } from '../tools/toolMetadata.js';
|
|
3
|
+
export declare const PROMPT_NAME = "review_security";
|
|
4
|
+
export declare function registerSecurityReviewPrompt(server: McpServer, content: CompleteMetadata): void;
|
|
@@ -15,7 +15,7 @@ export interface CompleteMetadata {
|
|
|
15
15
|
description: string;
|
|
16
16
|
content: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
reviewSecurity: {
|
|
19
19
|
name: string;
|
|
20
20
|
description: string;
|
|
21
21
|
content: string;
|
|
@@ -64,6 +64,7 @@ export declare function getToolsMetadata(): Promise<Record<string, ToolMetadata>
|
|
|
64
64
|
export declare function getToolMetadata(toolName: string): Promise<ToolMetadata | undefined>;
|
|
65
65
|
export declare function getToolDescription(toolName: string): Promise<string>;
|
|
66
66
|
export declare function getToolSchema(toolName: string): Promise<Record<string, string>>;
|
|
67
|
+
export declare function isToolAvailableSync(toolName: string): boolean;
|
|
67
68
|
export declare function getToolHints(toolName: string, resultType: 'hasResults' | 'empty'): Promise<readonly string[]>;
|
|
68
69
|
export declare function getToolHintsSync(toolName: string, resultType: 'hasResults' | 'empty'): readonly string[];
|
|
69
70
|
export declare function getGenericErrorHints(): Promise<readonly string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "octocode-mcp",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.13",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for advanced GitHub repository analysis and code discovery. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -113,6 +113,5 @@
|
|
|
113
113
|
"type": "stdio",
|
|
114
114
|
"command": "octocode-mcp",
|
|
115
115
|
"args": []
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
}
|
|
116
|
+
}
|
|
117
|
+
}
|
package/server.json
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"url": "https://github.com/bgauryy/octocode-mcp",
|
|
9
9
|
"source": "github"
|
|
10
10
|
},
|
|
11
|
-
"version": "7.0.
|
|
11
|
+
"version": "7.0.13",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "octocode-mcp",
|
|
16
|
-
"version": "7.0.
|
|
16
|
+
"version": "7.0.13",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import type { CompleteMetadata } from '../tools/toolMetadata.js';
|
|
3
|
-
export declare const PROMPT_NAME = "kudos";
|
|
4
|
-
export declare function registerKudosPrompt(server: McpServer, content: CompleteMetadata): void;
|