mcp-apitools 1.0.5 → 1.0.6
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 +4 -79
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,83 +1,8 @@
|
|
|
1
|
-
# mcp-apitools
|
|
2
1
|
|
|
3
|
-
MCP server with 8 API & web development utilities for Claude, Cursor, and other MCP-compatible AI assistants.
|
|
4
2
|
|
|
5
|
-
##
|
|
3
|
+
## Support
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
npx mcp-apitools
|
|
9
|
-
```
|
|
5
|
+
If this tool saves you time, consider supporting development:
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Add to `claude_desktop_config.json`:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"mcpServers": {
|
|
18
|
-
"apitools": {
|
|
19
|
-
"command": "npx",
|
|
20
|
-
"args": ["-y", "mcp-apitools"]
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Cursor
|
|
27
|
-
|
|
28
|
-
Add to MCP settings:
|
|
29
|
-
|
|
30
|
-
```json
|
|
31
|
-
{
|
|
32
|
-
"mcpServers": {
|
|
33
|
-
"apitools": {
|
|
34
|
-
"command": "npx",
|
|
35
|
-
"args": ["-y", "mcp-apitools"]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Tools (8)
|
|
42
|
-
|
|
43
|
-
| Tool | Description |
|
|
44
|
-
|------|-------------|
|
|
45
|
-
| `http_status` | Look up any HTTP status code — phrase, category, description |
|
|
46
|
-
| `mime_lookup` | Get MIME type for file extension or find extensions for a MIME type |
|
|
47
|
-
| `jwt_create` | Create unsigned JWTs for testing with custom claims |
|
|
48
|
-
| `mock_data` | Generate fake people with names, emails, phones, addresses |
|
|
49
|
-
| `cors_headers` | Generate CORS response headers for your API |
|
|
50
|
-
| `cookie_parse` | Parse Cookie or Set-Cookie headers into structured data |
|
|
51
|
-
| `basic_auth` | Generate Basic Authorization headers |
|
|
52
|
-
| `query_string` | Parse or build URL query strings |
|
|
53
|
-
|
|
54
|
-
## Examples
|
|
55
|
-
|
|
56
|
-
**Look up HTTP 429:**
|
|
57
|
-
> "What does HTTP 429 mean?" → `Too Many Requests — User has sent too many requests (rate limiting).`
|
|
58
|
-
|
|
59
|
-
**Generate test data:**
|
|
60
|
-
> "Generate 3 fake users for testing" → Returns 3 people with realistic names, emails, addresses
|
|
61
|
-
|
|
62
|
-
**Create a test JWT:**
|
|
63
|
-
> "Make a JWT with sub=123 and role=admin" → Returns unsigned JWT token
|
|
64
|
-
|
|
65
|
-
**Parse cookies:**
|
|
66
|
-
> "Parse this cookie header: session=abc123; theme=dark" → `{"session": "abc123", "theme": "dark"}`
|
|
67
|
-
|
|
68
|
-
## See Also
|
|
69
|
-
|
|
70
|
-
- [mcp-devutils](https://www.npmjs.com/package/mcp-devutils) — UUID, hash, base64, timestamps, JWT decode, and more
|
|
71
|
-
- [mcp-texttools](https://www.npmjs.com/package/mcp-texttools) — 10 text transformation tools: case convert, slugify, word count, lorem ipsum, regex replace, markdown strip
|
|
72
|
-
- [mcp-mathtools](https://www.npmjs.com/package/mcp-mathtools) — 12 math & statistics tools: arithmetic, statistics, unit conversion, financial calculations, matrices
|
|
73
|
-
- [mcp-datetime](https://www.npmjs.com/package/mcp-datetime) — 10 date & time tools: timezone conversion, date math, cron explanation, business days
|
|
74
|
-
- [mcp-quick-calc](https://www.npmjs.com/package/mcp-quick-calc) — 5 calculator tools: currency conversion, percentages, compound interest, unit conversion, loan payments
|
|
75
|
-
- **[mcp-all-tools](https://www.npmjs.com/package/mcp-all-tools)** — All 54+ tools in a single MCP server
|
|
76
|
-
|
|
77
|
-
## License
|
|
78
|
-
|
|
79
|
-
MIT
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
☕ If this saves you time, [buy me a coffee](https://buymeacoffee.com/gl89tu25lp)
|
|
7
|
+
- [Buy me a coffee](https://buymeacoffee.com/gl89tu25lp)
|
|
8
|
+
- [Tip via Stripe ($3)](https://buy.stripe.com/dRm8wP8R295Z9VyeN59Zm00)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-apitools",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server with API & web development utilities
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "MCP server with API & web development utilities \u2014 HTTP status codes, MIME types, JWT creation, mock data generation, CORS headers, cookie parsing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"bin": {
|
|
@@ -34,5 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
37
|
+
},
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/hlteoh37/mcp-apitools.git"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/hlteoh37/mcp-apitools#readme",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/hlteoh37/mcp-apitools/issues"
|
|
37
45
|
}
|
|
38
46
|
}
|