@runcontext/mcp 0.3.4 → 0.3.5
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 +3 -67
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,74 +1,10 @@
|
|
|
1
1
|
# @runcontext/mcp
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## What it does
|
|
6
|
-
|
|
7
|
-
Serves your ContextKit metadata graph — models, governance, glossary, golden queries, guardrails, business rules — to AI agents over MCP. Agents get structured semantic context instead of guessing from raw schemas.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
Usually accessed through the CLI:
|
|
3
|
+
> **Deprecated** — Use [`@runcontext/cli`](https://www.npmjs.com/package/@runcontext/cli) instead. The MCP server is included in the CLI package.
|
|
12
4
|
|
|
13
5
|
```bash
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# HTTP transport (for multi-agent or remote setups)
|
|
18
|
-
npx @runcontext/cli serve --http --port 3000
|
|
6
|
+
npm install @runcontext/cli
|
|
7
|
+
context serve --stdio
|
|
19
8
|
```
|
|
20
9
|
|
|
21
|
-
## Resources
|
|
22
|
-
|
|
23
|
-
| Resource | Description |
|
|
24
|
-
|---|---|
|
|
25
|
-
| `context://manifest` | Full compiled manifest with all models, governance, and rules |
|
|
26
|
-
| `context://model/{name}` | Single model with datasets, fields, relationships, metrics |
|
|
27
|
-
| `context://glossary` | All business term definitions and synonyms |
|
|
28
|
-
| `context://tier/{name}` | Tier scorecard for a model |
|
|
29
|
-
|
|
30
|
-
## Tools
|
|
31
|
-
|
|
32
|
-
| Tool | Description |
|
|
33
|
-
|---|---|
|
|
34
|
-
| `context_search` | Full-text search across models, fields, terms, and owners |
|
|
35
|
-
| `context_explain` | Look up any entity by name and get full details |
|
|
36
|
-
| `context_validate` | Run lint rules and return diagnostics |
|
|
37
|
-
| `context_tier` | Get the current tier scorecard |
|
|
38
|
-
| `context_golden_queries` | Retrieve curated SQL templates for a model |
|
|
39
|
-
| `context_guardrails` | Get required filters and business rules for safe queries |
|
|
40
|
-
|
|
41
|
-
## Configure in Claude Code
|
|
42
|
-
|
|
43
|
-
`.claude/mcp.json`:
|
|
44
|
-
|
|
45
|
-
```json
|
|
46
|
-
{
|
|
47
|
-
"mcpServers": {
|
|
48
|
-
"contextkit": {
|
|
49
|
-
"command": "npx",
|
|
50
|
-
"args": ["@runcontext/cli", "serve", "--stdio"]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Or HTTP mode:
|
|
57
|
-
|
|
58
|
-
```json
|
|
59
|
-
{
|
|
60
|
-
"mcpServers": {
|
|
61
|
-
"contextkit": {
|
|
62
|
-
"url": "http://localhost:3000/mcp"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Part of ContextKit
|
|
69
|
-
|
|
70
10
|
See the [ContextKit repository](https://github.com/erickittelson/ContextKit) for full documentation.
|
|
71
|
-
|
|
72
|
-
## License
|
|
73
|
-
|
|
74
|
-
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runcontext/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "MCP server for exposing ContextKit context to AI agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Eric Kittelson",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@runcontext/core": "^0.3.
|
|
40
|
+
"@runcontext/core": "^0.3.5",
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
42
42
|
"express": "^5.1.0",
|
|
43
43
|
"zod": "^3.24.0"
|