octocode-mcp 7.0.5 → 7.0.6-alpha.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 +14 -15
- package/dist/index.js +7 -1
- package/dist/src/tools/hints.d.ts +12 -12
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -405,9 +405,7 @@ interface GithubGetFileContentResponse {
|
|
|
405
405
|
|
|
406
406
|
Analyze pull requests, code changes, and discussions.
|
|
407
407
|
|
|
408
|
-
**Status**:
|
|
409
|
-
|
|
410
|
-
**Enable**: Set `ENABLE_TOOLS="githubSearchPullRequests"` in environment
|
|
408
|
+
**Status**: Default tool (enabled by default)
|
|
411
409
|
|
|
412
410
|
#### Parameters
|
|
413
411
|
|
|
@@ -548,18 +546,19 @@ interface GithubSearchPullRequestsResponse {
|
|
|
548
546
|
|
|
549
547
|
### Environment Variables
|
|
550
548
|
|
|
551
|
-
| Variable
|
|
552
|
-
|
|
553
|
-
| `GITHUB_TOKEN`
|
|
554
|
-
| `TOOLS_TO_RUN`
|
|
555
|
-
| `ENABLE_TOOLS`
|
|
556
|
-
| `DISABLE_TOOLS` | string
|
|
557
|
-
| `BETA`
|
|
549
|
+
| Variable | Type | Description |
|
|
550
|
+
|-----------------|------------------|----------------------------------------------------------|
|
|
551
|
+
| `GITHUB_TOKEN` | string | Personal Access Token ( Uses `gh` CLI if not set) |
|
|
552
|
+
| `TOOLS_TO_RUN` | string | Comma-separated tool list (exclusive mode) |
|
|
553
|
+
| `ENABLE_TOOLS` | string | Comma-separated tools to enable (additive) |
|
|
554
|
+
| `DISABLE_TOOLS` | string | Comma-separated tools to disable |
|
|
555
|
+
| `BETA` | "0" \| "1" | Enable experimental features |
|
|
556
|
+
| `LOG` | "true" \| "false"| Enable logging |
|
|
557
|
+
|
|
558
558
|
|
|
559
559
|
**Notes**:
|
|
560
560
|
- `TOOLS_TO_RUN` is mutually exclusive with `ENABLE_TOOLS`/`DISABLE_TOOLS`
|
|
561
|
-
- Default tools: `githubSearchCode`, `githubSearchRepositories`, `githubViewRepoStructure`, `githubGetFileContent`
|
|
562
|
-
- Optional tools: `githubSearchPullRequests`
|
|
561
|
+
- Default tools (enabled automatically): `githubSearchCode`, `githubSearchRepositories`, `githubViewRepoStructure`, `githubGetFileContent`, `githubSearchPullRequests`
|
|
563
562
|
|
|
564
563
|
### Tool Selection Examples
|
|
565
564
|
|
|
@@ -567,8 +566,8 @@ interface GithubSearchPullRequestsResponse {
|
|
|
567
566
|
# Run only search tools (exclusive mode)
|
|
568
567
|
export TOOLS_TO_RUN="githubSearchCode,githubSearchRepositories"
|
|
569
568
|
|
|
570
|
-
#
|
|
571
|
-
export
|
|
569
|
+
# Disable PR search if not needed
|
|
570
|
+
export DISABLE_TOOLS="githubSearchPullRequests"
|
|
572
571
|
|
|
573
572
|
# Disable structure exploration
|
|
574
573
|
export DISABLE_TOOLS="githubViewRepoStructure"
|
|
@@ -587,7 +586,7 @@ export BETA="1"
|
|
|
587
586
|
"args": ["octocode-mcp@latest"],
|
|
588
587
|
"env": {
|
|
589
588
|
"GITHUB_TOKEN": "ghp_your_token_here",
|
|
590
|
-
"
|
|
589
|
+
"DISABLE_TOOLS": "githubSearchPullRequests",
|
|
591
590
|
"BETA": "1"
|
|
592
591
|
}
|
|
593
592
|
}
|