@feedmob/github-issues 0.0.9 → 1.0.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 +21 -11
- package/dist/common/version.js +1 -1
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -35,17 +35,33 @@ npm run build
|
|
|
35
35
|
|
|
36
36
|
### Example MCP Client Config (stdio)
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
**Optional:** run from the built artifact when you have the repo. After `npm run build` in `src/github-issues/`:
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"mcpServers": {
|
|
43
|
+
"feedmob-github-issues": {
|
|
44
|
+
"command": "node",
|
|
45
|
+
"args": ["/absolute/path/to/fm-mcp-servers/src/github-issues/dist/index.js"],
|
|
46
|
+
"env": {
|
|
47
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxx",
|
|
48
|
+
"GITHUB_DEFAULT_OWNER": "feedmob",
|
|
49
|
+
"AI_API_URL": "https://your-feedmob-api.example.com",
|
|
50
|
+
"AI_API_TOKEN": "your-feedmob-api-token"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Alternatively, use `npx` (avoid global install so the correct dependencies are used):
|
|
39
58
|
|
|
40
59
|
```json
|
|
41
60
|
{
|
|
42
61
|
"mcpServers": {
|
|
43
62
|
"feedmob-github-issues": {
|
|
44
63
|
"command": "npx",
|
|
45
|
-
"args": [
|
|
46
|
-
"-y",
|
|
47
|
-
"@feedmob/github-issues"
|
|
48
|
-
],
|
|
64
|
+
"args": ["-y", "@feedmob/github-issues"],
|
|
49
65
|
"env": {
|
|
50
66
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxx",
|
|
51
67
|
"GITHUB_DEFAULT_OWNER": "feedmob",
|
|
@@ -136,12 +152,6 @@ npx tsx index.ts
|
|
|
136
152
|
|
|
137
153
|
## Troubleshooting
|
|
138
154
|
|
|
139
|
-
### `Server does not support completions (required for completion/complete)`
|
|
140
|
-
|
|
141
|
-
Cursor (and other MCP clients using protocol 2025-11-25) may request the `completion/complete` capability. FastMCP 2.1 uses `@modelcontextprotocol/sdk`; SDK **1.22.0+** requires the server to advertise the completions capability when registering a completion handler, but FastMCP does not set it, so the server crashes on start.
|
|
142
|
-
|
|
143
|
-
**Fix:** This package pins the SDK to **1.21.2** via `overrides` in `package.json`. After pulling, run `npm install` in `src/github-issues/` so the override is applied. If you use `npx -y @feedmob/github-issues`, reinstall or use the local build: `node /path/to/fm-mcp-servers/src/github-issues/dist/index.js`.
|
|
144
|
-
|
|
145
155
|
### `SyntaxError: Unexpected token ':'` with JSON on stdin
|
|
146
156
|
|
|
147
157
|
If you see Node parsing the MCP `initialize` JSON as JavaScript (e.g. `Expected ';', '}' or <eof>`), the process is likely being run with **stdin as script** (e.g. `node -`). The server must be started with **stdio** so that stdin is the MCP channel, not script input. In Cursor MCP config, use a plain command such as `node /absolute/path/to/dist/index.js` or `npx -y @feedmob/github-issues` with no `-` or stdin-eval.
|
package/dist/common/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmob/github-issues",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server for using the GitHub API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "FeedMob",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@types/node": "^22",
|
|
23
23
|
"@types/node-fetch": "^2.6.12",
|
|
24
24
|
"date-fns": "^4.1.0",
|
|
25
|
-
"fastmcp": "
|
|
25
|
+
"fastmcp": "^3.33.0",
|
|
26
26
|
"node-fetch": "^3.3.2",
|
|
27
27
|
"universal-user-agent": "^7.0.2",
|
|
28
28
|
"zod": "^3.22.4",
|
|
@@ -35,8 +35,5 @@
|
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
37
|
"url": "https://github.com/feed-mob/fm-mcp-servers"
|
|
38
|
-
},
|
|
39
|
-
"overrides": {
|
|
40
|
-
"@modelcontextprotocol/sdk": "1.21.2"
|
|
41
38
|
}
|
|
42
39
|
}
|