github-mcp-sketch 0.1.0 → 0.1.1
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 +41 -0
- package/dist/server.js +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,47 @@ claude mcp add github-sketch -e GITHUB_PAT=<new_pat> -- npx github-mcp-sketch
|
|
|
120
120
|
|
|
121
121
|
Or edit `~/.claude.json` directly under the `mcpServers.github-sketch.env` block.
|
|
122
122
|
|
|
123
|
+
## Wire into Codex
|
|
124
|
+
|
|
125
|
+
Add the server to your Codex config at `~/.codex/config.toml`.
|
|
126
|
+
|
|
127
|
+
Minimal — just the required PAT:
|
|
128
|
+
|
|
129
|
+
```toml
|
|
130
|
+
[mcp_servers.github-sketch]
|
|
131
|
+
command = "npx"
|
|
132
|
+
args = ["github-mcp-sketch"]
|
|
133
|
+
|
|
134
|
+
[mcp_servers.github-sketch.env]
|
|
135
|
+
GITHUB_PAT = "<your_pat>"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
With optional variables:
|
|
139
|
+
|
|
140
|
+
```toml
|
|
141
|
+
[mcp_servers.github-sketch]
|
|
142
|
+
command = "npx"
|
|
143
|
+
args = ["github-mcp-sketch"]
|
|
144
|
+
|
|
145
|
+
[mcp_servers.github-sketch.env]
|
|
146
|
+
GITHUB_PAT = "<your_pat>"
|
|
147
|
+
CACHE_SIZE = "200"
|
|
148
|
+
METRICS_CSV = "/tmp/github-sketch-metrics.csv"
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
If you installed the package globally, you can launch the binary directly instead:
|
|
152
|
+
|
|
153
|
+
```toml
|
|
154
|
+
[mcp_servers.github-sketch]
|
|
155
|
+
command = "github-mcp-sketch"
|
|
156
|
+
args = []
|
|
157
|
+
|
|
158
|
+
[mcp_servers.github-sketch.env]
|
|
159
|
+
GITHUB_PAT = "<your_pat>"
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Restart Codex after editing `~/.codex/config.toml` so the new MCP server is registered. The server should then appear as `github-sketch` and expose the upstream GitHub tools plus `query_response`.
|
|
163
|
+
|
|
123
164
|
## Wire into other MCP hosts
|
|
124
165
|
|
|
125
166
|
The proxy is a standard stdio MCP — anything that speaks MCP can host it. The general pattern:
|
package/dist/server.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-mcp-sketch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP proxy in front of the GitHub MCP that returns inferred schemas instead of raw JSON, plus a query_response tool for drilling back into cached values. Built on json-schema-sketch.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/server.js",
|