sinapse-ai 5.0.8 → 6.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/.claude/CLAUDE.md +1 -1
- package/.claude/rules/agent-authority.md +10 -10
- package/.claude/rules/agent-memory-imports.md +4 -4
- package/.claude/rules/coderabbit-integration.md +4 -4
- package/.claude/rules/ids-principles.md +5 -5
- package/.claude/rules/story-lifecycle.md +15 -15
- package/.claude/rules/workflow-execution.md +11 -11
- package/.sinapse-ai/constitution.md +3 -3
- package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/story-helper.js +7 -7
- package/.sinapse-ai/core/config/config-loader.js +1 -1
- package/.sinapse-ai/core/docs/session-update-pattern.md +1 -1
- package/.sinapse-ai/core/ids/framework-governor.js +4 -4
- package/.sinapse-ai/core/ids/index.js +1 -1
- package/.sinapse-ai/core/memory/gotchas-memory.js +1 -1
- package/.sinapse-ai/core/orchestration/agent-invoker.js +1 -1
- package/.sinapse-ai/core/orchestration/bob-surface-criteria.yaml +2 -2
- package/.sinapse-ai/core/orchestration/executor-assignment.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-6-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/greenfield-handler.js +4 -4
- package/.sinapse-ai/core/orchestration/master-orchestrator.js +1 -1
- package/.sinapse-ai/core/orchestration/skill-dispatcher.js +3 -3
- package/.sinapse-ai/core/orchestration/workflow-executor.js +1 -1
- package/.sinapse-ai/core/quality-gates/layer2-pr-automation.js +3 -3
- package/.sinapse-ai/core/quality-gates/layer3-human-review.js +1 -1
- package/.sinapse-ai/core/quality-gates/quality-gate-config.yaml +1 -1
- package/.sinapse-ai/core/session/context-loader.js +1 -1
- package/.sinapse-ai/data/agent-config-requirements.yaml +3 -3
- package/.sinapse-ai/data/entity-registry.yaml +2154 -2337
- package/.sinapse-ai/data/registry-update-log.jsonl +316 -0
- package/.sinapse-ai/data/sinapse-kb.md +13 -13
- package/.sinapse-ai/data/tech-presets/csharp.md +2 -2
- package/.sinapse-ai/data/tech-presets/go.md +2 -2
- package/.sinapse-ai/data/tech-presets/java.md +2 -2
- package/.sinapse-ai/data/tech-presets/nextjs-react.md +1 -1
- package/.sinapse-ai/data/tech-presets/php.md +2 -2
- package/.sinapse-ai/data/tech-presets/rust.md +2 -2
- package/.sinapse-ai/data/technical-preferences.md +1 -1
- package/.sinapse-ai/data/workflow-chains.yaml +15 -15
- package/.sinapse-ai/development/README.md +1 -1
- package/.sinapse-ai/development/agent-teams/team-qa-focused.yaml +7 -7
- package/.sinapse-ai/development/agents/analyst.md +6 -6
- package/.sinapse-ai/development/agents/architect.md +4 -4
- package/.sinapse-ai/development/agents/data-engineer.md +2 -2
- package/.sinapse-ai/development/agents/{dev.md → developer.md} +7 -7
- package/.sinapse-ai/development/agents/devops.md +4 -4
- package/.sinapse-ai/development/agents/{po → product-lead}/MEMORY.md +3 -3
- package/.sinapse-ai/development/agents/{po.md → product-lead.md} +25 -25
- package/.sinapse-ai/development/agents/{pm → project-lead}/MEMORY.md +2 -2
- package/.sinapse-ai/development/agents/{pm.md → project-lead.md} +15 -15
- package/.sinapse-ai/development/agents/{qa.md → quality-gate.md} +8 -8
- package/.sinapse-ai/development/agents/{sinapse-master.md → sinapse-orqx.md} +12 -12
- package/.sinapse-ai/development/agents/{sm.md → sprint-lead.md} +18 -18
- package/.sinapse-ai/development/agents/squad-creator.md +4 -4
- package/.sinapse-ai/development/agents/ux-design-expert.md +2 -2
- package/.sinapse-ai/development/checklists/brownfield-compatibility-checklist.md +1 -1
- package/.sinapse-ai/development/checklists/memory-audit-checklist.md +1 -1
- package/.sinapse-ai/development/scripts/agent-config-loader.js +1 -1
- package/.sinapse-ai/development/scripts/apply-inline-greeting-all-agents.js +1 -1
- package/.sinapse-ai/development/scripts/audit-agent-config.js +2 -2
- package/.sinapse-ai/development/scripts/batch-update-agents-session-context.js +1 -1
- package/.sinapse-ai/development/scripts/dev-context-loader.js +1 -1
- package/.sinapse-ai/development/scripts/populate-entity-registry.js +2 -2
- package/.sinapse-ai/development/scripts/test-greeting-system.js +4 -4
- package/.sinapse-ai/development/scripts/unified-activation-pipeline.js +2 -2
- package/.sinapse-ai/development/scripts/verify-workflow-gaps.js +9 -9
- package/.sinapse-ai/development/tasks/analyze-cross-artifact.md +1 -1
- package/.sinapse-ai/development/tasks/analyze-project-structure.md +4 -4
- package/.sinapse-ai/development/tasks/apply-qa-fixes.md +1 -1
- package/.sinapse-ai/development/tasks/architect-analyze-impact.md +1 -1
- package/.sinapse-ai/development/tasks/brownfield-create-epic.md +10 -10
- package/.sinapse-ai/development/tasks/brownfield-create-story.md +1 -1
- package/.sinapse-ai/development/tasks/build-autonomous.md +1 -1
- package/.sinapse-ai/development/tasks/cleanup-utilities.md +6 -6
- package/.sinapse-ai/development/tasks/create-agent.md +1 -1
- package/.sinapse-ai/development/tasks/create-brownfield-story.md +4 -4
- package/.sinapse-ai/development/tasks/create-next-story.md +12 -12
- package/.sinapse-ai/development/tasks/create-service.md +2 -2
- package/.sinapse-ai/development/tasks/create-suite.md +1 -1
- package/.sinapse-ai/development/tasks/dev-backlog-debt.md +3 -3
- package/.sinapse-ai/development/tasks/dev-develop-story.md +5 -5
- package/.sinapse-ai/development/tasks/environment-bootstrap.md +2 -2
- package/.sinapse-ai/development/tasks/execute-checklist.md +1 -1
- package/.sinapse-ai/development/tasks/execute-epic-plan.md +11 -11
- package/.sinapse-ai/development/tasks/extract-patterns.md +2 -2
- package/.sinapse-ai/development/tasks/facilitate-brainstorming-session.md +2 -2
- package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +1 -1
- package/.sinapse-ai/development/tasks/github-devops-pre-push-quality-gate.md +1 -1
- package/.sinapse-ai/development/tasks/ids-governor.md +3 -3
- package/.sinapse-ai/development/tasks/next.md +2 -2
- package/.sinapse-ai/development/tasks/orchestrate-resume.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-status.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-stop.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate.md +1 -1
- package/.sinapse-ai/development/tasks/patterns.md +2 -2
- package/.sinapse-ai/development/tasks/plan-create-context.md +2 -2
- package/.sinapse-ai/development/tasks/plan-execute-subtask.md +3 -3
- package/.sinapse-ai/development/tasks/po-close-story.md +3 -3
- package/.sinapse-ai/development/tasks/project-status.md +2 -2
- package/.sinapse-ai/development/tasks/qa-after-creation.md +2 -2
- package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +3 -3
- package/.sinapse-ai/development/tasks/qa-create-fix-request.md +8 -8
- package/.sinapse-ai/development/tasks/qa-evidence-requirements.md +1 -1
- package/.sinapse-ai/development/tasks/qa-false-positive-detection.md +1 -1
- package/.sinapse-ai/development/tasks/qa-fix-issues.md +10 -10
- package/.sinapse-ai/development/tasks/qa-gate.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-build.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-story.md +2 -2
- package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow-engine.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/security-scan.md +2 -2
- package/.sinapse-ai/development/tasks/setup-llm-routing.md +1 -1
- package/.sinapse-ai/development/tasks/spec-critique.md +4 -4
- package/.sinapse-ai/development/tasks/spec-gather-requirements.md +4 -4
- package/.sinapse-ai/development/tasks/spec-write-spec.md +2 -2
- package/.sinapse-ai/development/tasks/story-checkpoint.md +3 -3
- package/.sinapse-ai/development/tasks/sync-registry-intel.md +1 -1
- package/.sinapse-ai/development/tasks/validate-agents.md +1 -1
- package/.sinapse-ai/development/tasks/validate-next-story.md +10 -10
- package/.sinapse-ai/development/tasks/validate-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/verify-subtask.md +2 -2
- package/.sinapse-ai/development/templates/code-intel-integration-pattern.md +3 -3
- package/.sinapse-ai/development/templates/subagent-step-prompt.md +2 -2
- package/.sinapse-ai/development/workflows/README.md +2 -2
- package/.sinapse-ai/development/workflows/auto-worktree.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-discovery.yaml +11 -11
- package/.sinapse-ai/development/workflows/brownfield-fullstack.yaml +6 -6
- package/.sinapse-ai/development/workflows/brownfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/development-cycle.yaml +10 -10
- package/.sinapse-ai/development/workflows/epic-orchestration.yaml +6 -6
- package/.sinapse-ai/development/workflows/greenfield-fullstack.yaml +7 -7
- package/.sinapse-ai/development/workflows/greenfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/greenfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/qa-loop.yaml +1 -1
- package/.sinapse-ai/development/workflows/spec-pipeline.yaml +2 -2
- package/.sinapse-ai/development/workflows/story-development-cycle.yaml +1 -1
- package/.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +2 -2
- package/.sinapse-ai/docs/standards/OPEN-SOURCE-VS-SERVICE-DIFFERENCES.md +1 -1
- package/.sinapse-ai/docs/standards/QUALITY-GATES-SPECIFICATION.md +1 -1
- package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.1-COMPLETE.md +6 -6
- package/.sinapse-ai/docs/standards/STANDARDS-INDEX.md +2 -2
- package/.sinapse-ai/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +6 -6
- package/.sinapse-ai/infrastructure/scripts/config-loader.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/gotchas-documenter.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/README.md +3 -3
- package/.sinapse-ai/infrastructure/scripts/ide-sync/gemini-commands.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/ide-sync/redirect-generator.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/migrate-agent.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/performance-tracker.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/qa-report-generator.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/recovery-tracker.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/rollback-manager.js +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +1 -1
- package/.sinapse-ai/install-manifest.yaml +344 -344
- package/.sinapse-ai/monitor/hooks/lib/enrich.py +1 -1
- package/.sinapse-ai/product/checklists/self-critique-checklist.md +1 -1
- package/.sinapse-ai/product/checklists/story-draft-checklist.md +3 -3
- package/.sinapse-ai/product/templates/command-rationalization-matrix.md +3 -3
- package/.sinapse-ai/product/templates/design-story-tmpl.yaml +4 -4
- package/.sinapse-ai/product/templates/ide-rules/antigravity-rules.md +1 -1
- package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +2 -2
- package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +6 -6
- package/.sinapse-ai/product/templates/ide-rules/cursor-rules.md +1 -1
- package/.sinapse-ai/product/templates/personalized-agent-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-task-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-template-file.yaml +1 -1
- package/.sinapse-ai/product/templates/personalized-workflow-template.yaml +3 -3
- package/.sinapse-ai/product/templates/story-tmpl.yaml +8 -8
- package/.sinapse-ai/schemas/README.md +15 -15
- package/.sinapse-ai/scripts/diagnostics/health-dashboard/package-lock.json +2 -2
- package/.sinapse-ai/user-guide.md +4 -4
- package/.sinapse-ai/working-in-the-brownfield.md +3 -3
- package/LICENSE +4 -4
- package/README.en.md +6 -6
- package/README.md +8 -8
- package/bin/cli.js +13 -11
- package/bin/sinapse.js +17 -0
- package/docs/00-shared-activation-pipeline.md +16 -16
- package/docs/FEATURE_PROCESS.md +1 -1
- package/docs/ORQX-PLAN.md +264 -0
- package/docs/core-architecture.md +2 -2
- package/docs/en/sinapse-agent-flows/README.md +2 -2
- package/docs/en/sinapse-agent-flows/dev-system.md +2 -2
- package/docs/en/sinapse-agent-flows/pm-system.md +2 -2
- package/docs/en/sinapse-agent-flows/qa-system.md +2 -2
- package/docs/en/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +5 -5
- package/docs/en/sinapse-agent-flows/sm-system.md +2 -2
- package/docs/framework/entity-layer-classification.md +2 -2
- package/docs/framework/source-tree.md +17 -17
- package/docs/getting-started.md +13 -13
- package/docs/guides/IDS-CONCEITOS-EXPLICADOS.md +17 -17
- package/docs/guides/MEMORY-INTEGRATION.md +3 -3
- package/docs/guides/MEMORY-INTELLIGENCE-SYSTEM.md +4 -4
- package/docs/guides/ade-guide.md +25 -25
- package/docs/guides/agent-selection-guide.md +36 -36
- package/docs/guides/agents/ANALYST-SYSTEM.md +5 -5
- package/docs/guides/agents/ARCHITECT-SYSTEM.md +9 -9
- package/docs/guides/agents/DATA-ENGINEER-SYSTEM.md +8 -8
- package/docs/guides/agents/DEV-SYSTEM.md +27 -27
- package/docs/guides/agents/DEVOPS-SYSTEM.md +5 -5
- package/docs/guides/agents/PM-SYSTEM.md +24 -24
- package/docs/guides/agents/QA-SYSTEM.md +24 -24
- package/docs/guides/agents/SINAPSE-MASTER-SYSTEM.md +26 -26
- package/docs/guides/agents/SM-SYSTEM.md +31 -31
- package/docs/guides/agents/SQUAD-CREATOR-SYSTEM.md +2 -2
- package/docs/guides/agents/UX-DESIGN-EXPERT-SYSTEM.md +10 -10
- package/docs/guides/agents/traces/00-shared-activation-pipeline.md +16 -16
- package/docs/guides/agents/traces/00-shared-activation-pipeline.v1-act8.md +16 -16
- package/docs/guides/agents/traces/README.md +20 -20
- package/docs/guides/agents/traces/analyst-execution-trace.md +6 -6
- package/docs/guides/agents/traces/architect-execution-trace.md +3 -3
- package/docs/guides/agents/traces/data-engineer-execution-trace.md +4 -4
- package/docs/guides/agents/traces/dev-execution-trace.md +12 -12
- package/docs/guides/agents/traces/devops-execution-trace.md +6 -6
- package/docs/guides/agents/traces/pm-execution-trace.md +14 -14
- package/docs/guides/agents/traces/po-execution-trace.md +17 -17
- package/docs/guides/agents/traces/qa-execution-trace.md +15 -15
- package/docs/guides/agents/traces/{sinapse-master-execution-trace.md → sinapse-orqx-execution-trace.md} +22 -22
- package/docs/guides/agents/traces/sm-execution-trace.md +15 -15
- package/docs/guides/agents/traces/squad-creation-execution-trace.md +9 -9
- package/docs/guides/agents/traces/ux-design-expert-execution-trace.md +4 -4
- package/docs/guides/api-reference.md +27 -27
- package/docs/guides/coderabbit/README.md +9 -9
- package/docs/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/guides/development-setup.md +1 -1
- package/docs/guides/project-status-feature.md +2 -2
- package/docs/guides/quality-dashboard.md +2 -2
- package/docs/guides/quality-gates.md +6 -6
- package/docs/guides/template-engine-v2.md +2 -2
- package/docs/guides/user-guide.md +13 -13
- package/docs/guides/workflows/AUTO-WORKTREE-WORKFLOW.md +3 -3
- package/docs/guides/workflows/BROWNFIELD-DISCOVERY-WORKFLOW.md +6 -6
- package/docs/guides/workflows/BROWNFIELD-FULLSTACK-WORKFLOW.md +30 -30
- package/docs/guides/workflows/BROWNFIELD-SERVICE-WORKFLOW.md +38 -38
- package/docs/guides/workflows/BROWNFIELD-UI-WORKFLOW.md +25 -25
- package/docs/guides/workflows/GREENFIELD-FULLSTACK-WORKFLOW.md +37 -37
- package/docs/guides/workflows/GREENFIELD-SERVICE-WORKFLOW.md +5 -5
- package/docs/guides/workflows/GREENFIELD-UI-WORKFLOW.md +19 -19
- package/docs/guides/workflows/QA-LOOP-WORKFLOW.md +13 -13
- package/docs/guides/workflows/SINAPSE-COMPLETE-CROSS-REFERENCE-ANALYSIS.md +19 -19
- package/docs/guides/workflows/SPEC-PIPELINE-WORKFLOW.md +25 -25
- package/docs/guides/workflows/STORY-DEVELOPMENT-CYCLE-WORKFLOW.md +28 -28
- package/docs/guides/workflows/WORKFLOW-TASK-AGENT-ANALYSIS.md +94 -94
- package/docs/guides/workflows/xref-phase2-templates.md +29 -29
- package/docs/guides/workflows/xref-phase3-scripts.md +33 -33
- package/docs/guides/workflows/xref-phase4-infra.md +2 -2
- package/docs/guides/workflows/xref-phase6-supporting.md +1 -1
- package/docs/guides/workflows-guide.md +2 -2
- package/docs/installation/faq.md +1 -1
- package/docs/installation/troubleshooting.md +2 -2
- package/docs/installation/v4-quick-start.md +2 -2
- package/docs/prd-cli-graph-dashboard.md +1 -1
- package/docs/pt/DOCUMENTATION-ROADMAP.md +1 -1
- package/docs/pt/FEATURE_PROCESS.md +1 -1
- package/docs/pt/README.md +2 -2
- package/docs/pt/agents/archetype-rationale.md +4 -4
- package/docs/pt/agents/persona-definitions.md +9 -9
- package/docs/pt/architecture/ADE-ARCHITECT-HANDOFF.md +15 -15
- package/docs/pt/architecture/ADE-EPIC1-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC2-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC3-HANDOFF.md +8 -8
- package/docs/pt/architecture/ade-architecture.md +4 -4
- package/docs/pt/architecture/adr/adr-hcs-health-check-system.md +3 -3
- package/docs/pt/architecture/agent-config-audit.md +4 -4
- package/docs/pt/architecture/agent-responsibility-matrix.md +20 -20
- package/docs/pt/architecture/agent-tool-integration-guide.md +8 -8
- package/docs/pt/architecture/contribution-workflow-research.md +1 -1
- package/docs/pt/architecture/dashboard-architecture.md +1 -1
- package/docs/pt/architecture/hcs-check-specifications.md +1 -1
- package/docs/pt/architecture/hcs-execution-modes.md +1 -1
- package/docs/pt/architecture/hcs-self-healing-spec.md +1 -1
- package/docs/pt/architecture/high-level-architecture.md +1 -1
- package/docs/pt/architecture/module-system.md +1 -1
- package/docs/pt/architecture/source-tree.md +1 -1
- package/docs/pt/architecture/squad-improvement-recommended-approach.md +2 -2
- package/docs/pt/architecture/utility-integration-guide.md +2 -2
- package/docs/pt/contributing.md +1 -1
- package/docs/pt/core-architecture.md +2 -2
- package/docs/pt/framework/source-tree.md +1 -1
- package/docs/pt/guides/ade-guide.md +25 -25
- package/docs/pt/guides/agent-selection-guide.md +36 -36
- package/docs/pt/guides/api-reference.md +25 -25
- package/docs/pt/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/pt/guides/development-setup.md +1 -1
- package/docs/pt/guides/project-status-feature.md +2 -2
- package/docs/pt/guides/quality-dashboard.md +2 -2
- package/docs/pt/guides/quality-gates.md +6 -6
- package/docs/pt/guides/template-engine-v2.md +2 -2
- package/docs/pt/guides/user-guide.md +8 -8
- package/docs/pt/guides/workflows-guide.md +2 -2
- package/docs/pt/installation/faq.md +1 -1
- package/docs/pt/installation/troubleshooting.md +2 -2
- package/docs/pt/installation/v4-quick-start.md +2 -2
- package/docs/pt/platforms/antigravity.md +9 -9
- package/docs/pt/platforms/cursor.md +15 -15
- package/docs/pt/platforms/gemini-cli.md +3 -3
- package/docs/pt/roadmap.md +1 -1
- package/docs/pt/sinapse-nomenclature-specification.md +15 -15
- package/docs/pt/specifications/docs-agent-technical-specification.md +11 -11
- package/docs/roadmap.md +1 -1
- package/docs/sinapse-agent-flows/README.md +2 -2
- package/docs/sinapse-agent-flows/analyst-system.md +5 -5
- package/docs/sinapse-agent-flows/architect-system.md +9 -9
- package/docs/sinapse-agent-flows/data-engineer-system.md +8 -8
- package/docs/sinapse-agent-flows/dev-system.md +27 -27
- package/docs/sinapse-agent-flows/devops-system.md +5 -5
- package/docs/sinapse-agent-flows/pm-system.md +24 -24
- package/docs/sinapse-agent-flows/qa-system.md +24 -24
- package/docs/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +26 -26
- package/docs/sinapse-agent-flows/sm-system.md +31 -31
- package/docs/sinapse-agent-flows/squad-creator-system.md +2 -2
- package/docs/sinapse-agent-flows/ux-design-expert-system.md +10 -10
- package/docs/sinapse-workflows/auto-worktree-workflow.md +3 -3
- package/docs/sinapse-workflows/brownfield-discovery-workflow.md +6 -6
- package/docs/sinapse-workflows/brownfield-fullstack-workflow.md +30 -30
- package/docs/sinapse-workflows/brownfield-service-workflow.md +38 -38
- package/docs/sinapse-workflows/brownfield-ui-workflow.md +25 -25
- package/docs/sinapse-workflows/greenfield-fullstack-workflow.md +37 -37
- package/docs/sinapse-workflows/greenfield-service-workflow.md +5 -5
- package/docs/sinapse-workflows/greenfield-ui-workflow.md +19 -19
- package/docs/sinapse-workflows/qa-loop-workflow.md +13 -13
- package/docs/sinapse-workflows/spec-pipeline-workflow.md +25 -25
- package/docs/sinapse-workflows/story-development-cycle-workflow.md +28 -28
- package/package.json +1 -1
- package/packages/gemini-sinapse-extension/README.md +1 -1
- package/packages/gemini-sinapse-extension/commands/lib/agent-launcher.js +1 -1
- package/packages/gemini-sinapse-extension/commands/{sinapse-master.js → sinapse-orqx.js} +1 -1
- package/packages/gemini-sinapse-extension/extension.json +3 -3
- package/packages/gemini-sinapse-extension/gemini-extension.json +3 -3
- package/packages/installer/src/config/configure-environment.js +2 -2
- package/packages/installer/src/updater/index.js +105 -0
- package/packages/installer/src/wizard/feedback.js +38 -30
- package/packages/installer/src/wizard/i18n.js +25 -182
- package/packages/installer/src/wizard/ide-config-generator.js +1 -1
- package/packages/installer/src/wizard/index.js +253 -69
- package/packages/installer/src/wizard/questions.js +35 -7
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +1 -1
- package/packages/sinapse-install/README.md +1 -1
- package/packages/sinapse-install/src/installer.js +1 -1
- package/scripts/package-synapse.js +1 -1
- package/sinapse/agents/{sinapse-master.md → sinapse-orqx.md} +18 -18
- package/sinapse/knowledge-base/cross-squad-patterns.md +1 -1
- package/sinapse/knowledge-base/routing-catalog.md +1 -1
- package/sinapse/squad.yaml +1 -1
- package/sinapse/tasks/compose-multi-squad-plan.md +2 -2
- package/sinapse/tasks/coordinate-cross-squad.md +2 -2
- package/sinapse/tasks/diagnose-and-route.md +2 -2
- package/sinapse/tasks/onboard-user.md +2 -2
- package/sinapse/tasks/resolve-conflict.md +2 -2
- package/sinapse/tasks/squad-status-report.md +2 -2
- package/sinapse/tasks/strategic-brief.md +3 -3
- package/squads/squad-animations/agents/animations-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-creative-engineer.md +1 -1
- package/squads/squad-brand/agents/brand-motion-vfx.md +1 -1
- package/squads/squad-brand/agents/brand-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-sonic-designer.md +1 -1
- package/squads/squad-brand/agents/brand-system-architect.md +1 -1
- package/squads/squad-claude/agents/claude-orqx.md +2 -2
- package/squads/squad-cloning/agents/cloning-orqx.md +3 -3
- package/squads/squad-commercial/agents/commercial-orqx.md +1 -1
- package/squads/squad-commercial/agents/cs-business-auditor.md +1 -1
- package/squads/squad-commercial/agents/cs-client-success.md +1 -1
- package/squads/squad-commercial/agents/cs-crm-specialist.md +1 -1
- package/squads/squad-commercial/agents/cs-funnel-architect.md +1 -1
- package/squads/squad-commercial/agents/cs-lead-generation-strategist.md +1 -1
- package/squads/squad-commercial/agents/cs-offer-designer.md +1 -1
- package/squads/squad-commercial/agents/cs-revops-analyst.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-closer.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-enablement.md +1 -1
- package/squads/squad-commercial/knowledge-base/ai-as-competitive-infrastructure.md +1 -1
- package/squads/squad-content/agents/content-orqx.md +2 -2
- package/squads/squad-content/knowledge-base/ai-leverage-content-framework.md +1 -1
- package/squads/squad-copy/agents/copy-strategist.md +3 -3
- package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +1 -1
- package/squads/squad-council/agents/council-orqx.md +1 -1
- package/squads/squad-courses/agents/courses-orqx.md +1 -1
- package/squads/squad-cybersecurity/agents/cyber-orqx.md +2 -2
- package/squads/squad-design/agents/design-orqx.md +2 -2
- package/squads/squad-finance/agents/finance-orqx.md +2 -2
- package/squads/squad-growth/agents/growth-orqx.md +2 -2
- package/squads/squad-paidmedia/agents/paidmedia-orqx.md +2 -2
- package/squads/squad-product/agents/product-orqx.md +2 -2
- package/squads/squad-research/agents/research-orqx.md +2 -2
- package/squads/squad-research/tasks/create-executive-briefing.md +1 -1
- package/squads/squad-research/tasks/create-insight-deck.md +1 -1
- package/squads/squad-research/tasks/forecast-industry-trends.md +1 -1
- package/squads/squad-research/tasks/generate-actionable-recommendations.md +2 -2
- package/squads/squad-research/tasks/run-scenario-planning.md +2 -2
- package/squads/squad-research/tasks/synthesize-research-report.md +2 -2
- package/squads/squad-research/tasks/track-emerging-technologies.md +1 -1
- package/squads/squad-storytelling/agents/storytelling-orqx.md +2 -2
- package/docs/es/CHANGELOG.md +0 -117
- package/docs/es/DOCUMENTATION-ROADMAP.md +0 -216
- package/docs/es/ENVIRONMENT.md +0 -140
- package/docs/es/FEATURE_PROCESS.md +0 -99
- package/docs/es/GUIDING-PRINCIPLES.md +0 -101
- package/docs/es/README.md +0 -134
- package/docs/es/agent-reference-guide.md +0 -570
- package/docs/es/agents/archetype-rationale.md +0 -566
- package/docs/es/agents/persona-definitions.md +0 -501
- package/docs/es/api/squads-api.md +0 -753
- package/docs/es/architecture/ADE-AGENT-CHANGES.md +0 -469
- package/docs/es/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/es/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/es/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/es/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/es/architecture/ARCHITECTURE-INDEX.md +0 -188
- package/docs/es/architecture/ade-architecture.md +0 -586
- package/docs/es/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/es/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/es/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/es/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/es/architecture/agent-config-audit.md +0 -222
- package/docs/es/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/es/architecture/agent-tool-integration-guide.md +0 -334
- package/docs/es/architecture/ci-cd.md +0 -151
- package/docs/es/architecture/coding-standards.md +0 -896
- package/docs/es/architecture/contribution-workflow-research.md +0 -376
- package/docs/es/architecture/dashboard-architecture.md +0 -926
- package/docs/es/architecture/dashboard-realtime.md +0 -1253
- package/docs/es/architecture/hcs-check-specifications.md +0 -897
- package/docs/es/architecture/hcs-execution-modes.md +0 -519
- package/docs/es/architecture/hcs-self-healing-spec.md +0 -695
- package/docs/es/architecture/high-level-architecture.md +0 -357
- package/docs/es/architecture/introduction.md +0 -21
- package/docs/es/architecture/mcp-api-keys-management.md +0 -246
- package/docs/es/architecture/mcp-system-diagrams.md +0 -113
- package/docs/es/architecture/module-system.md +0 -382
- package/docs/es/architecture/multi-repo-strategy.md +0 -390
- package/docs/es/architecture/source-tree.md +0 -708
- package/docs/es/architecture/squad-improvement-analysis.md +0 -204
- package/docs/es/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/es/architecture/tech-stack.md +0 -806
- package/docs/es/architecture/utility-integration-guide.md +0 -358
- package/docs/es/community/README-community-snippet-core.md +0 -57
- package/docs/es/community/README-community-snippet-mcp.md +0 -49
- package/docs/es/community/README-community-snippet-squads.md +0 -40
- package/docs/es/community.md +0 -227
- package/docs/es/core-architecture.md +0 -229
- package/docs/es/docker-mcp-setup.md +0 -426
- package/docs/es/framework/README.md +0 -99
- package/docs/es/framework/coding-standards.md +0 -892
- package/docs/es/framework/source-tree.md +0 -725
- package/docs/es/framework/tech-stack.md +0 -802
- package/docs/es/getting-started.md +0 -572
- package/docs/es/git-workflow-guide.md +0 -995
- package/docs/es/guides/README.md +0 -133
- package/docs/es/guides/ade-guide.md +0 -452
- package/docs/es/guides/agent-selection-guide.md +0 -295
- package/docs/es/guides/api-reference.md +0 -899
- package/docs/es/guides/build-recovery-guide.md +0 -270
- package/docs/es/guides/contextual-greeting-system-guide.md +0 -387
- package/docs/es/guides/contributing-squads.md +0 -256
- package/docs/es/guides/development-setup.md +0 -1111
- package/docs/es/guides/ide-sync-guide.md +0 -194
- package/docs/es/guides/installation-troubleshooting.md +0 -327
- package/docs/es/guides/llm-routing.md +0 -312
- package/docs/es/guides/mcp/desktop-commander.md +0 -368
- package/docs/es/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/es/guides/mcp-global-setup.md +0 -663
- package/docs/es/guides/permission-modes.md +0 -313
- package/docs/es/guides/project-status-feature.md +0 -473
- package/docs/es/guides/quality-dashboard.md +0 -367
- package/docs/es/guides/quality-gates.md +0 -614
- package/docs/es/guides/security-hardening.md +0 -1359
- package/docs/es/guides/service-discovery.md +0 -524
- package/docs/es/guides/squad-examples/README.md +0 -64
- package/docs/es/guides/squad-migration.md +0 -356
- package/docs/es/guides/squads-guide.md +0 -836
- package/docs/es/guides/squads-overview.md +0 -332
- package/docs/es/guides/template-engine-v2.md +0 -484
- package/docs/es/guides/testing-guide.md +0 -1215
- package/docs/es/guides/user-guide.md +0 -452
- package/docs/es/guides/workflows-guide.md +0 -400
- package/docs/es/how-to-contribute-with-pull-requests.md +0 -160
- package/docs/es/ide-integration.md +0 -425
- package/docs/es/installation/README.md +0 -108
- package/docs/es/installation/faq.md +0 -616
- package/docs/es/installation/linux.md +0 -311
- package/docs/es/installation/macos.md +0 -189
- package/docs/es/installation/troubleshooting.md +0 -735
- package/docs/es/installation/v4-quick-start.md +0 -269
- package/docs/es/installation/windows.md +0 -342
- package/docs/es/meta-agent-commands.md +0 -990
- package/docs/es/migration-guide.md +0 -310
- package/docs/es/npx-install.md +0 -193
- package/docs/es/performance-tuning-guide.md +0 -707
- package/docs/es/platforms/README.md +0 -283
- package/docs/es/platforms/antigravity.md +0 -510
- package/docs/es/platforms/claude-code.md +0 -650
- package/docs/es/platforms/cursor.md +0 -635
- package/docs/es/platforms/gemini-cli.md +0 -483
- package/docs/es/platforms/github-copilot.md +0 -480
- package/docs/es/roadmap.md +0 -119
- package/docs/es/security-best-practices.md +0 -613
- package/docs/es/security.md +0 -124
- package/docs/es/sinapse-agent-flows/README.md +0 -190
- package/docs/es/sinapse-agent-flows/analyst-system.md +0 -36
- package/docs/es/sinapse-agent-flows/architect-system.md +0 -36
- package/docs/es/sinapse-agent-flows/data-engineer-system.md +0 -36
- package/docs/es/sinapse-agent-flows/dev-system.md +0 -36
- package/docs/es/sinapse-agent-flows/devops-system.md +0 -36
- package/docs/es/sinapse-agent-flows/pm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/qa-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sinapse-master-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/squad-creator-system.md +0 -36
- package/docs/es/sinapse-agent-flows/ux-design-expert-system.md +0 -36
- package/docs/es/sinapse-nomenclature-specification.md +0 -673
- package/docs/es/sinapse-workflows/README.md +0 -247
- package/docs/es/sinapse-workflows/auto-worktree-workflow.md +0 -39
- package/docs/es/sinapse-workflows/brownfield-discovery-workflow.md +0 -41
- package/docs/es/sinapse-workflows/brownfield-fullstack-workflow.md +0 -42
- package/docs/es/sinapse-workflows/brownfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/brownfield-ui-workflow.md +0 -42
- package/docs/es/sinapse-workflows/design-system-build-quality-workflow.md +0 -40
- package/docs/es/sinapse-workflows/greenfield-fullstack-workflow.md +0 -44
- package/docs/es/sinapse-workflows/greenfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/greenfield-ui-workflow.md +0 -43
- package/docs/es/sinapse-workflows/qa-loop-workflow.md +0 -39
- package/docs/es/sinapse-workflows/spec-pipeline-workflow.md +0 -40
- package/docs/es/sinapse-workflows/story-development-cycle-workflow.md +0 -42
- package/docs/es/specifications/docs-agent-technical-specification.md +0 -2161
- package/docs/es/troubleshooting.md +0 -887
- package/docs/es/uninstallation.md +0 -556
- package/docs/es/versioning-and-releases.md +0 -146
- package/docs/zh/CHANGELOG.md +0 -191
- package/docs/zh/ENVIRONMENT.md +0 -136
- package/docs/zh/FEATURE_PROCESS.md +0 -92
- package/docs/zh/GLOSSARY.md +0 -179
- package/docs/zh/GUIDING-PRINCIPLES.md +0 -97
- package/docs/zh/README.md +0 -133
- package/docs/zh/TRANSLATION-PLAN.md +0 -508
- package/docs/zh/agent-reference-guide.md +0 -566
- package/docs/zh/agents/archetype-rationale.md +0 -631
- package/docs/zh/agents/persona-definitions.md +0 -560
- package/docs/zh/api/squads-api.md +0 -753
- package/docs/zh/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/zh/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/zh/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/zh/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/zh/architecture/ARCHITECTURE-INDEX.md +0 -190
- package/docs/zh/architecture/SINAPSE-VISUAL-OVERVIEW.md +0 -595
- package/docs/zh/architecture/ade-architecture.md +0 -474
- package/docs/zh/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/zh/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/zh/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/zh/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/zh/architecture/agent-config-audit.md +0 -220
- package/docs/zh/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/zh/architecture/agent-tool-integration-guide.md +0 -336
- package/docs/zh/architecture/ci-cd.md +0 -151
- package/docs/zh/architecture/coding-standards.md +0 -898
- package/docs/zh/architecture/command-authority-matrix.md +0 -18
- package/docs/zh/architecture/contribution-workflow-research.md +0 -376
- package/docs/zh/architecture/dashboard-architecture.md +0 -569
- package/docs/zh/architecture/dashboard-realtime.md +0 -415
- package/docs/zh/architecture/hcs-check-specifications.md +0 -102
- package/docs/zh/architecture/hcs-execution-modes.md +0 -114
- package/docs/zh/architecture/hcs-self-healing-spec.md +0 -148
- package/docs/zh/architecture/high-level-architecture.md +0 -355
- package/docs/zh/architecture/introduction.md +0 -21
- package/docs/zh/architecture/mcp-api-keys-management.md +0 -248
- package/docs/zh/architecture/mcp-system-diagrams.md +0 -113
- package/docs/zh/architecture/module-system.md +0 -382
- package/docs/zh/architecture/multi-repo-strategy.md +0 -237
- package/docs/zh/architecture/source-tree.md +0 -710
- package/docs/zh/architecture/squad-improvement-analysis.md +0 -204
- package/docs/zh/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/zh/architecture/tech-stack.md +0 -808
- package/docs/zh/architecture/utility-integration-guide.md +0 -358
- package/docs/zh/code-of-conduct.md +0 -113
- package/docs/zh/community/README-community-snippet-core.md +0 -57
- package/docs/zh/community/README-community-snippet-mcp.md +0 -49
- package/docs/zh/community/README-community-snippet-squads.md +0 -40
- package/docs/zh/community.md +0 -227
- package/docs/zh/contributing.md +0 -581
- package/docs/zh/core-architecture.md +0 -229
- package/docs/zh/docker-mcp-setup.md +0 -226
- package/docs/zh/framework/README.md +0 -97
- package/docs/zh/framework/coding-standards.md +0 -886
- package/docs/zh/framework/source-tree.md +0 -888
- package/docs/zh/framework/tech-stack.md +0 -796
- package/docs/zh/getting-started.md +0 -317
- package/docs/zh/git-workflow-guide.md +0 -988
- package/docs/zh/guides/MEMORY-INTEGRATION.md +0 -497
- package/docs/zh/guides/MEMORY-INTELLIGENCE-SYSTEM.md +0 -1083
- package/docs/zh/guides/MEMORY-SYSTEM.md +0 -1003
- package/docs/zh/guides/README.md +0 -127
- package/docs/zh/guides/ade-guide.md +0 -446
- package/docs/zh/guides/agent-selection-guide.md +0 -289
- package/docs/zh/guides/api-reference.md +0 -427
- package/docs/zh/guides/build-recovery-guide.md +0 -266
- package/docs/zh/guides/contextual-greeting-system-guide.md +0 -381
- package/docs/zh/guides/contributing-squads.md +0 -250
- package/docs/zh/guides/development-setup.md +0 -384
- package/docs/zh/guides/ide-sync-guide.md +0 -193
- package/docs/zh/guides/installation-troubleshooting.md +0 -321
- package/docs/zh/guides/llm-routing.md +0 -306
- package/docs/zh/guides/mcp/desktop-commander.md +0 -368
- package/docs/zh/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/zh/guides/mcp-global-setup.md +0 -696
- package/docs/zh/guides/permission-modes.md +0 -307
- package/docs/zh/guides/project-status-feature.md +0 -467
- package/docs/zh/guides/quality-dashboard.md +0 -361
- package/docs/zh/guides/quality-gates.md +0 -462
- package/docs/zh/guides/security-hardening.md +0 -1055
- package/docs/zh/guides/service-discovery.md +0 -518
- package/docs/zh/guides/squad-examples/README.md +0 -63
- package/docs/zh/guides/squad-migration.md +0 -336
- package/docs/zh/guides/template-engine-v2.md +0 -478
- package/docs/zh/guides/workflows-guide.md +0 -408
- package/docs/zh/how-to-contribute-with-pull-requests.md +0 -158
- package/docs/zh/installation/README.md +0 -106
- package/docs/zh/installation/faq.md +0 -611
- package/docs/zh/installation/linux.md +0 -447
- package/docs/zh/installation/macos.md +0 -187
- package/docs/zh/installation/troubleshooting.md +0 -729
- package/docs/zh/installation/windows.md +0 -475
- package/docs/zh/meta-agent-commands.md +0 -990
- package/docs/zh/security-best-practices.md +0 -610
- package/docs/zh/security.md +0 -124
- package/docs/zh/sinapse-agent-flows/README.md +0 -196
- package/docs/zh/sinapse-agent-flows/analyst-system.md +0 -679
- package/docs/zh/sinapse-agent-flows/architect-system.md +0 -246
- package/docs/zh/sinapse-agent-flows/data-engineer-system.md +0 -418
- package/docs/zh/sinapse-agent-flows/dev-system.md +0 -209
- package/docs/zh/sinapse-agent-flows/devops-system.md +0 -643
- package/docs/zh/sinapse-agent-flows/pm-system.md +0 -733
- package/docs/zh/sinapse-agent-flows/qa-system.md +0 -268
- package/docs/zh/sinapse-agent-flows/sinapse-master-system.md +0 -81
- package/docs/zh/sinapse-agent-flows/sm-system.md +0 -501
- package/docs/zh/sinapse-agent-flows/squad-creator-system.md +0 -704
- package/docs/zh/sinapse-agent-flows/ux-design-expert-system.md +0 -160
- package/docs/zh/sinapse-workflows/README.md +0 -247
- package/docs/zh/sinapse-workflows/auto-worktree-workflow.md +0 -793
- package/docs/zh/sinapse-workflows/brownfield-discovery-workflow.md +0 -915
- package/docs/zh/sinapse-workflows/brownfield-fullstack-workflow.md +0 -764
- package/docs/zh/sinapse-workflows/brownfield-service-workflow.md +0 -812
- package/docs/zh/sinapse-workflows/brownfield-ui-workflow.md +0 -891
- package/docs/zh/sinapse-workflows/design-system-build-quality-workflow.md +0 -845
- package/docs/zh/sinapse-workflows/greenfield-fullstack-workflow.md +0 -796
- package/docs/zh/sinapse-workflows/greenfield-service-workflow.md +0 -786
- package/docs/zh/sinapse-workflows/greenfield-ui-workflow.md +0 -922
- package/docs/zh/sinapse-workflows/qa-loop-workflow.md +0 -1111
- package/docs/zh/sinapse-workflows/spec-pipeline-workflow.md +0 -1031
- package/docs/zh/sinapse-workflows/story-development-cycle-workflow.md +0 -843
- package/docs/zh/troubleshooting.md +0 -883
- package/docs/zh/uninstallation.md +0 -348
- package/docs/zh/versioning-and-releases.md +0 -140
- /package/.sinapse-ai/development/agents/{dev → developer}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{qa → quality-gate}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{sm → sprint-lead}/MEMORY.md +0 -0
|
@@ -1,696 +0,0 @@
|
|
|
1
|
-
# SINAPSE MCP全局设置指南
|
|
2
|
-
|
|
3
|
-
> **EN** | **ZH-CN** | [PT](../pt/guides/mcp-global-setup.md) | [ES](../es/guides/mcp-global-setup.md)
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
> 为SINAPSE配置全局MCP(模型上下文协议)服务器。
|
|
8
|
-
|
|
9
|
-
**版本:** 2.1.1
|
|
10
|
-
**最后更新:** 2025-12-23
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 概述
|
|
15
|
-
|
|
16
|
-
MCP全局系统允许你配置一次MCP服务器并在所有SINAPSE项目之间共享。这消除了在每个项目中配置相同服务器的需要。
|
|
17
|
-
|
|
18
|
-
### 好处
|
|
19
|
-
|
|
20
|
-
| 好处 | 描述 |
|
|
21
|
-
| ---------------------- | -------------------------------- |
|
|
22
|
-
| **单一配置** | 配置一次,到处使用 |
|
|
23
|
-
| **一致设置** | 所有项目间相同的服务器配置 |
|
|
24
|
-
| **凭据管理** | 安全的集中凭据存储 |
|
|
25
|
-
| **轻松更新** | 在一处更新服务器版本 |
|
|
26
|
-
|
|
27
|
-
### 全局目录结构
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
~/.sinapse/
|
|
31
|
-
├── mcp/
|
|
32
|
-
│ ├── global-config.json # 主配置文件
|
|
33
|
-
│ ├── servers/ # 个别服务器配置
|
|
34
|
-
│ │ ├── context7.json
|
|
35
|
-
│ │ ├── exa.json
|
|
36
|
-
│ │ └── github.json
|
|
37
|
-
│ └── cache/ # 服务器响应缓存
|
|
38
|
-
└── credentials/ # 安全凭据存储
|
|
39
|
-
└── .gitignore # 防止意外提交
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### 推荐的架构
|
|
43
|
-
|
|
44
|
-
基于生产配置,推荐的MCP设置使用两层:
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
48
|
-
│ ~/.claude.json │
|
|
49
|
-
│ (用户MCP - 直接) │
|
|
50
|
-
├─────────────────────────────────────────────────────────────┤
|
|
51
|
-
│ desktop-commander │ 持久会话, REPL, 模糊编辑 │
|
|
52
|
-
│ docker-gateway │ 容器化MCP的网关 │
|
|
53
|
-
│ playwright │ 浏览器自动化 │
|
|
54
|
-
│ n8n-mcp │ 工作流自动化 (可选) │
|
|
55
|
-
└─────────────────────────────────────────────────────────────┘
|
|
56
|
-
│
|
|
57
|
-
▼
|
|
58
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
59
|
-
│ docker-gateway (58+ 工具) │
|
|
60
|
-
│ (Docker内的MCP - 无令牌成本) │
|
|
61
|
-
├─────────────────────────────────────────────────────────────┤
|
|
62
|
-
│ Apify │ 网络爬虫, 社交媒体提取 │
|
|
63
|
-
│ Context7 │ 库文档查询 │
|
|
64
|
-
│ EXA │ 网络搜索和研究 │
|
|
65
|
-
│ + 其他 │ 任何在容器中运行的MCP │
|
|
66
|
-
└─────────────────────────────────────────────────────────────┘
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**为什么这个架构?**
|
|
70
|
-
|
|
71
|
-
| MCP位置 | 令牌成本 | 用例 |
|
|
72
|
-
| ----------------------- | --------------- | ---------------------------------------- |
|
|
73
|
-
| **直接在 ~/.claude.json** | 正常 | 需要主机访问的MCP(文件、终端) |
|
|
74
|
-
| **在 docker-gateway内** | **无额外成本** | 不需要主机访问的MCP(API、网络) |
|
|
75
|
-
|
|
76
|
-
在docker-gateway内运行的MCP被封装在容器中,因此它们的工具定义不会对Claude对话上下文造成开销。
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## 平台特定路径
|
|
81
|
-
|
|
82
|
-
### Windows
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
C:\Users\<username>\.sinapse\mcp\global-config.json
|
|
86
|
-
C:\Users\<username>\.sinapse\mcp\servers\
|
|
87
|
-
C:\Users\<username>\.sinapse\credentials\
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### macOS
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
/Users/<username>/.sinapse/mcp/global-config.json
|
|
94
|
-
/Users/<username>/.sinapse/mcp/servers/
|
|
95
|
-
/Users/<username>/.sinapse/credentials/
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### Linux
|
|
99
|
-
|
|
100
|
-
```
|
|
101
|
-
/home/<username>/.sinapse/mcp/global-config.json
|
|
102
|
-
/home/<username>/.sinapse/mcp/servers/
|
|
103
|
-
/home/<username>/.sinapse/credentials/
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
## 初始设置
|
|
109
|
-
|
|
110
|
-
### 第1步:创建全局结构
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
# 创建全局目录和配置
|
|
114
|
-
sinapse mcp setup
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
**这会创建:**
|
|
118
|
-
|
|
119
|
-
- `~/.sinapse/` - 全局SINAPSE目录
|
|
120
|
-
- `~/.sinapse/mcp/` - MCP配置目录
|
|
121
|
-
- `~/.sinapse/mcp/global-config.json` - 主配置文件
|
|
122
|
-
- `~/.sinapse/mcp/servers/` - 个别服务器配置
|
|
123
|
-
- `~/.sinapse/mcp/cache/` - 响应缓存
|
|
124
|
-
- `~/.sinapse/credentials/` - 安全凭据存储
|
|
125
|
-
|
|
126
|
-
### 第2步:验证设置
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
# 检查全局配置存在
|
|
130
|
-
sinapse mcp status
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
**预期输出:**
|
|
134
|
-
|
|
135
|
-
```
|
|
136
|
-
MCP全局配置
|
|
137
|
-
========================
|
|
138
|
-
|
|
139
|
-
位置: ~/.sinapse/mcp/global-config.json
|
|
140
|
-
状态: ✓ 已配置
|
|
141
|
-
|
|
142
|
-
服务器: 0个已配置
|
|
143
|
-
缓存: 为空
|
|
144
|
-
|
|
145
|
-
运行 'sinapse mcp add <server>' 来添加服务器。
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## 添加MCP服务器
|
|
151
|
-
|
|
152
|
-
### 使用模板
|
|
153
|
-
|
|
154
|
-
SINAPSE包含流行MCP服务器的模板:
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
# 从模板添加
|
|
158
|
-
sinapse mcp add context7
|
|
159
|
-
sinapse mcp add exa
|
|
160
|
-
sinapse mcp add github
|
|
161
|
-
sinapse mcp add puppeteer
|
|
162
|
-
sinapse mcp add filesystem
|
|
163
|
-
sinapse mcp add memory
|
|
164
|
-
sinapse mcp add desktop-commander
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### 可用模板
|
|
168
|
-
|
|
169
|
-
| 模板 | 类型 | 描述 |
|
|
170
|
-
| --------------- | ------- | ---------------------- |
|
|
171
|
-
| `context7` | SSE | 库文档查询 |
|
|
172
|
-
| `exa` | 命令 | 高级网络搜索 |
|
|
173
|
-
| `github` | 命令 | GitHub API集成 |
|
|
174
|
-
| `puppeteer` | 命令 | 浏览器自动化 |
|
|
175
|
-
| `filesystem` | 命令 | 文件系统访问 |
|
|
176
|
-
| `memory` | 命令 | 临时内存存储 |
|
|
177
|
-
| `desktop-commander` | 命令 | 桌面自动化 |
|
|
178
|
-
|
|
179
|
-
### 自定义服务器配置
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# 使用JSON配置添加自定义服务器
|
|
183
|
-
sinapse mcp add my-server --config='{"command":"npx","args":["-y","my-mcp-server"]}'
|
|
184
|
-
|
|
185
|
-
# 从配置文件添加
|
|
186
|
-
sinapse mcp add my-server --config-file=./my-server-config.json
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
---
|
|
190
|
-
|
|
191
|
-
## CLI命令
|
|
192
|
-
|
|
193
|
-
### `sinapse mcp setup`
|
|
194
|
-
|
|
195
|
-
初始化全局MCP配置。
|
|
196
|
-
|
|
197
|
-
```bash
|
|
198
|
-
# 创建全局结构
|
|
199
|
-
sinapse mcp setup
|
|
200
|
-
|
|
201
|
-
# 强制重新创建(备份现有)
|
|
202
|
-
sinapse mcp setup --force
|
|
203
|
-
|
|
204
|
-
# 指定自定义位置
|
|
205
|
-
sinapse mcp setup --path=/custom/path
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### `sinapse mcp add`
|
|
209
|
-
|
|
210
|
-
添加新的MCP服务器。
|
|
211
|
-
|
|
212
|
-
```bash
|
|
213
|
-
# 从模板添加
|
|
214
|
-
sinapse mcp add context7
|
|
215
|
-
|
|
216
|
-
# 使用自定义配置添加
|
|
217
|
-
sinapse mcp add custom-server --config='{"command":"npx","args":["-y","package"]}'
|
|
218
|
-
|
|
219
|
-
# 使用环境变量添加
|
|
220
|
-
sinapse mcp add exa --env='EXA_API_KEY=your-key'
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
### `sinapse mcp remove`
|
|
224
|
-
|
|
225
|
-
移除MCP服务器。
|
|
226
|
-
|
|
227
|
-
```bash
|
|
228
|
-
# 移除服务器
|
|
229
|
-
sinapse mcp remove context7
|
|
230
|
-
|
|
231
|
-
# 移除时跳过确认
|
|
232
|
-
sinapse mcp remove context7 --yes
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### `sinapse mcp list`
|
|
236
|
-
|
|
237
|
-
列出配置的服务器。
|
|
238
|
-
|
|
239
|
-
```bash
|
|
240
|
-
# 列出所有服务器
|
|
241
|
-
sinapse mcp list
|
|
242
|
-
|
|
243
|
-
# 列出详细信息
|
|
244
|
-
sinapse mcp list --verbose
|
|
245
|
-
|
|
246
|
-
# 仅列出已启用的
|
|
247
|
-
sinapse mcp list --enabled
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
**输出:**
|
|
251
|
-
|
|
252
|
-
```
|
|
253
|
-
配置的MCP服务器
|
|
254
|
-
======================
|
|
255
|
-
|
|
256
|
-
context7 [enabled] SSE https://mcp.context7.com/sse
|
|
257
|
-
exa [enabled] CMD npx -y exa-mcp-server
|
|
258
|
-
github [disabled] CMD npx -y @modelcontextprotocol/server-github
|
|
259
|
-
|
|
260
|
-
总计: 3个服务器 (2个已启用, 1个已禁用)
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
### `sinapse mcp enable/disable`
|
|
264
|
-
|
|
265
|
-
启用或禁用服务器。
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
# 禁用服务器
|
|
269
|
-
sinapse mcp disable github
|
|
270
|
-
|
|
271
|
-
# 启用服务器
|
|
272
|
-
sinapse mcp enable github
|
|
273
|
-
|
|
274
|
-
# 切换
|
|
275
|
-
sinapse mcp toggle github
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
### `sinapse mcp status`
|
|
279
|
-
|
|
280
|
-
显示全局MCP状态。
|
|
281
|
-
|
|
282
|
-
```bash
|
|
283
|
-
# 完整状态
|
|
284
|
-
sinapse mcp status
|
|
285
|
-
|
|
286
|
-
# JSON输出
|
|
287
|
-
sinapse mcp status --json
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
### `sinapse mcp sync`
|
|
291
|
-
|
|
292
|
-
将全局配置同步到项目。
|
|
293
|
-
|
|
294
|
-
```bash
|
|
295
|
-
# 同步到当前项目
|
|
296
|
-
sinapse mcp sync
|
|
297
|
-
|
|
298
|
-
# 仅同步特定服务器
|
|
299
|
-
sinapse mcp sync --servers=context7,exa
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
---
|
|
303
|
-
|
|
304
|
-
## 配置文件
|
|
305
|
-
|
|
306
|
-
### global-config.json
|
|
307
|
-
|
|
308
|
-
所有服务器定义的主配置文件。
|
|
309
|
-
|
|
310
|
-
```json
|
|
311
|
-
{
|
|
312
|
-
"version": "1.0",
|
|
313
|
-
"servers": {
|
|
314
|
-
"context7": {
|
|
315
|
-
"type": "sse",
|
|
316
|
-
"url": "https://mcp.context7.com/sse",
|
|
317
|
-
"enabled": true
|
|
318
|
-
},
|
|
319
|
-
"exa": {
|
|
320
|
-
"command": "npx",
|
|
321
|
-
"args": ["-y", "exa-mcp-server"],
|
|
322
|
-
"env": {
|
|
323
|
-
"EXA_API_KEY": "${EXA_API_KEY}"
|
|
324
|
-
},
|
|
325
|
-
"enabled": true
|
|
326
|
-
},
|
|
327
|
-
"github": {
|
|
328
|
-
"command": "npx",
|
|
329
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
330
|
-
"env": {
|
|
331
|
-
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
332
|
-
},
|
|
333
|
-
"enabled": true
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"defaults": {
|
|
337
|
-
"timeout": 30000,
|
|
338
|
-
"retries": 3
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
### 个别服务器文件
|
|
344
|
-
|
|
345
|
-
每个服务器在 `servers/` 中也有其自己的配置文件:
|
|
346
|
-
|
|
347
|
-
```json
|
|
348
|
-
// ~/.sinapse/mcp/servers/context7.json
|
|
349
|
-
{
|
|
350
|
-
"type": "sse",
|
|
351
|
-
"url": "https://mcp.context7.com/sse",
|
|
352
|
-
"enabled": true
|
|
353
|
-
}
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
---
|
|
357
|
-
|
|
358
|
-
## 服务器类型
|
|
359
|
-
|
|
360
|
-
### SSE (Server-Sent Events)
|
|
361
|
-
|
|
362
|
-
对于提供流HTTP端点的服务器。
|
|
363
|
-
|
|
364
|
-
```json
|
|
365
|
-
{
|
|
366
|
-
"type": "sse",
|
|
367
|
-
"url": "https://mcp.server.com/sse",
|
|
368
|
-
"enabled": true
|
|
369
|
-
}
|
|
370
|
-
```
|
|
371
|
-
|
|
372
|
-
### 命令
|
|
373
|
-
|
|
374
|
-
对于作为本地进程运行的服务器。
|
|
375
|
-
|
|
376
|
-
```json
|
|
377
|
-
{
|
|
378
|
-
"command": "npx",
|
|
379
|
-
"args": ["-y", "@package/mcp-server"],
|
|
380
|
-
"env": {
|
|
381
|
-
"API_KEY": "${API_KEY}"
|
|
382
|
-
},
|
|
383
|
-
"enabled": true
|
|
384
|
-
}
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
### Windows命令包装器
|
|
388
|
-
|
|
389
|
-
对于Windows,对NPX使用CMD包装器:
|
|
390
|
-
|
|
391
|
-
```json
|
|
392
|
-
{
|
|
393
|
-
"command": "cmd",
|
|
394
|
-
"args": ["/c", "npx-wrapper.cmd", "-y", "@package/mcp-server"],
|
|
395
|
-
"env": {
|
|
396
|
-
"API_KEY": "${API_KEY}"
|
|
397
|
-
},
|
|
398
|
-
"enabled": true
|
|
399
|
-
}
|
|
400
|
-
```
|
|
401
|
-
|
|
402
|
-
---
|
|
403
|
-
|
|
404
|
-
## 环境变量
|
|
405
|
-
|
|
406
|
-
### 在配置中使用变量
|
|
407
|
-
|
|
408
|
-
使用 `${VAR_NAME}` 语法引用环境变量:
|
|
409
|
-
|
|
410
|
-
```json
|
|
411
|
-
{
|
|
412
|
-
"env": {
|
|
413
|
-
"API_KEY": "${MY_API_KEY}",
|
|
414
|
-
"TOKEN": "${MY_TOKEN}"
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
### 设置变量
|
|
420
|
-
|
|
421
|
-
**Windows (PowerShell):**
|
|
422
|
-
|
|
423
|
-
```powershell
|
|
424
|
-
$env:EXA_API_KEY = "your-api-key"
|
|
425
|
-
$env:GITHUB_TOKEN = "your-github-token"
|
|
426
|
-
```
|
|
427
|
-
|
|
428
|
-
**Windows (CMD):**
|
|
429
|
-
|
|
430
|
-
```cmd
|
|
431
|
-
set EXA_API_KEY=your-api-key
|
|
432
|
-
set GITHUB_TOKEN=your-github-token
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
**macOS/Linux:**
|
|
436
|
-
|
|
437
|
-
```bash
|
|
438
|
-
export EXA_API_KEY="your-api-key"
|
|
439
|
-
export GITHUB_TOKEN="your-github-token"
|
|
440
|
-
```
|
|
441
|
-
|
|
442
|
-
### 持久变量
|
|
443
|
-
|
|
444
|
-
**Windows:** 添加到系统环境变量
|
|
445
|
-
|
|
446
|
-
**macOS/Linux:** 添加到 `~/.bashrc`, `~/.zshrc`, 或 `~/.profile`:
|
|
447
|
-
|
|
448
|
-
```bash
|
|
449
|
-
export EXA_API_KEY="your-api-key"
|
|
450
|
-
export GITHUB_TOKEN="your-github-token"
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
---
|
|
454
|
-
|
|
455
|
-
## 凭据管理
|
|
456
|
-
|
|
457
|
-
### 安全存储
|
|
458
|
-
|
|
459
|
-
凭据存储在 `~/.sinapse/credentials/` 中,包含 `.gitignore` 以防止意外提交。
|
|
460
|
-
|
|
461
|
-
```bash
|
|
462
|
-
# 添加凭据
|
|
463
|
-
sinapse mcp credential set EXA_API_KEY "your-api-key"
|
|
464
|
-
|
|
465
|
-
# 获取凭据
|
|
466
|
-
sinapse mcp credential get EXA_API_KEY
|
|
467
|
-
|
|
468
|
-
# 列出凭据(已掩盖)
|
|
469
|
-
sinapse mcp credential list
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
### 凭据文件格式
|
|
473
|
-
|
|
474
|
-
```json
|
|
475
|
-
// ~/.sinapse/credentials/api-keys.json
|
|
476
|
-
{
|
|
477
|
-
"EXA_API_KEY": "encrypted-value",
|
|
478
|
-
"GITHUB_TOKEN": "encrypted-value"
|
|
479
|
-
}
|
|
480
|
-
```
|
|
481
|
-
|
|
482
|
-
---
|
|
483
|
-
|
|
484
|
-
## 编程式使用
|
|
485
|
-
|
|
486
|
-
### JavaScript API
|
|
487
|
-
|
|
488
|
-
```javascript
|
|
489
|
-
const {
|
|
490
|
-
globalDirExists,
|
|
491
|
-
globalConfigExists,
|
|
492
|
-
createGlobalStructure,
|
|
493
|
-
readGlobalConfig,
|
|
494
|
-
addServer,
|
|
495
|
-
removeServer,
|
|
496
|
-
listServers,
|
|
497
|
-
} = require('./.sinapse-ai/core/mcp/global-config-manager');
|
|
498
|
-
|
|
499
|
-
// 检查设置是否存在
|
|
500
|
-
if (!globalDirExists()) {
|
|
501
|
-
createGlobalStructure();
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
// 添加服务器
|
|
505
|
-
addServer('my-server', {
|
|
506
|
-
command: 'npx',
|
|
507
|
-
args: ['-y', 'my-mcp-server'],
|
|
508
|
-
enabled: true,
|
|
509
|
-
});
|
|
510
|
-
|
|
511
|
-
// 列出服务器
|
|
512
|
-
const { servers, total, enabled } = listServers();
|
|
513
|
-
console.log(`${enabled}/${total} servers enabled`);
|
|
514
|
-
|
|
515
|
-
// 移除服务器
|
|
516
|
-
removeServer('my-server');
|
|
517
|
-
```
|
|
518
|
-
|
|
519
|
-
### OS检测
|
|
520
|
-
|
|
521
|
-
```javascript
|
|
522
|
-
const {
|
|
523
|
-
detectOS,
|
|
524
|
-
isWindows,
|
|
525
|
-
isMacOS,
|
|
526
|
-
isLinux,
|
|
527
|
-
getGlobalMcpDir,
|
|
528
|
-
getGlobalConfigPath,
|
|
529
|
-
} = require('./.sinapse-ai/core/mcp/os-detector');
|
|
530
|
-
|
|
531
|
-
// 获取OS类型
|
|
532
|
-
console.log(detectOS()); // 'windows' | 'macos' | 'linux'
|
|
533
|
-
|
|
534
|
-
// 获取路径
|
|
535
|
-
console.log(getGlobalMcpDir()); // ~/.sinapse/mcp/
|
|
536
|
-
console.log(getGlobalConfigPath()); // ~/.sinapse/mcp/global-config.json
|
|
537
|
-
```
|
|
538
|
-
|
|
539
|
-
---
|
|
540
|
-
|
|
541
|
-
## 故障排除
|
|
542
|
-
|
|
543
|
-
### 设置问题
|
|
544
|
-
|
|
545
|
-
| 问题 | 解决方案 |
|
|
546
|
-
| --- | --- |
|
|
547
|
-
| 权限被拒绝 | 以管理员身份运行终端 (Windows) 或使用sudo (macOS/Linux) |
|
|
548
|
-
| 目录存在 | 使用 `sinapse mcp setup --force` 来重新创建 |
|
|
549
|
-
| 未找到路径 | 确保主目录存在 |
|
|
550
|
-
|
|
551
|
-
### 服务器问题
|
|
552
|
-
|
|
553
|
-
| 问题 | 解决方案 |
|
|
554
|
-
| --- | --- |
|
|
555
|
-
| 服务器未启动 | 检查命令和参数,验证包已安装 |
|
|
556
|
-
| 未找到环境变量 | 设置变量或使用凭据存储 |
|
|
557
|
-
| 超时错误 | 增加配置中的超时 |
|
|
558
|
-
| 连接被拒绝 | 检查URL和网络访问 |
|
|
559
|
-
|
|
560
|
-
### Windows特定问题
|
|
561
|
-
|
|
562
|
-
| 问题 | 解决方案 |
|
|
563
|
-
| --- | --- |
|
|
564
|
-
| 未找到NPX | 将Node.js添加到PATH,使用CMD包装器 |
|
|
565
|
-
| 符号链接错误 | 启用开发者模式或使用连接点 |
|
|
566
|
-
| 路径太长 | 在注册表中启用长路径 |
|
|
567
|
-
|
|
568
|
-
### 常见修复
|
|
569
|
-
|
|
570
|
-
```bash
|
|
571
|
-
# 重置全局配置
|
|
572
|
-
sinapse mcp setup --force
|
|
573
|
-
|
|
574
|
-
# 清除缓存
|
|
575
|
-
rm -rf ~/.sinapse/mcp/cache/*
|
|
576
|
-
|
|
577
|
-
# 验证配置
|
|
578
|
-
sinapse mcp status --verbose
|
|
579
|
-
|
|
580
|
-
# 手动测试服务器
|
|
581
|
-
npx -y @modelcontextprotocol/server-github
|
|
582
|
-
```
|
|
583
|
-
|
|
584
|
-
### Docker MCP工具包问题
|
|
585
|
-
|
|
586
|
-
| 问题 | 解决方案 |
|
|
587
|
-
| --- | --- |
|
|
588
|
-
| 秘密未传递给容器 | 直接编辑目录文件(见下文) |
|
|
589
|
-
| 模板插值失败 | 在目录中使用硬编码值 |
|
|
590
|
-
| 工具显示为"(N prompts)" | 令牌未被传递 - 应用解决方案 |
|
|
591
|
-
|
|
592
|
-
#### Docker MCP秘密错误 (2025年12月)
|
|
593
|
-
|
|
594
|
-
**问题:** Docker MCP工具包的秘密存储 (`docker mcp secret set`) 和模板插值 (`{{...}}`) 不正常工作。凭据未传递给容器。
|
|
595
|
-
|
|
596
|
-
**症状:**
|
|
597
|
-
|
|
598
|
-
- `docker mcp tools ls` 显示"(N prompts)"而不是"(N tools)"
|
|
599
|
-
- MCP服务器启动但认证失败
|
|
600
|
-
- 详细输出显示 `-e ENV_VAR` 没有值
|
|
601
|
-
|
|
602
|
-
**解决方案:** 直接编辑 `~/.docker/mcp/catalogs/docker-mcp.yaml`:
|
|
603
|
-
|
|
604
|
-
```yaml
|
|
605
|
-
{ mcp-name }:
|
|
606
|
-
env:
|
|
607
|
-
- name: API_TOKEN
|
|
608
|
-
value: 'actual-token-value-here'
|
|
609
|
-
```
|
|
610
|
-
|
|
611
|
-
**示例 - Apify:**
|
|
612
|
-
|
|
613
|
-
```yaml
|
|
614
|
-
apify-mcp-server:
|
|
615
|
-
env:
|
|
616
|
-
- name: TOOLS
|
|
617
|
-
value: 'actors,docs,apify/rag-web-browser'
|
|
618
|
-
- name: APIFY_TOKEN
|
|
619
|
-
value: 'apify_api_xxxxxxxxxxxxx'
|
|
620
|
-
```
|
|
621
|
-
|
|
622
|
-
**注意:** 这在本地文件中暴露凭据。保护文件权限并永远不提交此文件。
|
|
623
|
-
|
|
624
|
-
---
|
|
625
|
-
|
|
626
|
-
## 与IDE集成
|
|
627
|
-
|
|
628
|
-
### Claude Desktop
|
|
629
|
-
|
|
630
|
-
添加到Claude Desktop设置:
|
|
631
|
-
|
|
632
|
-
```json
|
|
633
|
-
{
|
|
634
|
-
"mcpServers": {
|
|
635
|
-
"sinapse-global": {
|
|
636
|
-
"command": "sinapse",
|
|
637
|
-
"args": ["mcp", "serve", "--global"]
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
```
|
|
642
|
-
|
|
643
|
-
### VS Code
|
|
644
|
-
|
|
645
|
-
在 `.vscode/settings.json` 中配置:
|
|
646
|
-
|
|
647
|
-
```json
|
|
648
|
-
{
|
|
649
|
-
"sinapse.mcp.useGlobal": true,
|
|
650
|
-
"sinapse.mcp.globalPath": "~/.sinapse/mcp/global-config.json"
|
|
651
|
-
}
|
|
652
|
-
```
|
|
653
|
-
|
|
654
|
-
### 项目特定覆盖
|
|
655
|
-
|
|
656
|
-
在项目根目录中创建 `.mcp.json` 来覆盖全局设置:
|
|
657
|
-
|
|
658
|
-
```json
|
|
659
|
-
{
|
|
660
|
-
"inherit": "global",
|
|
661
|
-
"servers": {
|
|
662
|
-
"context7": {
|
|
663
|
-
"enabled": false
|
|
664
|
-
},
|
|
665
|
-
"project-specific": {
|
|
666
|
-
"command": "node",
|
|
667
|
-
"args": ["./local-mcp-server.js"]
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
```
|
|
672
|
-
|
|
673
|
-
---
|
|
674
|
-
|
|
675
|
-
## 最佳实践
|
|
676
|
-
|
|
677
|
-
1. **使用模板** 对于常见服务器
|
|
678
|
-
2. **安全存储凭据** 在凭据目录中
|
|
679
|
-
3. **禁用未使用的服务器** 以减少资源使用
|
|
680
|
-
4. **保持服务器更新** 与最新包版本
|
|
681
|
-
5. **使用项目覆盖** 对于项目特定需求
|
|
682
|
-
6. **备份配置** 在重大更改前
|
|
683
|
-
|
|
684
|
-
---
|
|
685
|
-
|
|
686
|
-
## 相关文档
|
|
687
|
-
|
|
688
|
-
- [Docker网关教程](./mcp/docker-gateway-tutorial.md)
|
|
689
|
-
- [Desktop Commander MCP指南](./mcp/desktop-commander.md)
|
|
690
|
-
- [Docker MCP设置](../docker-mcp-setup.md)
|
|
691
|
-
- [模块系统架构](../architecture/module-system.md)
|
|
692
|
-
- [MCP架构图](../architecture/mcp-system-diagrams.md)
|
|
693
|
-
|
|
694
|
-
---
|
|
695
|
-
|
|
696
|
-
_SINAPSE v4 MCP全局设置指南_
|