codestation-mcp 0.0.0-stage → 1.1.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 +100 -2
- package/bin/codestation-mcp.mjs +2217 -0
- package/package.json +37 -4
package/README.md
CHANGED
|
@@ -1,3 +1,101 @@
|
|
|
1
|
-
#
|
|
1
|
+
# codestation-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Local-first Model Context Protocol (MCP) server for [Code Station](https://codestation.in) developer tools.
|
|
4
|
+
|
|
5
|
+
`codestation-mcp` exposes 20+ offline-capable developer utilities directly to AI coding assistants like **Claude Desktop**, **Cursor**, **Windsurf**, and **Antigravity**. All tools process data locally on your machine with zero server roundtrips.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
You can run `codestation-mcp` instantly without installation using `npx`:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx -y codestation-mcp
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Or pass your Pro license key to unlock all premium tools:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx -y codestation-mcp --key cs_pro_YOUR_KEY
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## AI Assistant Configuration
|
|
26
|
+
|
|
27
|
+
### Claude Desktop
|
|
28
|
+
|
|
29
|
+
Edit your `claude_desktop_config.json`:
|
|
30
|
+
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
31
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"mcpServers": {
|
|
36
|
+
"codestation": {
|
|
37
|
+
"command": "npx",
|
|
38
|
+
"args": ["-y", "codestation-mcp", "--key", "cs_pro_YOUR_KEY"]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Cursor IDE
|
|
45
|
+
|
|
46
|
+
Add to your project's `.cursor/mcp.json` or Cursor Global Settings:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"codestation": {
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": ["-y", "codestation-mcp", "--key", "cs_pro_YOUR_KEY"]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Available Tools
|
|
62
|
+
|
|
63
|
+
### Free Tier (Unlimited, No Key Required)
|
|
64
|
+
- `format_json` & `minify_json` — Beautify or compact JSON
|
|
65
|
+
- `json_to_yaml` & `yaml_to_json` — Two-way JSON ↔ YAML conversions
|
|
66
|
+
- `base64_encode` & `base64_decode` — Base64 and URL-safe conversions
|
|
67
|
+
- `hex_encode` & `hex_decode` — Hexadecimal formatting
|
|
68
|
+
- `url_encode` & `url_decode` — RFC 3986 URI encoding
|
|
69
|
+
- `convert_case` & `slugify` — CamelCase, snake_case, kebab-case, PascalCase, title case
|
|
70
|
+
- `diff_text` — Line-by-line unified text diffing
|
|
71
|
+
- `generate_uuid` — v4 UUID generator
|
|
72
|
+
|
|
73
|
+
### Pro Tier (Requires License Key)
|
|
74
|
+
- `decode_jwt` — Parse and decode JWT headers, claims, and expiry dates
|
|
75
|
+
- `generate_json_schema` — Infer JSON Schema Draft 7/2020-12 from sample JSON
|
|
76
|
+
- `test_regex` — Test regex with match groups and capture explanations
|
|
77
|
+
- `hash_data` & `generate_hmac` — MD5, SHA-1, SHA-256, SHA-512, HMAC-SHA256, HMAC-SHA512, CRC32
|
|
78
|
+
- `calculate_business_days` — Compute working days excluding weekends and custom holidays
|
|
79
|
+
- `compute_next_cron_runs` — Parse cron expressions and calculate next execution timestamps
|
|
80
|
+
- `format_sql` & `run_sql` — Format SQL queries across PostgreSQL, MySQL, SQLite, and SQL Server
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## License & Activation
|
|
85
|
+
|
|
86
|
+
To activate Pro features, get a license key at [codestation.in/pro](https://codestation.in/pro):
|
|
87
|
+
- **India:** ₹199 / month or ₹999 lifetime
|
|
88
|
+
- **Global:** $2.99 / month or $19.00 lifetime
|
|
89
|
+
|
|
90
|
+
### Ways to provide your key:
|
|
91
|
+
1. CLI flag: `npx codestation-mcp --key cs_pro_YOUR_KEY`
|
|
92
|
+
2. Environment variable: `export CODESTATION_KEY="cs_pro_YOUR_KEY"`
|
|
93
|
+
3. Config file: Save `{"licenseKey": "cs_pro_YOUR_KEY"}` in `~/.codestation/license.json`
|
|
94
|
+
|
|
95
|
+
Each license allows up to **3 concurrent active devices** with 30-day automatic pruning and instant device resets.
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## License
|
|
100
|
+
|
|
101
|
+
MIT © [Code Station](https://codestation.in)
|