@lintsure/mcp 0.3.20 → 0.3.21
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/src/index.js +1 -1
- package/package.json +64 -54
package/dist/src/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
7
7
|
import { resolve } from "node:path";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { AGENT_GUIDANCE, APPROVAL_RULES, TRIAGE_GUIDE, ALL_FRAMEWORKS, DISCLAIMER, isHygiene, nextSteps, readConfig, scan, toMarkdown, QUESTIONS, classifyAnswer, explainFramework, explainRule, planAnswer } from "@lintsure/core";
|
|
10
|
-
const server = new McpServer({ name: "lintsure", version: "0.3.
|
|
10
|
+
const server = new McpServer({ name: "lintsure", version: "0.3.21" }, { instructions: AGENT_GUIDANCE });
|
|
11
11
|
// Every tool only reads. Clients can show this; none of them may treat a Lintsure tool as making changes.
|
|
12
12
|
const RO = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false };
|
|
13
13
|
// Checked in the handler, not a startup enum, so frameworks from a repo's rule packs are accepted too.
|
package/package.json
CHANGED
|
@@ -1,54 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lintsure/mcp",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"mcpName": "io.github.lintsure/lintsure",
|
|
5
|
-
"description": "Lintsure MCP server: lets Claude Code, Grok Build, Codex and other agents check their own code before they say they are done. Runs locally. Not an audit or legal advice.",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"bin": {
|
|
9
|
-
"lintsure-mcp": "dist/src/index.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist/src",
|
|
13
|
-
"README.md",
|
|
14
|
-
"LICENSE"
|
|
15
|
-
],
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@lintsure/core": "0.3.
|
|
18
|
-
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
19
|
-
"zod": "^4.6.7"
|
|
20
|
-
},
|
|
21
|
-
"author": "Lintsure <hello@lintsure.com>",
|
|
22
|
-
"homepage": "https://lintsure.com/docs",
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/lintsure/lintsure.git"
|
|
26
|
-
},
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/lintsure/lintsure/issues",
|
|
29
|
-
"email": "support@lintsure.com"
|
|
30
|
-
},
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": ">=22"
|
|
33
|
-
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"access": "public"
|
|
36
|
-
},
|
|
37
|
-
"keywords": [
|
|
38
|
-
"mcp",
|
|
39
|
-
"mcp-server",
|
|
40
|
-
"model-context-protocol",
|
|
41
|
-
"ai-agents",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@lintsure/mcp",
|
|
3
|
+
"version": "0.3.21",
|
|
4
|
+
"mcpName": "io.github.lintsure/lintsure",
|
|
5
|
+
"description": "Lintsure MCP server: lets Claude Code, Grok Build, Codex, Gemini CLI and other agents check their own code against your rules and 119 security and privacy rules before they say they are done. Runs locally. Not an audit or legal advice.",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"lintsure-mcp": "dist/src/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/src",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@lintsure/core": "0.3.21",
|
|
18
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
19
|
+
"zod": "^4.6.7"
|
|
20
|
+
},
|
|
21
|
+
"author": "Lintsure <hello@lintsure.com>",
|
|
22
|
+
"homepage": "https://lintsure.com/docs",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/lintsure/lintsure.git"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/lintsure/lintsure/issues",
|
|
29
|
+
"email": "support@lintsure.com"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=22"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"mcp",
|
|
39
|
+
"mcp-server",
|
|
40
|
+
"model-context-protocol",
|
|
41
|
+
"ai-agents",
|
|
42
|
+
"ai-coding-agents",
|
|
43
|
+
"ai-agent-rules",
|
|
44
|
+
"agent-context",
|
|
45
|
+
"claude-code",
|
|
46
|
+
"grok-build",
|
|
47
|
+
"codex",
|
|
48
|
+
"gemini-cli",
|
|
49
|
+
"guardrails",
|
|
50
|
+
"code-checker",
|
|
51
|
+
"code-security",
|
|
52
|
+
"linter",
|
|
53
|
+
"sast",
|
|
54
|
+
"static-analysis",
|
|
55
|
+
"security",
|
|
56
|
+
"owasp",
|
|
57
|
+
"cwe",
|
|
58
|
+
"gdpr",
|
|
59
|
+
"eu-ai-act"
|
|
60
|
+
],
|
|
61
|
+
"scripts": {
|
|
62
|
+
"prepublishOnly": "cd ../.. && npm test"
|
|
63
|
+
}
|
|
64
|
+
}
|