@agent-lint/mcp 0.2.1 → 0.3.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/README.md +39 -27
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +1 -1
- package/dist/{chunk-MNSQOOMH.js → chunk-ZYDIOQXE.js} +250 -192
- package/dist/chunk-ZYDIOQXE.js.map +1 -0
- package/dist/http-security.d.ts +73 -0
- package/dist/http-security.d.ts.map +1 -0
- package/dist/http.d.ts +35 -0
- package/dist/http.d.ts.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/logger.d.ts +4 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/prompts/register-prompts.d.ts +3 -0
- package/dist/prompts/register-prompts.d.ts.map +1 -0
- package/dist/resources/register-resources.d.ts +3 -0
- package/dist/resources/register-resources.d.ts.map +1 -0
- package/dist/server.d.ts +12 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/stdio.d.ts +2 -0
- package/dist/stdio.d.ts.map +1 -0
- package/dist/tools/emit-maintenance-snippet.d.ts +3 -0
- package/dist/tools/emit-maintenance-snippet.d.ts.map +1 -0
- package/dist/tools/get-guidelines.d.ts +3 -0
- package/dist/tools/get-guidelines.d.ts.map +1 -0
- package/dist/tools/index.d.ts +6 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/plan-workspace-autofix.d.ts +6 -0
- package/dist/tools/plan-workspace-autofix.d.ts.map +1 -0
- package/dist/tools/quick-check.d.ts +3 -0
- package/dist/tools/quick-check.d.ts.map +1 -0
- package/dist/tools/schema-compat.d.ts +13 -0
- package/dist/tools/schema-compat.d.ts.map +1 -0
- package/dist/tools/tool-result.d.ts +4 -0
- package/dist/tools/tool-result.d.ts.map +1 -0
- package/dist/transport-security.d.ts +51 -0
- package/dist/transport-security.d.ts.map +1 -0
- package/package.json +6 -3
- package/dist/chunk-MNSQOOMH.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# @agent-lint/mcp
|
|
2
2
|
|
|
3
|
-
MCP server for AI agent context artifact
|
|
3
|
+
MCP server for AI agent context artifact orchestration.
|
|
4
4
|
|
|
5
5
|
**Zero LLM dependencies.** Fully deterministic. Local-first. No database. No auth.
|
|
6
6
|
|
|
7
7
|
## What It Does
|
|
8
8
|
|
|
9
|
-
Provides a [Model Context Protocol](https://modelcontextprotocol.io/) server that
|
|
9
|
+
Provides a [Model Context Protocol](https://modelcontextprotocol.io/) server that guides your coding agent in creating, maintaining, and improving AI-agent context artifacts:
|
|
10
10
|
|
|
11
11
|
- `AGENTS.md` / `CLAUDE.md`
|
|
12
12
|
- Skills, Rules, Workflows, Plans
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Comprehensive guidelines, workspace scanning, maintenance rules, and repeatable improvement loops — all without calling any LLM.
|
|
15
15
|
|
|
16
16
|
## Quick Start
|
|
17
17
|
|
|
@@ -28,7 +28,7 @@ Add to `.cursor/mcp.json`:
|
|
|
28
28
|
```json
|
|
29
29
|
{
|
|
30
30
|
"mcpServers": {
|
|
31
|
-
"
|
|
31
|
+
"agentlint": {
|
|
32
32
|
"command": "npx",
|
|
33
33
|
"args": ["-y", "@agent-lint/mcp"]
|
|
34
34
|
}
|
|
@@ -43,7 +43,7 @@ Add to `claude_desktop_config.json`:
|
|
|
43
43
|
```json
|
|
44
44
|
{
|
|
45
45
|
"mcpServers": {
|
|
46
|
-
"
|
|
46
|
+
"agentlint": {
|
|
47
47
|
"command": "npx",
|
|
48
48
|
"args": ["-y", "@agent-lint/mcp"]
|
|
49
49
|
}
|
|
@@ -53,16 +53,15 @@ Add to `claude_desktop_config.json`:
|
|
|
53
53
|
|
|
54
54
|
### VS Code
|
|
55
55
|
|
|
56
|
-
Add to
|
|
56
|
+
Add to `.vscode/mcp.json`:
|
|
57
57
|
|
|
58
58
|
```json
|
|
59
59
|
{
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
60
|
+
"servers": {
|
|
61
|
+
"agentlint": {
|
|
62
|
+
"type": "stdio",
|
|
63
|
+
"command": "npx",
|
|
64
|
+
"args": ["-y", "@agent-lint/mcp"]
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
}
|
|
@@ -70,12 +69,12 @@ Add to your VS Code `settings.json`:
|
|
|
70
69
|
|
|
71
70
|
### Windsurf
|
|
72
71
|
|
|
73
|
-
Add to
|
|
72
|
+
Add to `.windsurf/mcp_config.json`:
|
|
74
73
|
|
|
75
74
|
```json
|
|
76
75
|
{
|
|
77
76
|
"mcpServers": {
|
|
78
|
-
"
|
|
77
|
+
"agentlint": {
|
|
79
78
|
"command": "npx",
|
|
80
79
|
"args": ["-y", "@agent-lint/mcp"]
|
|
81
80
|
}
|
|
@@ -83,19 +82,32 @@ Add to your Windsurf MCP config:
|
|
|
83
82
|
}
|
|
84
83
|
```
|
|
85
84
|
|
|
86
|
-
## Available Tools
|
|
85
|
+
## Available Tools (4)
|
|
86
|
+
|
|
87
|
+
| Tool | Description |
|
|
88
|
+
| ---- | ----------- |
|
|
89
|
+
| `agentlint_get_guidelines` | Returns comprehensive guidelines for creating or updating any artifact type — mandatory sections, do/don't lists, anti-patterns, templates, and quality checklist |
|
|
90
|
+
| `agentlint_plan_workspace_autofix` | Scans your workspace, discovers all context artifacts, identifies missing files and incomplete sections, and returns a step-by-step fix plan |
|
|
91
|
+
| `agentlint_quick_check` | After structural changes (new modules, config changes, dependency updates), checks if context artifacts need updating |
|
|
92
|
+
| `agentlint_emit_maintenance_snippet` | Returns a persistent rule snippet for your IDE that keeps your agent maintaining context automatically |
|
|
93
|
+
|
|
94
|
+
## MCP Resources (3)
|
|
95
|
+
|
|
96
|
+
| Resource | Content |
|
|
97
|
+
| -------- | ------- |
|
|
98
|
+
| `agentlint://guidelines/{type}` | Full guidelines for an artifact type |
|
|
99
|
+
| `agentlint://template/{type}` | Skeleton template for creating a new artifact |
|
|
100
|
+
| `agentlint://path-hints/{type}` | File discovery patterns per IDE client |
|
|
101
|
+
|
|
102
|
+
## Supported Artifact Types
|
|
87
103
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
95
|
-
| `quality_gate_artifact` | Check if an artifact meets a target quality score |
|
|
96
|
-
| `suggest_patch` | Generate patch suggestions to improve an artifact |
|
|
97
|
-
| `apply_patches` | Apply patches to local files with hash guard, allowlist, and backup protection |
|
|
98
|
-
| `validate_export` | Validate final artifact output for safety and correctness |
|
|
104
|
+
| Type | File Patterns |
|
|
105
|
+
| ---- | ------------- |
|
|
106
|
+
| **Agents** | `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md` |
|
|
107
|
+
| **Rules** | `.cursor/rules/*.md`, `.windsurf/rules/*.md` |
|
|
108
|
+
| **Skills** | `.cursor/skills/*/SKILL.md`, `.windsurf/skills/*/SKILL.md` |
|
|
109
|
+
| **Workflows** | `.cursor/workflows/*.md`, `.windsurf/workflows/*.md` |
|
|
110
|
+
| **Plans** | `docs/*.md`, `.windsurf/plans/*.md` |
|
|
99
111
|
|
|
100
112
|
## Quality Metrics (12)
|
|
101
113
|
|
|
@@ -121,7 +133,7 @@ npx @agent-lint/mcp --http --port 3001
|
|
|
121
133
|
|
|
122
134
|
- **No LLM**: Fully deterministic. No API calls, no tokens, no cost.
|
|
123
135
|
- **No State**: Every call is stateless. No database, no cache.
|
|
124
|
-
- **No File Writes**: Read-only
|
|
136
|
+
- **No File Writes**: Read-only. Agent Lint provides guidance — your coding agent does the work.
|
|
125
137
|
- **Minimum Dependencies**: Published package under 500 KB packed.
|
|
126
138
|
|
|
127
139
|
## Related
|
package/dist/bin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":""}
|