codestation-mcp 1.0.0 → 1.2.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 +62 -4
- package/bin/codestation-mcp.mjs +2366 -1605
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,18 +6,70 @@
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## 1-Click Auto Setup
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Automatically configure **Claude Desktop**, **Cursor IDE**, and **Windsurf** in 1 click:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# With Pro license
|
|
15
|
+
npx -y codestation-mcp setup --key CS-PRO-YOUR-KEY
|
|
16
|
+
|
|
17
|
+
# Or Free Tier
|
|
18
|
+
npx -y codestation-mcp setup
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Terminal Developer CLI Subcommands
|
|
24
|
+
|
|
25
|
+
`codestation-mcp` is also a dual-purpose terminal Swiss-Army knife:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Convert cURL to TypeScript fetch / axios / Python / Go
|
|
29
|
+
npx codestation-mcp curl "curl -X POST https://api.example.com -d '{\"k\":\"v\"}'" --target fetch
|
|
30
|
+
|
|
31
|
+
# Audit .env for secret leaks (Stripe, AWS, OpenAI, GitHub PAT) & diff with .env.example
|
|
32
|
+
npx codestation-mcp env .env --example .env.example
|
|
33
|
+
|
|
34
|
+
# Generate realistic mock dataset (JSON or SQL INSERT for DB seeding)
|
|
35
|
+
npx codestation-mcp mock users --count 10 --sql --table users
|
|
36
|
+
|
|
37
|
+
# Parse and resolve Git merge conflicts (ours, theirs, or both)
|
|
38
|
+
npx codestation-mcp conflict ./src/index.ts --strategy ours
|
|
39
|
+
|
|
40
|
+
# Decode & inspect JWT tokens
|
|
41
|
+
npx codestation-mcp jwt <token>
|
|
42
|
+
|
|
43
|
+
# Format SQL queries (Postgres, MySQL, SQLite, SQL Server)
|
|
44
|
+
npx codestation-mcp sql "SELECT * FROM users"
|
|
45
|
+
|
|
46
|
+
# Explain Cron expression & next 5 runtimes
|
|
47
|
+
npx codestation-mcp cron "0 9 * * 1-5"
|
|
48
|
+
|
|
49
|
+
# Generate TypeScript interfaces from JSON
|
|
50
|
+
npx codestation-mcp ts '{"id":1,"name":"Ada"}' User
|
|
51
|
+
|
|
52
|
+
# Generate Zod validation schema from JSON
|
|
53
|
+
npx codestation-mcp zod '{"id":1,"name":"Ada"}'
|
|
54
|
+
|
|
55
|
+
# Hash string with SHA-256 / SHA-512 / MD5 / CRC32
|
|
56
|
+
npx codestation-mcp hash "secret" --alg sha256
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Quick Start (Stdio MCP Server)
|
|
62
|
+
|
|
63
|
+
You can run `codestation-mcp` as an MCP server using `npx`:
|
|
12
64
|
|
|
13
65
|
```bash
|
|
14
66
|
npx -y codestation-mcp
|
|
15
67
|
```
|
|
16
68
|
|
|
17
|
-
Or
|
|
69
|
+
Or with your Pro license key:
|
|
18
70
|
|
|
19
71
|
```bash
|
|
20
|
-
npx -y codestation-mcp --key
|
|
72
|
+
npx -y codestation-mcp --key CS-PRO-YOUR-KEY
|
|
21
73
|
```
|
|
22
74
|
|
|
23
75
|
---
|
|
@@ -71,6 +123,12 @@ Add to your project's `.cursor/mcp.json` or Cursor Global Settings:
|
|
|
71
123
|
- `generate_uuid` — v4 UUID generator
|
|
72
124
|
|
|
73
125
|
### Pro Tier (Requires License Key)
|
|
126
|
+
- `codestation_curl_to_code` — Convert cURL to TypeScript fetch/axios, Python requests, or Go net/http
|
|
127
|
+
- `codestation_env_audit` — Scan .env for leaked secrets (Stripe, AWS, OpenAI, GitHub PAT) & diff with .env.example
|
|
128
|
+
- `codestation_mock_data` — Realistic mock dataset & SQL INSERT generator for DB seeding
|
|
129
|
+
- `codestation_git_conflict` — Parse and resolve Git merge conflict markers (ours, theirs, both)
|
|
130
|
+
- `codestation_json_to_typescript` — Generate TypeScript interfaces and nested types from sample JSON
|
|
131
|
+
- `codestation_json_to_zod` — Generate production-ready Zod validation schemas and inferred types
|
|
74
132
|
- `decode_jwt` — Parse and decode JWT headers, claims, and expiry dates
|
|
75
133
|
- `generate_json_schema` — Infer JSON Schema Draft 7/2020-12 from sample JSON
|
|
76
134
|
- `test_regex` — Test regex with match groups and capture explanations
|