@contextlint/mcp-server 0.4.1 → 0.4.3

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/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # @contextlint/mcp-server
2
+
3
+ [MCP](https://modelcontextprotocol.io/) server for
4
+ [contextlint](https://github.com/nozomi-koborinai/contextlint) —
5
+ a rule-based linter for structured Markdown documents.
6
+
7
+ Allows AI tools like Claude and Cursor to lint Markdown
8
+ documents during a conversation.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ npm install -D @contextlint/mcp-server
14
+ ```
15
+
16
+ ## Setup
17
+
18
+ Add to your `mcp.json`
19
+ (e.g. `.cursor/mcp.json` or `claude_desktop_config.json`):
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "contextlint": {
25
+ "command": "npx",
26
+ "args": ["@contextlint/mcp-server"]
27
+ }
28
+ }
29
+ }
30
+ ```
31
+
32
+ ## Available tools
33
+
34
+ | Tool | Description |
35
+ | ---- | ----------- |
36
+ | `lint` | Lint Markdown content directly with specified rules |
37
+ | `lint-files` | Lint files matching glob patterns using a config file |
38
+
39
+ See the
40
+ [main repository](https://github.com/nozomi-koborinai/contextlint)
41
+ for the full list of rules and configuration options.
42
+
43
+ ## License
44
+
45
+ [MIT](https://github.com/nozomi-koborinai/contextlint/blob/main/LICENSE)
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextlint/mcp-server",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "MCP server for contextlint",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -11,18 +11,18 @@
11
11
  "files": [
12
12
  "dist"
13
13
  ],
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "typecheck": "tsc --noEmit"
17
+ },
14
18
  "dependencies": {
19
+ "@contextlint/core": "workspace:*",
15
20
  "@modelcontextprotocol/sdk": "^1.27.0",
16
21
  "glob": "^13.0.6",
17
- "zod": "^4.0.0",
18
- "@contextlint/core": "0.4.1"
22
+ "zod": "^4.0.0"
19
23
  },
20
24
  "publishConfig": {
21
25
  "access": "public"
22
26
  },
23
- "license": "MIT",
24
- "scripts": {
25
- "build": "tsc",
26
- "typecheck": "tsc --noEmit"
27
- }
28
- }
27
+ "license": "MIT"
28
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Nozomi Koborinai
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.