@contextlint/mcp-server 0.4.0 → 0.4.2

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.
Files changed (2) hide show
  1. package/README.md +45 -0
  2. package/package.json +2 -2
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextlint/mcp-server",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "MCP server for contextlint",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -15,7 +15,7 @@
15
15
  "@modelcontextprotocol/sdk": "^1.27.0",
16
16
  "glob": "^13.0.6",
17
17
  "zod": "^4.0.0",
18
- "@contextlint/core": "0.4.0"
18
+ "@contextlint/core": "0.4.2"
19
19
  },
20
20
  "publishConfig": {
21
21
  "access": "public"