octocode-mcp 7.0.17 → 8.0.0
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 +25 -21
- package/README.md +48 -80
- package/dist/index.js +1 -1
- package/manifest.json +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Guy Bary (bgauryy@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
PolyForm Small Business License 1.0.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Guy Bary (bgauryy@octocodeai.com)
|
|
4
|
+
|
|
5
|
+
1. Rights Granted
|
|
6
|
+
|
|
7
|
+
The Licensor grants to each Licensee a non-exclusive, royalty-free, copyright license to do everything with the Software that would otherwise infringe the Licensor's copyright, provided that the Licensee meets the criteria of a "Small Business" as defined below.
|
|
8
|
+
|
|
9
|
+
2. Small Business Definition
|
|
10
|
+
|
|
11
|
+
A "Small Business" is an individual or a legal entity that, together with its Affiliates, has:
|
|
12
|
+
(a) fewer than 100 employees; and
|
|
13
|
+
(b) less than $1,000,000 USD (or equivalent in other currencies) in annual gross revenue.
|
|
14
|
+
|
|
15
|
+
3. Conditions
|
|
16
|
+
|
|
17
|
+
If the Licensee ceases to be a Small Business (e.g., grows larger than the limits above), this license terminates immediately. To continue using the Software, the Licensee must obtain a commercial license from the Licensor.
|
|
18
|
+
|
|
19
|
+
4. Disclaimer
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
|
|
23
|
+
5. Contact for Commercial Licensing
|
|
24
|
+
|
|
25
|
+
If you are an Enterprise (exceeding the Small Business limits) and wish to use this software, please contact the author at: bgauryy@octocodeai.com to purchase a commercial license.
|
package/README.md
CHANGED
|
@@ -37,9 +37,10 @@
|
|
|
37
37
|
- [Overview](#overview)
|
|
38
38
|
- [Tools](#tools)
|
|
39
39
|
- [Commands](#commands)
|
|
40
|
-
- [/research - Expert Code Research
|
|
41
|
-
- [/
|
|
42
|
-
- [/
|
|
40
|
+
- [/research - Expert Code & Product Research](#research---expert-code--product-research)
|
|
41
|
+
- [/plan - Research, Plan & Implement Complex Tasks](#plan---research-plan--implement-complex-tasks)
|
|
42
|
+
- [/review_pull_request - Comprehensive PR Review](#review_pull_request---comprehensive-pr-review)
|
|
43
|
+
- [/review_security - Security Audit](#review_security---security-audit)
|
|
43
44
|
- [Documentation](#documentation)
|
|
44
45
|
- [Community](#community)
|
|
45
46
|
- [License](#license)
|
|
@@ -688,127 +689,94 @@ Understand how code evolved, why decisions were made, and learn from production
|
|
|
688
689
|
|
|
689
690
|
Octocode MCP provides intelligent prompt commands that enhance your research workflow:
|
|
690
691
|
|
|
691
|
-
### `/research` - Expert Code Research
|
|
692
|
+
### `/research` - Expert Code & Product Research
|
|
692
693
|
|
|
693
|
-
|
|
694
|
+
Powerful research prompt leveraging Octocode's full capabilities for deep code discovery, documentation analysis, pattern identification, and bug investigation. Orchestrates parallel bulk queries with staged analysis to uncover insights fast.
|
|
694
695
|
|
|
695
696
|
**When to use**:
|
|
696
697
|
- **Understanding repository workflows**: Discover how repositories work, trace specific flows through codebases, and understand technical implementations
|
|
697
|
-
- **Cross-repository flow analysis**: Understand complex flows that span multiple repositories, trace data flows across microservices
|
|
698
|
-
- **Technical flow investigation**: Deep-dive into technical flows within or across repositories (even cross-repo dependencies and integrations)
|
|
699
|
-
- **Real-world code examples**: Learn from actual production code implementations, not just documentation or tutorials
|
|
698
|
+
- **Cross-repository flow analysis**: Understand complex flows that span multiple repositories, trace data flows across microservices
|
|
700
699
|
- **Deep technical investigations**: Trace code flows, understand complex implementations, analyze architecture decisions
|
|
701
|
-
- **Answering team questions**: Quickly research Slack/Jira questions about features, APIs, or behavior with code-backed answers
|
|
702
700
|
- **Bug investigation**: Find root causes by analyzing code, commit history, and related PRs
|
|
703
|
-
- **Organization features**: Understand how features work across your private/public repositories
|
|
704
701
|
- **Pattern discovery**: Compare implementations across multiple repos to find best practices
|
|
705
702
|
- **Documentation validation**: Verify docs match actual code behavior
|
|
706
703
|
|
|
707
|
-
**
|
|
708
|
-
- Provides systematic guidance through research stages (discovery → exploration → analysis → synthesis)
|
|
709
|
-
- Executes multiple queries in parallel for faster results
|
|
710
|
-
- Shows transparent reasoning at each step
|
|
711
|
-
- Adapts to different research types: code implementation, documentation validation, pattern comparison, or bug investigation
|
|
712
|
-
|
|
713
|
-
**Usage Examples** (by research type):
|
|
714
|
-
|
|
715
|
-
**Technical Research** (code-first, understanding implementations):
|
|
704
|
+
**Usage Examples**:
|
|
716
705
|
```
|
|
717
706
|
/research How does React's useState hook work internally?
|
|
718
|
-
/research How to build a LangChain application with Express backend and Next.js frontend?
|
|
719
|
-
```
|
|
720
|
-
|
|
721
|
-
**Product Research** (docs + code validation):
|
|
722
|
-
```
|
|
723
|
-
/research What are the rate limiting features in our API according to docs and actual code?
|
|
724
|
-
/research How does authentication work in NextAuth.js? Verify docs against implementation
|
|
725
|
-
```
|
|
726
|
-
|
|
727
|
-
**Pattern Analysis** (comparing multiple implementations):
|
|
728
|
-
```
|
|
729
707
|
/research Compare state management approaches: Redux vs Zustand vs Jotai
|
|
730
|
-
/research How do popular repos handle WebSocket reconnection logic?
|
|
731
|
-
```
|
|
732
|
-
|
|
733
|
-
**Bug Investigation** (root cause analysis):
|
|
734
|
-
```
|
|
735
708
|
/research Why is the payment webhook failing? Trace the error through payment-service
|
|
736
|
-
/research User reports slow dashboard loading - investigate performance issues in myorg/frontend
|
|
737
709
|
```
|
|
738
710
|
|
|
739
|
-
**Key Features**:
|
|
740
|
-
- Progressive refinement (broad → specific → deep dive)
|
|
741
|
-
- Code-as-truth validation (verifies docs against actual implementation)
|
|
742
|
-
- Cross-repository pattern analysis (public & private repos)
|
|
743
|
-
- Comprehensive synthesis with Mermaid diagrams and cited references
|
|
744
|
-
- Perfect for answering technical questions from Slack/Jira with code evidence
|
|
745
|
-
|
|
746
711
|
---
|
|
747
712
|
|
|
748
|
-
### `/
|
|
713
|
+
### `/plan` - Research, Plan & Implement Complex Tasks
|
|
749
714
|
|
|
750
|
-
|
|
715
|
+
Your AI architect for tackling complex development work. Breaks down ambitious tasks into actionable steps, researches existing patterns and implementations, then guides you through execution—all powered by Octocode's deep codebase intelligence.
|
|
751
716
|
|
|
752
717
|
**When to use**:
|
|
753
|
-
-
|
|
754
|
-
-
|
|
755
|
-
|
|
756
|
-
**
|
|
757
|
-
- Analyzes conversation history
|
|
758
|
-
- Identifies all GitHub repositories explored via Octocode tools
|
|
759
|
-
- Creates formatted list with links and usage notes
|
|
760
|
-
- Reminds you to show appreciation to maintainers
|
|
718
|
+
- **Building new features**: Research patterns, plan architecture, then implement
|
|
719
|
+
- **Complex refactoring**: Understand current state, plan migration path, execute safely
|
|
720
|
+
- **Learning new technologies**: Research best practices, create learning plan, build incrementally
|
|
721
|
+
- **System design**: Explore existing implementations, design your approach, validate decisions
|
|
761
722
|
|
|
762
|
-
**Usage**:
|
|
723
|
+
**Usage Examples**:
|
|
763
724
|
```
|
|
764
|
-
/
|
|
725
|
+
/plan Build a real-time chat application with WebSocket support
|
|
726
|
+
/plan Migrate our authentication from JWT to OAuth2
|
|
727
|
+
/plan Implement a plugin system for our CLI tool
|
|
765
728
|
```
|
|
766
729
|
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
730
|
+
---
|
|
731
|
+
|
|
732
|
+
### `/review_pull_request` - Comprehensive PR Review
|
|
733
|
+
|
|
734
|
+
**Args:** `prUrl` (required) - GitHub Pull Request URL (e.g., https://github.com/owner/repo/pull/123)
|
|
770
735
|
|
|
771
|
-
|
|
736
|
+
Expert-level PR review with a Defects-First mindset. Dives deep into code changes, spots bugs before they ship, flags complexity risks, and delivers actionable feedback that elevates code quality.
|
|
772
737
|
|
|
773
|
-
|
|
774
|
-
|
|
738
|
+
**What it analyzes**:
|
|
739
|
+
- **Defects & Bugs**: Logic errors, edge cases, race conditions, null handling
|
|
740
|
+
- **Security Issues**: Injection vulnerabilities, auth bypasses, data exposure
|
|
741
|
+
- **Performance**: N+1 queries, memory leaks, inefficient algorithms
|
|
742
|
+
- **Code Quality**: Complexity, maintainability, test coverage gaps
|
|
743
|
+
- **Best Practices**: Design patterns, error handling, documentation
|
|
775
744
|
|
|
776
|
-
|
|
777
|
-
|
|
745
|
+
**Usage**:
|
|
746
|
+
```
|
|
747
|
+
/review_pull_request prUrl: https://github.com/facebook/react/pull/12345
|
|
778
748
|
```
|
|
779
749
|
|
|
780
750
|
---
|
|
781
751
|
|
|
782
|
-
### `/
|
|
752
|
+
### `/review_security` - Security Audit
|
|
783
753
|
|
|
784
|
-
**
|
|
754
|
+
**Args:** `repoUrl` (required) - GitHub repository URL (e.g., https://github.com/owner/repo)
|
|
785
755
|
|
|
786
|
-
|
|
787
|
-
- Quick refresher on available tools
|
|
788
|
-
- Learning key practices for efficient research
|
|
789
|
-
- Getting started with Octocode
|
|
756
|
+
Comprehensive security analysis of a repository. Identifies vulnerabilities, reviews authentication/authorization patterns, checks for secrets exposure, and provides remediation guidance.
|
|
790
757
|
|
|
791
|
-
**What it
|
|
792
|
-
- **
|
|
793
|
-
- **
|
|
794
|
-
- **
|
|
795
|
-
- **
|
|
758
|
+
**What it analyzes**:
|
|
759
|
+
- **Authentication & Authorization**: Auth flows, session management, access controls
|
|
760
|
+
- **Input Validation**: Injection points, sanitization, boundary checks
|
|
761
|
+
- **Secrets Management**: Hardcoded credentials, API keys, configuration security
|
|
762
|
+
- **Dependencies**: Known vulnerabilities, outdated packages, supply chain risks
|
|
763
|
+
- **Data Protection**: Encryption, PII handling, data flow security
|
|
796
764
|
|
|
797
765
|
**Usage**:
|
|
798
766
|
```
|
|
799
|
-
/
|
|
767
|
+
/review_security repoUrl: https://github.com/your-org/your-repo
|
|
800
768
|
```
|
|
801
769
|
|
|
802
770
|
---
|
|
803
771
|
|
|
804
772
|
### Tips for Using Commands
|
|
805
773
|
|
|
806
|
-
1. **
|
|
807
|
-
2. **Use `/
|
|
808
|
-
3. **
|
|
809
|
-
4.
|
|
774
|
+
1. **Use `/research` for code exploration** - Deep dive into how things work
|
|
775
|
+
2. **Use `/plan` for building** - Research, plan, then implement complex features
|
|
776
|
+
3. **Use `/review_pull_request`** before merging PRs for thorough code review
|
|
777
|
+
4. **Use `/review_security`** for security audits of repositories
|
|
810
778
|
|
|
811
|
-
> **💡 Pro Tip**:
|
|
779
|
+
> **💡 Pro Tip**: Combine `/research` and `/plan` for maximum effectiveness—research existing patterns first, then plan your implementation with confidence.
|
|
812
780
|
|
|
813
781
|
---
|
|
814
782
|
|