@code-context-engine/mcp 0.1.2 → 0.1.3
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 +22 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
# @code-context-engine/mcp
|
|
2
2
|
|
|
3
|
-
Remote MCP server for [Context Engine](https://codesay.ai).
|
|
3
|
+
Remote MCP server for [Context Engine](https://codesay.ai). One tool — `codebase_context` — for Claude Code, Cursor, Windsurf, and any MCP client.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install (always latest)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
MCP clients should invoke via `npx` so each session pulls the current release:
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npx -y @code-context-engine/mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or install globally:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @code-context-engine/mcp
|
|
17
|
+
context-engine
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## MCP config
|
|
21
|
+
|
|
22
|
+
1. Sign in at [codesay.ai](https://codesay.ai) with GitHub.
|
|
23
|
+
2. Copy your `cek_…` API key from the console.
|
|
24
|
+
3. Paste into your MCP settings:
|
|
11
25
|
|
|
12
26
|
```json
|
|
13
27
|
{
|
|
@@ -23,7 +37,7 @@ It syncs your local repo incrementally to the remote Context Engine, runs hybrid
|
|
|
23
37
|
}
|
|
24
38
|
```
|
|
25
39
|
|
|
26
|
-
|
|
40
|
+
No `CONTEXT_ENGINE_REMOTE_URL` needed — defaults to `https://api.codesay.ai`.
|
|
27
41
|
|
|
28
42
|
## Environment variables
|
|
29
43
|
|
|
@@ -35,14 +49,11 @@ The remote service URL defaults to `https://api.codesay.ai`. Override with `CONT
|
|
|
35
49
|
|
|
36
50
|
## Tool: `codebase_context`
|
|
37
51
|
|
|
38
|
-
Required
|
|
39
|
-
|
|
40
|
-
- `path` — absolute path to the local repository root
|
|
41
|
-
- `query` — natural language or symbol-oriented search query
|
|
52
|
+
Required: `path` (repo root), `query` (natural language or symbols).
|
|
42
53
|
|
|
43
54
|
Optional: `token_budget`, `mode` (`hybrid` / `semantic` / `keyword`), `ext_filter`, `path_prefix`, `max_files`, `feedback`.
|
|
44
55
|
|
|
45
|
-
Only retrieval calls that return a context pack count against
|
|
56
|
+
Only retrieval calls that return a context pack count against billing quota. Sync, indexing, and feedback are free.
|
|
46
57
|
|
|
47
58
|
## Programmatic use
|
|
48
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-context-engine/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "MCP server that gives Claude Code, Cursor, and any MCP client real codebase context without burning tokens — incremental sync, hybrid dense+sparse+symbol-graph retrieval, token-budgeted context packs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://codesay.ai",
|