.github/workflows/publish-npm.yml → bitwarden/gh-actions/.github/workflows/_publish-mcp-server-npm.ymlmcp-server
mcp-server
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | TypeScript |
| Detected Frameworks | TypeScript; Container |
| Technology Stack | JavaScript/TypeScript, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:13:24 AM |
| Source Repository | Open on GitHub |
bitwarden/mcp-server — Pipeline Categories Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
.github/workflows/respond.yml → bitwarden/gh-actions/.github/workflows/_respond.yml.github/workflows/review-code.yml → bitwarden/gh-actions/.github/workflows/_review-code.ymlArc42 Architecture & Dependency Report
Repository Architecture Analysis: bitwarden/mcp-server
Metadata
- SHA:
5420d90269e455be16804dc77a28288a652e8374 - Primary Ecosystem: JavaScript/TypeScript
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 5.95
- avg_cyclomatic_complexity: 6.64
- component_count: 1
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 92.3
- file_complexities: 25 entry(ies)
- files_analyzed: 31
- fitness_passed: False
- fitness_violation_count: 3
- framework: TypeScript
- import_edges: 100 entry(ies)
- loc: 14215
- max_cognitive_complexity: 148
- max_cyclomatic_complexity: 148
- sloc: 11621
- test_file_count: 11
Architecture: bitwarden/mcp-server
Context
- Repository:
bitwarden/mcp-server - SHA:
5420d90269e455be16804dc77a28288a652e8374 - Ecosystem: JavaScript/TypeScript
- Framework: TypeScript
Building Block View
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
_bitwarden_mcp_server["@bitwarden/mcp-server : MODULE"]:::atlasJob
Component Details
- @bitwarden/mcp-server (
package.json): MODULE
6-Dimension Repository Scorecard
- Overall Grade:
F(44.11/100) - Technical Debt Score: 55.89
- Estimated Remediation Effort: 71.93h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 35.44 | 0.20 | avg_cc=6.64, max_cc=148, duplication=92.30%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=724, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | F | 34.15 | 0.15 | avg_cognitive=5.95, max_cognitive=148, fitness_violations=3, oversized_files=9 |
| Pipeline Health | F | 0.00 | 0.15 | workflows=7, operational_antipatterns=13, parallel_branches=False |
| Security | F | 32.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=5 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (92.3) exceeds policy threshold (15.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (148.0) exceeds policy threshold (25.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (148.0) exceeds policy threshold (20.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 724 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
@eslint/js10.0.1(npm,package-lock.json)@eslint/js10.0.1(npm,package.json)@jest/globals30.4.1(npm,package-lock.json)@jest/globals30.4.1(npm,package.json)@modelcontextprotocol/inspector2.8.0(npm,package-lock.json)@modelcontextprotocol/inspector2.8.0(npm,package.json)@modelcontextprotocol/sdk1.32.0(npm,package-lock.json)@modelcontextprotocol/sdk1.32.0(npm,package.json)@types/jest30.0.0(npm,package-lock.json)@types/jest30.0.0(npm,package.json)@types/node24.13.2(npm,package-lock.json)@types/node24.13.2(npm,package.json)eslint10.6.0(npm,package-lock.json)eslint10.6.0(npm,package.json)globals17.7.0(npm,package-lock.json)globals17.7.0(npm,package.json)husky9.1.7(npm,package-lock.json)husky9.1.7(npm,package.json)jest30.4.2(npm,package-lock.json)jest30.4.2(npm,package.json)jest-junit17.0.0(npm,package-lock.json)jest-junit17.0.0(npm,package.json)lint-staged17.0.8(npm,package-lock.json)lint-staged17.0.8(npm,package.json)prettier3.9.4(npm,package-lock.json)prettier3.9.4(npm,package.json)shx0.4.0(npm,package-lock.json)shx0.4.0(npm,package.json)ts-jest29.4.11(npm,package-lock.json)ts-jest29.4.11(npm,package.json)- … (+694 more dependencies)
Section 7: Code-to-Cloud Deployment Traceability
flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65["54960e2e-e75b-4870-a456-0a2bf24e2e65"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_Dockerfile["Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_build_yml_build["build.yml#build"]:::atlasJob
job_publish_npm_yml_publish["publish-npm.yml#publish"]:::atlasJob
job_publish_yml_trigger["publish.yml#trigger"]:::atlasJob
job_release_yml_trigger["release.yml#trigger"]:::atlasJob
job_respond_yml_respond["respond.yml#respond"]:::atlasJob
job_review_code_yml_review["review-code.yml#review"]:::atlasJob
job_test_yml_testing["test.yml#testing"]:::atlasJob
end
subgraph runtime_envs["Runtime Environments"]
env_mcp_server_publish["mcp-server-publish"]:::atlasTarget
env_mcp_server_release["mcp-server-release"]:::atlasTarget
end
job_publish_yml_trigger -->|DEPLOYS_TO| env_mcp_server_publish
job_release_yml_trigger -->|DEPLOYS_TO| env_mcp_server_release
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|BUILT_BY| job_build_yml_build
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|BUILT_BY| job_respond_yml_respond
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|BUILT_BY| job_review_code_yml_review
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|BUILT_BY| job_test_yml_testing
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|DEPLOYED_BY| job_publish_npm_yml_publish
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|DEPLOYED_BY| job_publish_yml_trigger
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|DEPLOYED_BY| job_release_yml_trigger
mod_54960e2e_e75b_4870_a456_0a2bf24e2e65 -->|PACKAGED_BY| art_Dockerfile
art_Dockerfile -->|BUILT_BY| job_build_yml_build
art_Dockerfile -->|DEPLOYED_BY| job_publish_npm_yml_publish
art_Dockerfile -->|DEPLOYED_BY| job_publish_yml_trigger
art_Dockerfile -->|DEPLOYED_BY| job_release_yml_trigger
publish.yml#trigger(ci_job) —[DEPLOYS_TO]—>mcp-server-publish(environment)release.yml#trigger(ci_job) —[DEPLOYS_TO]—>mcp-server-release(environment)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[BUILT_BY]—>build.yml#build(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[BUILT_BY]—>respond.yml#respond(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[BUILT_BY]—>review-code.yml#review(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[BUILT_BY]—>test.yml#testing(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[DEPLOYED_BY]—>publish-npm.yml#publish(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[DEPLOYED_BY]—>publish.yml#trigger(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[DEPLOYED_BY]—>release.yml#trigger(ci_job)54960e2e-e75b-4870-a456-0a2bf24e2e65(code_module) —[PACKAGED_BY]—>Dockerfile(container)Dockerfile(container) —[BUILT_BY]—>build.yml#build(ci_job)Dockerfile(container) —[DEPLOYED_BY]—>publish-npm.yml#publish(ci_job)Dockerfile(container) —[DEPLOYED_BY]—>publish.yml#trigger(ci_job)Dockerfile(container) —[DEPLOYED_BY]—>release.yml#trigger(ci_job)
CI/CD Pipeline Topology
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["bitwarden/mcp-server (7 workflows)"]):::atlasRoot
subgraph sg_grp_0_Release___Deploy["Release & Deploy (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_1_Publish_NPM["Publish NPM (1 jobs)"]
direction TB
wf_1_Publish_NPM(["Trigger: Publish NPM"]):::atlasWorkflow
job_1_publish["publish"]:::atlasJob
wf_1_Publish_NPM --> job_1_publish
end
pipeline_root --> wf_1_Publish_NPM
subgraph sg_wf_2_Publish["Publish (1 jobs)"]
direction TB
wf_2_Publish(["Trigger: Publish"]):::atlasWorkflow
job_2_trigger["trigger"]:::atlasJob
wf_2_Publish --> job_2_trigger
end
pipeline_root --> wf_2_Publish
subgraph sg_wf_3_Release["Release (1 jobs)"]
direction TB
wf_3_Release(["Trigger: Release"]):::atlasWorkflow
job_3_trigger["trigger"]:::atlasJob
wf_3_Release --> job_3_trigger
end
pipeline_root --> wf_3_Release
end
subgraph sg_grp_1_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_4_Respond["Respond (1 jobs)"]
direction TB
wf_4_Respond(["Trigger: Respond"]):::atlasWorkflow
job_4_respond["respond"]:::atlasJob
wf_4_Respond --> job_4_respond
end
pipeline_root --> wf_4_Respond
subgraph sg_wf_5_Code_Review["Code Review (1 jobs)"]
direction TB
wf_5_Code_Review(["Trigger: Code Review"]):::atlasWorkflow
job_5_review["review"]:::atlasJob
wf_5_Code_Review --> job_5_review
end
pipeline_root --> wf_5_Code_Review
end
subgraph sg_grp_2_Scheduled___Manual["Scheduled & Manual (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_Build["Build (1 jobs)"]
direction TB
wf_0_Build(["Trigger: Build"]):::atlasWorkflow
job_0_build["build"]:::atlasJob
wf_0_Build --> job_0_build
end
pipeline_root --> wf_0_Build
subgraph sg_wf_6_Testing["Testing (1 jobs)"]
direction TB
wf_6_Testing(["Trigger: Testing"]):::atlasWorkflow
job_6_testing["testing"]:::atlasJob
wf_6_Testing --> job_6_testing
end
pipeline_root --> wf_6_Testing
end6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=6.64, max_cc=148, duplication=92.30%, dead_code=0
Security
Weight 20%vulnerabilities=0, secrets=0, pipeline_security_findings=5
Maintainability
Weight 15%avg_cognitive=5.95, max_cognitive=148, fitness_violations=3, oversized_files=9
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=True, test_files_detected=True
Dependency Health
Weight 15%dependencies=724, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%workflows=7, operational_antipatterns=13, parallel_branches=False
Module Complexity & Quality Heatmap
Architectural Fitness Rules
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtests/cli-commands.spec.ts:1Repository duplication_pct (92.3) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtests/cli-commands.spec.ts:1Repository max_cognitive_complexity (148.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDtests/cli-commands.spec.ts:1Repository max_cyclomatic_complexity (148.0) exceeds policy threshold (20.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 724 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.