@agent-lint/mcp 0.1.0
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/LICENSE +21 -0
- package/README.md +134 -0
- package/dist/bin.js +58 -0
- package/dist/bin.js.map +1 -0
- package/dist/chunk-FHXMDRDX.js +22126 -0
- package/dist/chunk-FHXMDRDX.js.map +1 -0
- package/dist/index.js +65 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_MCP_SERVER_NAME,
|
|
3
|
+
DEFAULT_TOOL_TIMEOUT_MS,
|
|
4
|
+
MAX_JSONRPC_MESSAGE_BYTES,
|
|
5
|
+
TOOL_TIMEOUTS,
|
|
6
|
+
ToolTimeoutError,
|
|
7
|
+
applyMessageSizeGuard,
|
|
8
|
+
createAgentLintMcpServer,
|
|
9
|
+
createSecurityContext,
|
|
10
|
+
executeAnalyzeArtifactTool,
|
|
11
|
+
executeAnalyzeContextBundleTool,
|
|
12
|
+
executeAnalyzeWorkspaceArtifactsTool,
|
|
13
|
+
executePrepareArtifactFixContextTool,
|
|
14
|
+
executeQualityGateArtifactTool,
|
|
15
|
+
executeSubmitClientAssessmentTool,
|
|
16
|
+
executeSuggestPatchTool,
|
|
17
|
+
executeValidateExportTool,
|
|
18
|
+
getToolTimeout,
|
|
19
|
+
handleCorsPreflightIfNeeded,
|
|
20
|
+
parseJsonBody,
|
|
21
|
+
registerAgentLintPrompts,
|
|
22
|
+
registerAgentLintResources,
|
|
23
|
+
registerAgentLintTools,
|
|
24
|
+
runHttpServer,
|
|
25
|
+
runStdioServer,
|
|
26
|
+
sendJsonError,
|
|
27
|
+
setCorsHeaders,
|
|
28
|
+
startRateLimitCleanup,
|
|
29
|
+
stopRateLimitCleanup,
|
|
30
|
+
validateRequest,
|
|
31
|
+
withToolTimeout
|
|
32
|
+
} from "./chunk-FHXMDRDX.js";
|
|
33
|
+
export {
|
|
34
|
+
DEFAULT_MCP_SERVER_NAME,
|
|
35
|
+
DEFAULT_TOOL_TIMEOUT_MS,
|
|
36
|
+
MAX_JSONRPC_MESSAGE_BYTES,
|
|
37
|
+
TOOL_TIMEOUTS,
|
|
38
|
+
ToolTimeoutError,
|
|
39
|
+
applyMessageSizeGuard,
|
|
40
|
+
createAgentLintMcpServer,
|
|
41
|
+
createSecurityContext,
|
|
42
|
+
executeAnalyzeArtifactTool,
|
|
43
|
+
executeAnalyzeContextBundleTool,
|
|
44
|
+
executeAnalyzeWorkspaceArtifactsTool,
|
|
45
|
+
executePrepareArtifactFixContextTool,
|
|
46
|
+
executeQualityGateArtifactTool,
|
|
47
|
+
executeSubmitClientAssessmentTool,
|
|
48
|
+
executeSuggestPatchTool,
|
|
49
|
+
executeValidateExportTool,
|
|
50
|
+
getToolTimeout,
|
|
51
|
+
handleCorsPreflightIfNeeded,
|
|
52
|
+
parseJsonBody,
|
|
53
|
+
registerAgentLintPrompts,
|
|
54
|
+
registerAgentLintResources,
|
|
55
|
+
registerAgentLintTools,
|
|
56
|
+
runHttpServer,
|
|
57
|
+
runStdioServer,
|
|
58
|
+
sendJsonError,
|
|
59
|
+
setCorsHeaders,
|
|
60
|
+
startRateLimitCleanup,
|
|
61
|
+
stopRateLimitCleanup,
|
|
62
|
+
validateRequest,
|
|
63
|
+
withToolTimeout
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agent-lint/mcp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "MCP server for AI agent context artifact analysis and quality scoring. Deterministic, no LLM, no database.",
|
|
7
|
+
"author": "Agent Lint Contributors",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://gitlab.com/bsamilozturk/agentlint.git",
|
|
11
|
+
"directory": "packages/mcp"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://gitlab.com/bsamilozturk/agentlint#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://gitlab.com/bsamilozturk/agentlint/-/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"mcp",
|
|
19
|
+
"ai-agents",
|
|
20
|
+
"static-analysis",
|
|
21
|
+
"quality-scoring",
|
|
22
|
+
"agents-md",
|
|
23
|
+
"claude-md",
|
|
24
|
+
"lint",
|
|
25
|
+
"model-context-protocol"
|
|
26
|
+
],
|
|
27
|
+
"files": [
|
|
28
|
+
"dist/",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"README.md"
|
|
31
|
+
],
|
|
32
|
+
"bin": {
|
|
33
|
+
"agent-lint-mcp": "./dist/bin.js"
|
|
34
|
+
},
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.js"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsup",
|
|
46
|
+
"prepublishOnly": "pnpm run build",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@modelcontextprotocol/sdk": "^1.26.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@agent-lint/shared": "workspace:*",
|
|
54
|
+
"@agent-lint/core": "workspace:*",
|
|
55
|
+
"typescript": "^5.0.0"
|
|
56
|
+
}
|
|
57
|
+
}
|