code-sentinel-mcp 0.2.3 → 0.2.4
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 +45 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ npm install -g code-sentinel-mcp
|
|
|
32
32
|
### From source
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
git clone https://github.com/
|
|
35
|
+
git clone https://github.com/salrad22/code-sentinel.git
|
|
36
36
|
cd code-sentinel
|
|
37
37
|
npm install
|
|
38
38
|
npm run build
|
|
@@ -67,6 +67,47 @@ Add to your Claude Code MCP configuration file (`~/.claude/claude_desktop_config
|
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
## Remote Server (Cloudflare Workers)
|
|
71
|
+
|
|
72
|
+
CodeSentinel is also available as a remote MCP server on Cloudflare Workers. **No local installation required!**
|
|
73
|
+
|
|
74
|
+
### Quick connect (Claude Code)
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
claude mcp add-remote code-sentinel https://code-sentinel-mcp.sharara.dev/sse
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Or use the Streamable HTTP endpoint (recommended for newer clients):
|
|
81
|
+
```bash
|
|
82
|
+
claude mcp add --transport http code-sentinel https://code-sentinel-mcp.sharara.dev/mcp
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Endpoints
|
|
86
|
+
|
|
87
|
+
| Endpoint | Protocol | Description |
|
|
88
|
+
|:---------|:---------|:------------|
|
|
89
|
+
| `https://code-sentinel-mcp.sharara.dev/mcp` | Streamable HTTP | Recommended |
|
|
90
|
+
| `https://code-sentinel-mcp.sharara.dev/sse` | Server-Sent Events | Legacy support |
|
|
91
|
+
| `https://code-sentinel-mcp.sharara.dev/` | HTTP GET | Health check / server info |
|
|
92
|
+
|
|
93
|
+
### Self-hosting on Cloudflare
|
|
94
|
+
|
|
95
|
+
Deploy your own instance:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
cd cloudflare
|
|
99
|
+
npm install
|
|
100
|
+
npm run dev # Local development at localhost:8787
|
|
101
|
+
npm run deploy # Deploy to your Cloudflare account
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Requirements:**
|
|
105
|
+
- Cloudflare account (free tier works)
|
|
106
|
+
- Wrangler CLI (`npm install -g wrangler`)
|
|
107
|
+
- `wrangler login` to authenticate
|
|
108
|
+
|
|
109
|
+
The server uses Durable Objects for persistent MCP connections. No database required.
|
|
110
|
+
|
|
70
111
|
## Available Tools
|
|
71
112
|
|
|
72
113
|
### `analyze_code`
|
|
@@ -306,6 +347,8 @@ MIT
|
|
|
306
347
|
|
|
307
348
|
## Links
|
|
308
349
|
|
|
350
|
+
- [GitHub Repository](https://github.com/salrad22/code-sentinel)
|
|
351
|
+
- [npm package](https://www.npmjs.com/package/code-sentinel-mcp)
|
|
352
|
+
- [Remote Server](https://code-sentinel-mcp.sharara.dev/)
|
|
309
353
|
- [Model Context Protocol](https://modelcontextprotocol.io/)
|
|
310
354
|
- [Claude Code](https://claude.ai/code)
|
|
311
|
-
- [npm package](https://www.npmjs.com/package/code-sentinel-mcp)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-sentinel-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"mcpName": "io.github.salrad22/code-sentinel",
|
|
5
5
|
"description": "MCP server for code quality analysis - security, errors, deceptive patterns, and placeholder detection",
|
|
6
6
|
"private": false,
|