@runcontext/mcp 0.3.3 → 0.3.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/LICENSE +21 -0
- package/README.md +74 -0
- package/package.json +17 -9
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eric Kittelson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# @runcontext/mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [ContextKit](https://github.com/erickittelson/ContextKit) — expose AI-ready metadata to agents via the [Model Context Protocol](https://modelcontextprotocol.io).
|
|
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:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# stdio transport (for Claude Code, Cursor, etc.)
|
|
15
|
+
npx @runcontext/cli serve --stdio
|
|
16
|
+
|
|
17
|
+
# HTTP transport (for multi-agent or remote setups)
|
|
18
|
+
npx @runcontext/cli serve --http --port 3000
|
|
19
|
+
```
|
|
20
|
+
|
|
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
|
+
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.4",
|
|
4
4
|
"description": "MCP server for exposing ContextKit context to AI agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Eric Kittelson",
|
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/erickittelson/ContextKit.git",
|
|
11
11
|
"directory": "packages/mcp"
|
|
12
12
|
},
|
|
13
|
-
"keywords": [
|
|
13
|
+
"keywords": [
|
|
14
|
+
"contextkit",
|
|
15
|
+
"mcp",
|
|
16
|
+
"model-context-protocol",
|
|
17
|
+
"ai",
|
|
18
|
+
"llm"
|
|
19
|
+
],
|
|
14
20
|
"type": "module",
|
|
15
21
|
"main": "./dist/index.cjs",
|
|
16
22
|
"module": "./dist/index.mjs",
|
|
@@ -27,13 +33,11 @@
|
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
},
|
|
30
|
-
"files": [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"clean": "rm -rf dist"
|
|
34
|
-
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
35
39
|
"dependencies": {
|
|
36
|
-
"@runcontext/core": "^0.3.
|
|
40
|
+
"@runcontext/core": "^0.3.4",
|
|
37
41
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
38
42
|
"express": "^5.1.0",
|
|
39
43
|
"zod": "^3.24.0"
|
|
@@ -44,5 +48,9 @@
|
|
|
44
48
|
"tsup": "^8.4.0",
|
|
45
49
|
"typescript": "^5.7.0",
|
|
46
50
|
"vitest": "^3.2.0"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsup",
|
|
54
|
+
"clean": "rm -rf dist"
|
|
47
55
|
}
|
|
48
|
-
}
|
|
56
|
+
}
|