general-coding-tools-mcp 1.0.9 → 1.1.1

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 CHANGED
@@ -1,8 +1,98 @@
1
- # MCP server
1
+ # General Coding Tools MCP
2
2
 
3
- This directory is the General Coding Tools MCP server. The [root README](../README.md) describes each skill and subagent and how to use the server.
3
+ MCP server that exposes **skills** and **subagents** for general coding workflows. Add it in Cursor, Claude Desktop, or any MCP client to get structured guidance for debugging, audits, planning, testing, docs, research, and verification.
4
4
 
5
- **Build:** `npm install && npm run build`
5
+ ## Setup
6
+
7
+ ```json
8
+ {
9
+ "mcpServers": {
10
+ "gct": {
11
+ "command": "npx",
12
+ "args": ["-y", "general-coding-tools-mcp"]
13
+ }
14
+ }
15
+ }
16
+ ```
17
+
18
+ Using `gct` as the server name gives you short slash commands like `/gct:security-audit`. You can use any name you prefer.
19
+
20
+ If you use a local clone instead of npm, point `command` to `node` and `args` to the path to `dist/index.js`.
21
+
22
+ ---
23
+
24
+ ## Skills
25
+
26
+ Structured processes and checklists the model can follow when you ask for that kind of help.
27
+
28
+ | Skill | What it does |
29
+ |-------|----------------|
30
+ | **systematic-debugging** | Guides root-cause analysis: reproduce, isolate, hypothesize, verify, fix. Use when something is broken or you're investigating a failure. |
31
+ | **correctness-audit** | Reviews code for correctness bugs, uncaught edge cases, and scalability issues (logic, null/async, types, resources, N+1, etc.). |
32
+ | **security-audit** | Audits against OWASP Top 10, API Security Top 10, CWE, GDPR, PCI-DSS. Cites standards and gives concrete fixes. |
33
+ | **best-practices-audit** | Audits against DRY, SOLID, KISS, YAGNI, Clean Code, and similar. |
34
+ | **feature-planning** | Plans a feature before coding: context, requirements, design (behavior, data, API, state), implementation steps, and quality/risk. |
35
+ | **test-deno** | Writes and reviews Deno integration tests for Supabase Edge Functions. Enforces sanitizers, assertions, mocking, HTTP testing, and environment isolation. |
36
+ | **test-frontend** | Writes and reviews React tests using Vitest and React Testing Library. Enforces RTL query priority, Vitest mocking, Zustand/TanStack Query testing. |
37
+ | **test-pgtap** | Writes and reviews pgTAP database tests for Supabase SQL migrations. Enforces transaction isolation, plan counts, assertion selection, RLS verification. |
38
+ | **migration-audit** | Audits PL/pgSQL migration files for NULL traps, race conditions (TOCTOU), missing constraints, error handling gaps, JSONB pitfalls, volatility mismarks, financial safety, and security (SECURITY DEFINER, search_path, REVOKE/GRANT). |
39
+ | **ui-audit** | Audits React/Tailwind UI for WCAG 2.2 accessibility violations and structural anti-patterns (component duplication, separation of concerns). |
40
+
41
+ Each skill is available three ways:
42
+ - **Slash command** — `/gct:security-audit` (or whatever server name you chose) — select from the command palette with an optional task/scope argument
43
+ - **Tool** — the model calls `apply_skill` automatically when it recognizes the need
44
+ - **Resource** — fetch raw content via `get_skill`
45
+
46
+ ---
47
+
48
+ ## Subagents
49
+
50
+ Focused agents for specific tasks. Available as slash commands (`/gct:deep-research`), tools (`apply_subagent`), or resources (`get_subagent`).
51
+
52
+ | Subagent | What it does |
53
+ |----------|----------------|
54
+ | **deep-research** | Deep research and literature review. Uses web/Exa and AlphaXiv (when available). Synthesizes answers with pros/cons and sources. |
55
+ | **update-docs** | Keeps project documentation in sync with the code — architecture, setup, deploy, contributing, README, docstrings. |
56
+ | **verifier** | Checks that completed work matches what was claimed. Verifies deliverables exist and work, flags unstated changes. |
57
+
58
+ ---
59
+
60
+ ## Recommended Workflow
61
+
62
+ **For every new code addition:**
63
+
64
+ 1. **Plan first** — use `feature-planning` before writing any code
65
+ 2. **Audit correctness** — use `correctness-audit` on the implementation
66
+ 3. **Audit migrations** — use `migration-audit` on any SQL migration files (PL/pgSQL functions, DDL)
67
+ 4. **Audit security** — use `security-audit` if the change touches auth, payments, APIs, or user data
68
+ 5. **Audit best practices** — use `best-practices-audit` as a final pass
69
+
70
+ **Always get a second opinion:** have a second agent verify audit findings, OR dispatch the audit as a subagent and have the main agent review the results. This catches false positives and ensures nothing is missed.
71
+
72
+ ---
73
+
74
+ ## Tools
75
+
76
+ | Tool | Purpose |
77
+ |------|---------|
78
+ | `list_skills` | List all available skills |
79
+ | `list_subagents` | List all available subagents |
80
+ | `get_skill` | Fetch the full content of a skill |
81
+ | `get_subagent` | Fetch the full content of a subagent |
82
+ | `apply_skill` | Apply a skill to a user request |
83
+ | `apply_subagent` | Apply a subagent to a user request |
84
+
85
+ **Resources:** URIs like `general-coding-tools-mcp://skill/systematic-debugging` and `general-coding-tools-mcp://subagent/deep-research` for direct reads.
86
+
87
+ ---
88
+
89
+ ## Development
90
+
91
+ **Build:** `npm install && npm run build`
6
92
  **Run:** `npm start` or `node dist/index.js`
7
93
 
8
94
  Content lives in `skills/` and `subagents/` and is bundled into `dist/content.json` at build time.
95
+
96
+ ## License
97
+
98
+ MIT.