arkaos 4.14.0 → 4.14.2
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 +25 -3
- package/VERSION +1 -1
- package/knowledge/skills-manifest.json +1 -1
- package/mcps/arka-prompts/commands.py +451 -0
- package/mcps/arka-prompts/pyproject.toml +15 -0
- package/mcps/arka-prompts/server.py +156 -0
- package/mcps/arka-tools/pyproject.toml +10 -0
- package/mcps/arka-tools/server.py +319 -0
- package/mcps/profiles/base.json +19 -0
- package/mcps/profiles/brand.json +19 -0
- package/mcps/profiles/comms.json +13 -0
- package/mcps/profiles/content.json +20 -0
- package/mcps/profiles/ecommerce.json +13 -0
- package/mcps/profiles/full-stack.json +15 -0
- package/mcps/profiles/laravel.json +12 -0
- package/mcps/profiles/nextjs.json +13 -0
- package/mcps/profiles/nuxt.json +13 -0
- package/mcps/profiles/react.json +12 -0
- package/mcps/profiles/vue.json +12 -0
- package/mcps/registry.json +423 -0
- package/mcps/scripts/apply-mcps.sh +282 -0
- package/mcps/stacks/laravel-packages.json +49 -0
- package/mcps/stacks/react-packages.json +58 -0
- package/package.json +6 -2
- package/pyproject.toml +1 -1
- package/core/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/__pycache__/favorites.cpython-313.pyc +0 -0
- package/core/__pycache__/keys.cpython-313.pyc +0 -0
- package/core/__pycache__/trash.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/agents/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/behavior_enforcer.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/behavioral_compiler.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/dna_registry.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/draft_builder.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/field_suggester.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/loader.cpython-312.pyc +0 -0
- package/core/agents/__pycache__/loader.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/obsidian_export.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/registry_gen.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/schema.cpython-312.pyc +0 -0
- package/core/agents/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/string_suggester.cpython-313.pyc +0 -0
- package/core/agents/__pycache__/validator.cpython-313.pyc +0 -0
- package/core/agents/adapters/__pycache__/disc_adapter.cpython-313.pyc +0 -0
- package/core/budget/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/budget/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/budget/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/budget/__pycache__/manager.cpython-314.pyc +0 -0
- package/core/budget/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/budget/__pycache__/schema.cpython-314.pyc +0 -0
- package/core/cognition/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/cognition/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/auto_documentor.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/dreaming.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/dreams_reader.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/reorganizer.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/reorganizer_cli.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/reorganizer_scheduler.cpython-313.pyc +0 -0
- package/core/cognition/__pycache__/retrieval.cpython-312.pyc +0 -0
- package/core/cognition/__pycache__/retrieval.cpython-313.pyc +0 -0
- package/core/cognition/capture/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/cognition/capture/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/capture/__pycache__/collector.cpython-313.pyc +0 -0
- package/core/cognition/capture/__pycache__/store.cpython-312.pyc +0 -0
- package/core/cognition/capture/__pycache__/store.cpython-313.pyc +0 -0
- package/core/cognition/insights/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/cognition/insights/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/insights/__pycache__/store.cpython-312.pyc +0 -0
- package/core/cognition/insights/__pycache__/store.cpython-313.pyc +0 -0
- package/core/cognition/memory/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/cognition/memory/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/memory/__pycache__/obsidian.cpython-312.pyc +0 -0
- package/core/cognition/memory/__pycache__/obsidian.cpython-313.pyc +0 -0
- package/core/cognition/memory/__pycache__/schemas.cpython-312.pyc +0 -0
- package/core/cognition/memory/__pycache__/schemas.cpython-313.pyc +0 -0
- package/core/cognition/memory/__pycache__/vector.cpython-312.pyc +0 -0
- package/core/cognition/memory/__pycache__/vector.cpython-313.pyc +0 -0
- package/core/cognition/memory/__pycache__/writer.cpython-312.pyc +0 -0
- package/core/cognition/memory/__pycache__/writer.cpython-313.pyc +0 -0
- package/core/cognition/research/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/research/__pycache__/profiler.cpython-313.pyc +0 -0
- package/core/cognition/scheduler/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/cognition/scheduler/__pycache__/cli.cpython-313.pyc +0 -0
- package/core/cognition/scheduler/__pycache__/daemon.cpython-313.pyc +0 -0
- package/core/cognition/scheduler/__pycache__/platform.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/advisor_db.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/display.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/matcher.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/persistence.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/profiler.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/prompts.cpython-313.pyc +0 -0
- package/core/conclave/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/evals/__pycache__/record_cli.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/runner_cli.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/sanitizer.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/sanitizer.cpython-314.pyc +0 -0
- package/core/evals/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/schema.cpython-314.pyc +0 -0
- package/core/evals/__pycache__/verdict_labels.cpython-313.pyc +0 -0
- package/core/evals/__pycache__/verdict_labels.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/complexity.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/complexity.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/handoff.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/handoff.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/orchestrator.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/orchestrator.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/persistence.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/persistence.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/renderer.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/renderer.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/runtime_dispatcher.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/runtime_dispatcher.cpython-314.pyc +0 -0
- package/core/forge/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/forge/__pycache__/schema.cpython-314.pyc +0 -0
- package/core/fusion/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/fusion/__pycache__/cli.cpython-313.pyc +0 -0
- package/core/fusion/__pycache__/engine.cpython-313.pyc +0 -0
- package/core/fusion/__pycache__/panel_builder.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/governance/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/activation_tracker.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/agent_activation_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/agent_experiences.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/agent_experiences.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/agent_experiences_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/closing_marker_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/closing_marker_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/compliance_telemetry.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/compliance_telemetry_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/constitution.cpython-312.pyc +0 -0
- package/core/governance/__pycache__/constitution.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/constitution.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/cqo_experience_recorder.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/design_system_lint.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/design_system_lint_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/dna_fidelity.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/dna_fidelity_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/dod_gate.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/enforcement_telemetry.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/enforcement_telemetry_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/evidence_checks.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/judge.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/judge.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/kb_cite_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/kb_cite_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/leak_scanner.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/leak_scanner.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/learning_detector.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/meta_tag_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/meta_tag_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/phantom_action_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/phantom_action_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/qg_verdict.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/qg_verdict.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/quality_api.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/quality_api.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/quality_router.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/quality_router.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/redo_counter.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/review_workflow.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/review_workflow.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/routing_feedback.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/routing_feedback.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/routing_feedback_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/skill_proposer.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/skill_proposer.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/specialist_telemetry.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/specialist_telemetry_cli.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/sycophancy_detector.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/sycophancy_detector.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/_shared.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/_shared.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/_shared.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/gate_manifest.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/post_tool_use.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/post_tool_use.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/pre_tool_use.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/pre_tool_use.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/pre_tool_use.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/session_end.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/session_start.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/session_start.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/stop.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/stop.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/stop.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/subagent_stop.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/subagent_stop.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/user_prompt_submit.cpython-312.pyc +0 -0
- package/core/hooks/__pycache__/user_prompt_submit.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/user_prompt_submit.cpython-314.pyc +0 -0
- package/core/jobs/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/jobs/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/jobs/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/jobs/__pycache__/auto_doc_worker.cpython-312.pyc +0 -0
- package/core/jobs/__pycache__/auto_doc_worker.cpython-313.pyc +0 -0
- package/core/jobs/__pycache__/auto_doc_worker.cpython-314.pyc +0 -0
- package/core/jobs/__pycache__/manager.cpython-312.pyc +0 -0
- package/core/jobs/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/jobs/__pycache__/manager.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/knowledge/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/agent_match.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/chunker.cpython-312.pyc +0 -0
- package/core/knowledge/__pycache__/chunker.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/chunker.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/embedder.cpython-312.pyc +0 -0
- package/core/knowledge/__pycache__/embedder.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/embedder.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/embedding_backends.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/embedding_backends.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/indexer.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/ingest.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/pattern_cards.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/pattern_cards.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/pattern_cards_cli.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/recipes.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/recipes.cpython-314.pyc +0 -0
- package/core/knowledge/__pycache__/recipes_cli.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/sources.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/vector_store.cpython-312.pyc +0 -0
- package/core/knowledge/__pycache__/vector_store.cpython-313.pyc +0 -0
- package/core/knowledge/__pycache__/vector_store.cpython-314.pyc +0 -0
- package/core/memory/__pycache__/compressor.cpython-313.pyc +0 -0
- package/core/memory/__pycache__/rehydrator.cpython-312.pyc +0 -0
- package/core/memory/__pycache__/rehydrator.cpython-313.pyc +0 -0
- package/core/memory/__pycache__/rehydrator.cpython-314.pyc +0 -0
- package/core/memory/__pycache__/semantic_store.cpython-312.pyc +0 -0
- package/core/memory/__pycache__/semantic_store.cpython-313.pyc +0 -0
- package/core/memory/__pycache__/semantic_store.cpython-314.pyc +0 -0
- package/core/memory/__pycache__/session_store.cpython-312.pyc +0 -0
- package/core/memory/__pycache__/session_store.cpython-313.pyc +0 -0
- package/core/memory/__pycache__/session_store.cpython-314.pyc +0 -0
- package/core/memory/__pycache__/turn_capture.cpython-313.pyc +0 -0
- package/core/memory/__pycache__/turn_capture.cpython-314.pyc +0 -0
- package/core/obsidian/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/obsidian/__pycache__/cataloger.cpython-313.pyc +0 -0
- package/core/obsidian/__pycache__/relator.cpython-313.pyc +0 -0
- package/core/obsidian/__pycache__/taxonomy.cpython-313.pyc +0 -0
- package/core/obsidian/__pycache__/templates.cpython-313.pyc +0 -0
- package/core/obsidian/__pycache__/writer.cpython-313.pyc +0 -0
- package/core/orchestration/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/orchestration/__pycache__/checkpoint.cpython-313.pyc +0 -0
- package/core/orchestration/__pycache__/patterns.cpython-313.pyc +0 -0
- package/core/orchestration/__pycache__/protocol.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/archetypes.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/builder.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/description_drafter.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/obsidian_store.cpython-313.pyc +0 -0
- package/core/personas/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/profile/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/profile/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/registry/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/registry/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/registry/__pycache__/generator.cpython-312.pyc +0 -0
- package/core/registry/__pycache__/generator.cpython-313.pyc +0 -0
- package/core/release/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/release/__pycache__/preflight.cpython-313.pyc +0 -0
- package/core/release/__pycache__/preflight_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/base.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/base.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/base.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/capabilities_cli.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/capabilities_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/claude_code.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/claude_code.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/claude_code.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/codex_cli.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/codex_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/codex_cli.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/context_compactor.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/cost_governor.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/cost_governor.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/cost_governor.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/cursor.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/cursor.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/cursor.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/gemini_cli.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/gemini_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/gemini_cli.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/llm_cost_telemetry.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/llm_cost_telemetry.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/llm_cost_telemetry.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/llm_cost_telemetry_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/llm_provider.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/llm_provider.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/llm_provider.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/llm_retry.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/llm_retry.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/llm_retry.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/mcp_telemetry.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/mcp_telemetry.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/mcp_telemetry_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/model_router.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/model_router.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/model_router.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/model_router_cli.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/model_routing_check.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/model_routing_context.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/native_usage.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/native_usage.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/native_usage.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/ollama_discovery.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/ollama_provider.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/ollama_provider.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/ollama_provider.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/openrouter_provider.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/openrouter_provider.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/openrouter_provider.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/path_resolver.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/path_resolver.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/pricing.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/pricing.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/pricing.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/registry.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/registry.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/registry.cpython-314.pyc +0 -0
- package/core/runtime/__pycache__/runtime_models.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/squad_orchestrator.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/subagent.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/user_paths.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/user_paths.cpython-313.pyc +0 -0
- package/core/runtime/gateway/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/runtime/gateway/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/runtime/gateway/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/runtime/gateway/__pycache__/__main__.cpython-313.pyc +0 -0
- package/core/runtime/gateway/__pycache__/litellm_config.cpython-312.pyc +0 -0
- package/core/runtime/gateway/__pycache__/litellm_config.cpython-313.pyc +0 -0
- package/core/runtime/gateway/__pycache__/litellm_config.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/shared/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/shared/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/decay.cpython-313.pyc +0 -0
- package/core/shared/__pycache__/decay.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/safe_session_id.cpython-312.pyc +0 -0
- package/core/shared/__pycache__/safe_session_id.cpython-313.pyc +0 -0
- package/core/shared/__pycache__/safe_session_id.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/sqlite_recovery.cpython-312.pyc +0 -0
- package/core/shared/__pycache__/sqlite_recovery.cpython-313.pyc +0 -0
- package/core/shared/__pycache__/sqlite_recovery.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/temp_paths.cpython-312.pyc +0 -0
- package/core/shared/__pycache__/temp_paths.cpython-313.pyc +0 -0
- package/core/shared/__pycache__/temp_paths.cpython-314.pyc +0 -0
- package/core/shared/__pycache__/test_evidence.cpython-313-pytest-9.1.1.pyc +0 -0
- package/core/shared/__pycache__/test_evidence.cpython-313.pyc +0 -0
- package/core/specs/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/specs/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/specs/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/squads/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/squads/__pycache__/loader.cpython-313.pyc +0 -0
- package/core/squads/__pycache__/registry.cpython-313.pyc +0 -0
- package/core/squads/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/agent_experiences_layer.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/agent_experiences_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/agent_experiences_layer.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/cache.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/cache.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/cache.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/graph_context_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/graph_context_layer.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/kb_cache.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/kb_cache.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/kb_cache.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/pattern_library_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/pattern_library_layer.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/recipe_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/recipe_layer.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/routing_feedback_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/routing_feedback_layer.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/session_memory_layer.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/session_memory_layer.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/session_memory_layer.cpython-314.pyc +0 -0
- package/core/sync/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/sync/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/agent_provisioner.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/ai_mcp_decider.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/content_merger.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/content_syncer.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/descriptor_syncer.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/discovery.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/engine.cpython-312.pyc +0 -0
- package/core/sync/__pycache__/engine.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/manifest.cpython-312.pyc +0 -0
- package/core/sync/__pycache__/manifest.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/mcp_optimizer.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/mcp_syncer.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/policy_loader.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/reporter.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/self_healing.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/settings_syncer.cpython-313.pyc +0 -0
- package/core/sync/__pycache__/update_orchestrator.cpython-313.pyc +0 -0
- package/core/tasks/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/tasks/__pycache__/manager.cpython-313.pyc +0 -0
- package/core/tasks/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/audit.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/connections.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/session.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/session_windows.cpython-313.pyc +0 -0
- package/core/terminal/__pycache__/token.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/__init__.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/__init__.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/__init__.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/announcer.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/dashboard.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/design_authorization.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/design_authorization.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/enforcer.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/engine.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/engine.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/engine.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/flow_authorization.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/flow_authorization.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/flow_enforcer.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/flow_enforcer.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/flow_enforcer.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/frontend_gate.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/frontend_gate.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/frontend_gate_telemetry.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/frontend_gate_telemetry_cli.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/gate_checkpoint.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/gate_checkpoint.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/gate_checkpoint.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/kb_first_decider.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/loader.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/loader.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/loader.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/marker_cache.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/marker_cache.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/plan_approval.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/plan_approval.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/research_gate.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/research_gate.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/rules_registry.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/schema.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/schema.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/schema.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/specialist_enforcer.cpython-312.pyc +0 -0
- package/core/workflow/__pycache__/specialist_enforcer.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/specialist_enforcer.cpython-314.pyc +0 -0
- package/core/workflow/__pycache__/state.cpython-313.pyc +0 -0
- package/core/workflow/__pycache__/state.cpython-314.pyc +0 -0
- package/scripts/__pycache__/dashboard-api.cpython-313.pyc +0 -0
- package/scripts/__pycache__/knowledge-index.cpython-313.pyc +0 -0
- package/scripts/__pycache__/marketplace_export.cpython-313.pyc +0 -0
- package/scripts/__pycache__/marketplace_gen.cpython-313.pyc +0 -0
- package/scripts/__pycache__/migrate_skills_kb_first.cpython-313.pyc +0 -0
- package/scripts/__pycache__/seed_initial_patterns.cpython-313.pyc +0 -0
- package/scripts/__pycache__/synapse-bridge.cpython-312.pyc +0 -0
- package/scripts/__pycache__/synapse-bridge.cpython-313.pyc +0 -0
- package/scripts/__pycache__/synapse-bridge.cpython-314.pyc +0 -0
- package/scripts/bench/__pycache__/__init__.cpython-313.pyc +0 -0
- package/scripts/bench/__pycache__/harness.cpython-313.pyc +0 -0
- package/scripts/bench/__pycache__/run.cpython-313.pyc +0 -0
- package/scripts/tools/__pycache__/docs_stats.cpython-313.pyc +0 -0
- package/scripts/tools/__pycache__/prompt_lint.cpython-313.pyc +0 -0
- package/scripts/tools/__pycache__/prompt_surface_benchmark.cpython-313.pyc +0 -0
- package/scripts/tools/__pycache__/skill_budget.cpython-313.pyc +0 -0
- package/scripts/tools/__pycache__/sync_wiki.cpython-313.pyc +0 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_meta": {
|
|
3
|
+
"description": "ARKA OS — Central MCP Registry",
|
|
4
|
+
"format": "Claude Code .mcp.json compatible",
|
|
5
|
+
"updated": "2026-07-08",
|
|
6
|
+
"categories": {
|
|
7
|
+
"base": "synced into every project's .mcp.json",
|
|
8
|
+
"optional": "in the registry but not resolved for any stack — installed only by explicit user action",
|
|
9
|
+
"runtime": "managed by the runtime (extension/plugin) — registered for governance and telemetry, never written to .mcp.json"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"mcpServers": {
|
|
13
|
+
"arka-prompts": {
|
|
14
|
+
"command": "uv",
|
|
15
|
+
"args": [
|
|
16
|
+
"--directory",
|
|
17
|
+
"{home}/.claude/skills/arka/mcp-server",
|
|
18
|
+
"run",
|
|
19
|
+
"server.py"
|
|
20
|
+
],
|
|
21
|
+
"category": "base",
|
|
22
|
+
"description": "ARKA OS department commands as MCP prompts (Claude Code + Claude Desktop)",
|
|
23
|
+
"required_env": []
|
|
24
|
+
},
|
|
25
|
+
"arka-tools": {
|
|
26
|
+
"command": "uv",
|
|
27
|
+
"args": [
|
|
28
|
+
"--directory",
|
|
29
|
+
"{home}/.claude/skills/arka/mcp-tools",
|
|
30
|
+
"run",
|
|
31
|
+
"server.py"
|
|
32
|
+
],
|
|
33
|
+
"category": "base",
|
|
34
|
+
"description": "ArkaOS programmatic tools: KB search, workflow state, Quality Gate queue, recipes, session memory, telemetry (writes gated by ARKA_TOOLS_WRITE=1)",
|
|
35
|
+
"required_env": []
|
|
36
|
+
},
|
|
37
|
+
"obsidian": {
|
|
38
|
+
"command": "npx",
|
|
39
|
+
"args": [
|
|
40
|
+
"@bitbonsai/mcpvault@latest",
|
|
41
|
+
"{home}/Documents/Personal"
|
|
42
|
+
],
|
|
43
|
+
"category": "base",
|
|
44
|
+
"description": "Obsidian vault integration: read/write notes, personas, knowledge",
|
|
45
|
+
"required_env": []
|
|
46
|
+
},
|
|
47
|
+
"context7": {
|
|
48
|
+
"command": "npx",
|
|
49
|
+
"args": [
|
|
50
|
+
"-y",
|
|
51
|
+
"@upstash/context7-mcp"
|
|
52
|
+
],
|
|
53
|
+
"category": "base",
|
|
54
|
+
"description": "Up-to-date library and framework documentation",
|
|
55
|
+
"required_env": []
|
|
56
|
+
},
|
|
57
|
+
"playwright": {
|
|
58
|
+
"command": "npx",
|
|
59
|
+
"args": [
|
|
60
|
+
"@playwright/mcp@latest"
|
|
61
|
+
],
|
|
62
|
+
"category": "base",
|
|
63
|
+
"description": "Browser automation and testing",
|
|
64
|
+
"required_env": []
|
|
65
|
+
},
|
|
66
|
+
"memory-bank": {
|
|
67
|
+
"command": "npx",
|
|
68
|
+
"args": [
|
|
69
|
+
"-y",
|
|
70
|
+
"@allpepper/memory-bank-mcp"
|
|
71
|
+
],
|
|
72
|
+
"env": {
|
|
73
|
+
"MEMORY_BANK_ROOT": "{home}/memory-bank"
|
|
74
|
+
},
|
|
75
|
+
"category": "optional",
|
|
76
|
+
"description": "Persistent memory across sessions (demoted from base 2026-07-08: 0 invocations/30d — audit E2E v4.3.6; claude-mem covers session memory)",
|
|
77
|
+
"required_env": [
|
|
78
|
+
"MEMORY_BANK_ROOT"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"claude-in-chrome": {
|
|
82
|
+
"managed": "extension",
|
|
83
|
+
"category": "runtime",
|
|
84
|
+
"description": "Chrome browser automation via the Claude in Chrome extension (top MCP by real usage: 1323 invocations/30d — audit E2E v4.3.6)",
|
|
85
|
+
"required_env": []
|
|
86
|
+
},
|
|
87
|
+
"claude-mem": {
|
|
88
|
+
"managed": "plugin",
|
|
89
|
+
"category": "runtime",
|
|
90
|
+
"description": "Session memory search/timeline via the claude-mem plugin (thedotmack marketplace; 65 invocations/30d — audit E2E v4.3.6)",
|
|
91
|
+
"required_env": []
|
|
92
|
+
},
|
|
93
|
+
"clickup": {
|
|
94
|
+
"command": "npx",
|
|
95
|
+
"args": [
|
|
96
|
+
"-y",
|
|
97
|
+
"mcp-remote",
|
|
98
|
+
"https://mcp.clickup.com/mcp"
|
|
99
|
+
],
|
|
100
|
+
"env": {
|
|
101
|
+
"CLICKUP_API_KEY": "${CLICKUP_API_KEY}",
|
|
102
|
+
"CLICKUP_TEAM_ID": "${CLICKUP_TEAM_ID}"
|
|
103
|
+
},
|
|
104
|
+
"category": "base",
|
|
105
|
+
"description": "Task management and project tracking",
|
|
106
|
+
"required_env": [
|
|
107
|
+
"CLICKUP_API_KEY",
|
|
108
|
+
"CLICKUP_TEAM_ID"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"firecrawl": {
|
|
112
|
+
"command": "npx",
|
|
113
|
+
"args": [
|
|
114
|
+
"-y",
|
|
115
|
+
"firecrawl-mcp"
|
|
116
|
+
],
|
|
117
|
+
"env": {
|
|
118
|
+
"FIRECRAWL_API_KEY": "${FIRECRAWL_API_KEY}"
|
|
119
|
+
},
|
|
120
|
+
"category": "base",
|
|
121
|
+
"description": "Web crawling and scraping",
|
|
122
|
+
"required_env": [
|
|
123
|
+
"FIRECRAWL_API_KEY"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"sentry": {
|
|
127
|
+
"type": "http",
|
|
128
|
+
"url": "https://mcp.sentry.dev/mcp",
|
|
129
|
+
"category": "base",
|
|
130
|
+
"description": "Error tracking and performance monitoring",
|
|
131
|
+
"required_env": []
|
|
132
|
+
},
|
|
133
|
+
"gh-grep": {
|
|
134
|
+
"type": "http",
|
|
135
|
+
"url": "https://mcp.grep.app",
|
|
136
|
+
"category": "base",
|
|
137
|
+
"description": "Search across GitHub repositories",
|
|
138
|
+
"required_env": []
|
|
139
|
+
},
|
|
140
|
+
"laravel-boost": {
|
|
141
|
+
"command": "php",
|
|
142
|
+
"args": [
|
|
143
|
+
"artisan",
|
|
144
|
+
"boost:mcp"
|
|
145
|
+
],
|
|
146
|
+
"category": "laravel",
|
|
147
|
+
"description": "Laravel Boost: AI-powered Laravel development tools",
|
|
148
|
+
"required_env": []
|
|
149
|
+
},
|
|
150
|
+
"serena": {
|
|
151
|
+
"command": "uvx",
|
|
152
|
+
"args": [
|
|
153
|
+
"--from",
|
|
154
|
+
"git+https://github.com/oraios/serena",
|
|
155
|
+
"serena",
|
|
156
|
+
"start-mcp-server",
|
|
157
|
+
"--context",
|
|
158
|
+
"ide-assistant",
|
|
159
|
+
"--project",
|
|
160
|
+
"{cwd}"
|
|
161
|
+
],
|
|
162
|
+
"category": "laravel",
|
|
163
|
+
"description": "Code intelligence: type-aware code analysis and refactoring",
|
|
164
|
+
"required_env": []
|
|
165
|
+
},
|
|
166
|
+
"nuxt-ui": {
|
|
167
|
+
"type": "http",
|
|
168
|
+
"url": "https://ui.nuxt.com/mcp",
|
|
169
|
+
"category": "nuxt",
|
|
170
|
+
"description": "Nuxt UI component library documentation and examples",
|
|
171
|
+
"required_env": []
|
|
172
|
+
},
|
|
173
|
+
"nuxt": {
|
|
174
|
+
"type": "http",
|
|
175
|
+
"url": "https://nuxt.com/mcp",
|
|
176
|
+
"category": "nuxt",
|
|
177
|
+
"description": "Nuxt framework documentation and best practices",
|
|
178
|
+
"required_env": []
|
|
179
|
+
},
|
|
180
|
+
"mirakl": {
|
|
181
|
+
"type": "http",
|
|
182
|
+
"url": "https://developer.mirakl.com/mcp",
|
|
183
|
+
"category": "ecommerce",
|
|
184
|
+
"description": "Mirakl marketplace API integration",
|
|
185
|
+
"required_env": []
|
|
186
|
+
},
|
|
187
|
+
"next-devtools": {
|
|
188
|
+
"command": "npx",
|
|
189
|
+
"args": [
|
|
190
|
+
"-y",
|
|
191
|
+
"next-devtools-mcp@latest"
|
|
192
|
+
],
|
|
193
|
+
"category": "react",
|
|
194
|
+
"description": "Next.js DevTools: debugging and development assistance",
|
|
195
|
+
"required_env": []
|
|
196
|
+
},
|
|
197
|
+
"magic": {
|
|
198
|
+
"command": "npx",
|
|
199
|
+
"args": [
|
|
200
|
+
"-y",
|
|
201
|
+
"@21st-dev/magic@latest"
|
|
202
|
+
],
|
|
203
|
+
"env": {
|
|
204
|
+
"API_KEY": "${MAGIC_API_KEY}"
|
|
205
|
+
},
|
|
206
|
+
"category": "frontend",
|
|
207
|
+
"description": "Magic MCP UI builder by 21st.dev — generates production UI components from natural language, framework-aware (Nuxt UI, Tailwind, shadcn). MANDATORY for frontend UI/UX work.",
|
|
208
|
+
"required_env": [
|
|
209
|
+
"MAGIC_API_KEY"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"supabase": {
|
|
213
|
+
"type": "http",
|
|
214
|
+
"url": "https://mcp.supabase.com/mcp",
|
|
215
|
+
"category": "base",
|
|
216
|
+
"description": "Supabase database management and APIs",
|
|
217
|
+
"required_env": []
|
|
218
|
+
},
|
|
219
|
+
"postgres": {
|
|
220
|
+
"command": "npx",
|
|
221
|
+
"args": [
|
|
222
|
+
"-y",
|
|
223
|
+
"mcp-postgres-server"
|
|
224
|
+
],
|
|
225
|
+
"env": {
|
|
226
|
+
"PG_HOST": "${PG_HOST}",
|
|
227
|
+
"PG_PORT": "${PG_PORT}",
|
|
228
|
+
"PG_USER": "${PG_USER}",
|
|
229
|
+
"PG_PASSWORD": "${PG_PASSWORD}",
|
|
230
|
+
"PG_DATABASE": "${PG_DATABASE}"
|
|
231
|
+
},
|
|
232
|
+
"category": "base",
|
|
233
|
+
"description": "PostgreSQL direct database access",
|
|
234
|
+
"required_env": [
|
|
235
|
+
"PG_HOST",
|
|
236
|
+
"PG_PORT",
|
|
237
|
+
"PG_USER",
|
|
238
|
+
"PG_PASSWORD",
|
|
239
|
+
"PG_DATABASE"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"shopify-dev": {
|
|
243
|
+
"command": "npx",
|
|
244
|
+
"args": [
|
|
245
|
+
"-y",
|
|
246
|
+
"@shopify/dev-mcp@latest"
|
|
247
|
+
],
|
|
248
|
+
"category": "ecommerce",
|
|
249
|
+
"description": "Shopify development tools and API access",
|
|
250
|
+
"required_env": []
|
|
251
|
+
},
|
|
252
|
+
"slack": {
|
|
253
|
+
"type": "http",
|
|
254
|
+
"url": "https://mcp.slack.com/mcp",
|
|
255
|
+
"category": "comms",
|
|
256
|
+
"description": "Slack messaging integration (OAuth)",
|
|
257
|
+
"required_env": []
|
|
258
|
+
},
|
|
259
|
+
"discord": {
|
|
260
|
+
"command": "npx",
|
|
261
|
+
"args": [
|
|
262
|
+
"-y",
|
|
263
|
+
"discord-mcp"
|
|
264
|
+
],
|
|
265
|
+
"env": {
|
|
266
|
+
"DISCORD_TOKEN": "${DISCORD_TOKEN}"
|
|
267
|
+
},
|
|
268
|
+
"category": "comms",
|
|
269
|
+
"description": "Discord bot and messaging integration",
|
|
270
|
+
"required_env": [
|
|
271
|
+
"DISCORD_TOKEN"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"whatsapp": {
|
|
275
|
+
"command": "npx",
|
|
276
|
+
"args": [
|
|
277
|
+
"-y",
|
|
278
|
+
"whatsapp-mcp"
|
|
279
|
+
],
|
|
280
|
+
"env": {
|
|
281
|
+
"WHATSAPP_API_TOKEN": "${WHATSAPP_API_TOKEN}",
|
|
282
|
+
"WHATSAPP_PHONE_ID": "${WHATSAPP_PHONE_ID}"
|
|
283
|
+
},
|
|
284
|
+
"category": "comms",
|
|
285
|
+
"description": "WhatsApp Business API messaging",
|
|
286
|
+
"required_env": [
|
|
287
|
+
"WHATSAPP_API_TOKEN",
|
|
288
|
+
"WHATSAPP_PHONE_ID"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"teams": {
|
|
292
|
+
"command": "npx",
|
|
293
|
+
"args": [
|
|
294
|
+
"-y",
|
|
295
|
+
"teams-mcp"
|
|
296
|
+
],
|
|
297
|
+
"env": {
|
|
298
|
+
"TEAMS_APP_ID": "${TEAMS_APP_ID}",
|
|
299
|
+
"TEAMS_APP_SECRET": "${TEAMS_APP_SECRET}"
|
|
300
|
+
},
|
|
301
|
+
"category": "comms",
|
|
302
|
+
"description": "Microsoft Teams messaging integration",
|
|
303
|
+
"required_env": [
|
|
304
|
+
"TEAMS_APP_ID",
|
|
305
|
+
"TEAMS_APP_SECRET"
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"canva": {
|
|
309
|
+
"type": "http",
|
|
310
|
+
"url": "https://mcp.canva.com/mcp",
|
|
311
|
+
"category": "brand",
|
|
312
|
+
"description": "Canva design platform: create, edit, export designs, and manage brand kits",
|
|
313
|
+
"required_env": []
|
|
314
|
+
},
|
|
315
|
+
"perplexity": {
|
|
316
|
+
"command": "npx",
|
|
317
|
+
"args": [
|
|
318
|
+
"-y",
|
|
319
|
+
"@perplexity-ai/mcp-server"
|
|
320
|
+
],
|
|
321
|
+
"env": {
|
|
322
|
+
"PERPLEXITY_API_KEY": "${PERPLEXITY_API_KEY}"
|
|
323
|
+
},
|
|
324
|
+
"category": "research",
|
|
325
|
+
"description": "Real-time web search with citations via Perplexity. Used by /arka research fan-out.",
|
|
326
|
+
"required_env": [
|
|
327
|
+
"PERPLEXITY_API_KEY"
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
"exa": {
|
|
331
|
+
"command": "npx",
|
|
332
|
+
"args": [
|
|
333
|
+
"-y",
|
|
334
|
+
"exa-mcp-server"
|
|
335
|
+
],
|
|
336
|
+
"env": {
|
|
337
|
+
"EXA_API_KEY": "${EXA_API_KEY}"
|
|
338
|
+
},
|
|
339
|
+
"category": "research",
|
|
340
|
+
"description": "Semantic vector search across the web via Exa AI. Used by /arka research fan-out.",
|
|
341
|
+
"required_env": [
|
|
342
|
+
"EXA_API_KEY"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"x": {
|
|
346
|
+
"command": "npx",
|
|
347
|
+
"args": [
|
|
348
|
+
"-y",
|
|
349
|
+
"@x/mcp-server"
|
|
350
|
+
],
|
|
351
|
+
"env": {
|
|
352
|
+
"X_BEARER_TOKEN": "${X_BEARER_TOKEN}"
|
|
353
|
+
},
|
|
354
|
+
"category": "research",
|
|
355
|
+
"description": "Twitter / X official MCP — community wisdom, threads, real-time discourse. Used by /arka research fan-out.",
|
|
356
|
+
"required_env": [
|
|
357
|
+
"X_BEARER_TOKEN"
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"composio": {
|
|
361
|
+
"command": "npx",
|
|
362
|
+
"args": [
|
|
363
|
+
"-y",
|
|
364
|
+
"@composio/mcp-server"
|
|
365
|
+
],
|
|
366
|
+
"env": {
|
|
367
|
+
"COMPOSIO_API_KEY": "${COMPOSIO_API_KEY}"
|
|
368
|
+
},
|
|
369
|
+
"category": "integrations",
|
|
370
|
+
"description": "Composio universal connector — one auth surface for Gmail, Slack, Notion, GitHub and 250+ apps. Recommended baseline per the Orgo 2026-05-13 pattern.",
|
|
371
|
+
"required_env": [
|
|
372
|
+
"COMPOSIO_API_KEY"
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
"agent-mail": {
|
|
376
|
+
"command": "npx",
|
|
377
|
+
"args": [
|
|
378
|
+
"-y",
|
|
379
|
+
"@agentmail/mcp-server"
|
|
380
|
+
],
|
|
381
|
+
"env": {
|
|
382
|
+
"AGENTMAIL_API_KEY": "${AGENTMAIL_API_KEY}"
|
|
383
|
+
},
|
|
384
|
+
"category": "comms",
|
|
385
|
+
"description": "Per-agent email inbox via Agent Mail. Gives every agent a real address it can read and send from. Recommended baseline per the Orgo 2026-05-13 pattern.",
|
|
386
|
+
"required_env": [
|
|
387
|
+
"AGENTMAIL_API_KEY"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
"higgsfield": {
|
|
391
|
+
"command": "npx",
|
|
392
|
+
"args": [
|
|
393
|
+
"-y",
|
|
394
|
+
"mcp-remote",
|
|
395
|
+
"https://mcp.higgsfield.ai/mcp"
|
|
396
|
+
],
|
|
397
|
+
"env": {
|
|
398
|
+
"HIGGSFIELD_API_KEY": "${HIGGSFIELD_API_KEY}"
|
|
399
|
+
},
|
|
400
|
+
"category": "design",
|
|
401
|
+
"description": "Higgsfield AI design/video generation. Requires a Higgsfield account + HIGGSFIELD_API_KEY to connect. Included in the content MCP profile; add per-project: apply-mcps.sh --add higgsfield",
|
|
402
|
+
"required_env": [
|
|
403
|
+
"HIGGSFIELD_API_KEY"
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
"graphify": {
|
|
407
|
+
"command": "graphify",
|
|
408
|
+
"args": [
|
|
409
|
+
".",
|
|
410
|
+
"--mcp"
|
|
411
|
+
],
|
|
412
|
+
"category": "grounding",
|
|
413
|
+
"description": "Graphify code knowledge graph over stdio — grounds answers in graphify-out/graph.json (EXTRACTED/INFERRED confidence + source locations). Local/free tree-sitter extraction. Requires the graphify CLI (uv tool install graphifyy). OPT-IN — add per-project: apply-mcps.sh --add graphify"
|
|
414
|
+
},
|
|
415
|
+
"codebase-memory": {
|
|
416
|
+
"command": "codebase-memory-mcp",
|
|
417
|
+
"args": [],
|
|
418
|
+
"category": "grounding-code",
|
|
419
|
+
"requires_binary": "codebase-memory-mcp",
|
|
420
|
+
"description": "Codebase knowledge graph over stdio (SQLite, tree-sitter, Cypher) — index_repository/search_graph/trace_path/get_architecture ground complex-code work in real structure. Requires the codebase-memory-mcp binary (install script in the project README: github.com/DeusData/codebase-memory-mcp). Skipped gracefully by the sync when the binary is absent."
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# ============================================================================
|
|
3
|
+
# ARKA OS — MCP Profile Applicator
|
|
4
|
+
# Generates .mcp.json and .claude/settings.local.json for a project
|
|
5
|
+
# ============================================================================
|
|
6
|
+
set -e
|
|
7
|
+
|
|
8
|
+
CYAN='\033[0;36m'
|
|
9
|
+
GREEN='\033[0;32m'
|
|
10
|
+
YELLOW='\033[1;33m'
|
|
11
|
+
RED='\033[0;31m'
|
|
12
|
+
NC='\033[0m'
|
|
13
|
+
|
|
14
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
15
|
+
MCPS_DIR="$(dirname "$SCRIPT_DIR")"
|
|
16
|
+
REGISTRY="$MCPS_DIR/registry.json"
|
|
17
|
+
|
|
18
|
+
usage() {
|
|
19
|
+
echo -e "${CYAN}ARKA OS — MCP Applicator${NC}"
|
|
20
|
+
echo ""
|
|
21
|
+
echo "Usage: apply-mcps.sh <profile> [--project <path>] [--add <mcp-name>]"
|
|
22
|
+
echo ""
|
|
23
|
+
echo "Profiles: base, laravel, nuxt, vue, react, nextjs, ecommerce, full-stack, comms"
|
|
24
|
+
echo ""
|
|
25
|
+
echo "Options:"
|
|
26
|
+
echo " --project <path> Target project directory (default: current dir)"
|
|
27
|
+
echo " --add <name> Add a single MCP (skip profile)"
|
|
28
|
+
echo " --list List all available MCPs"
|
|
29
|
+
echo " --status Show MCPs active in target project"
|
|
30
|
+
echo ""
|
|
31
|
+
echo "Examples:"
|
|
32
|
+
echo " apply-mcps.sh laravel --project ~/Projects/my-app"
|
|
33
|
+
echo " apply-mcps.sh --add firecrawl"
|
|
34
|
+
echo " apply-mcps.sh --list"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
# Check jq is available
|
|
38
|
+
if ! command -v jq &>/dev/null; then
|
|
39
|
+
echo -e "${RED}Error: jq is required but not installed.${NC}"
|
|
40
|
+
echo "Install: brew install jq"
|
|
41
|
+
exit 1
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
# Parse arguments
|
|
45
|
+
PROFILE=""
|
|
46
|
+
PROJECT_DIR="$(pwd)"
|
|
47
|
+
ADD_MCP=""
|
|
48
|
+
LIST_MODE=false
|
|
49
|
+
STATUS_MODE=false
|
|
50
|
+
|
|
51
|
+
while [[ $# -gt 0 ]]; do
|
|
52
|
+
case "$1" in
|
|
53
|
+
--project)
|
|
54
|
+
PROJECT_DIR="$2"
|
|
55
|
+
shift 2
|
|
56
|
+
;;
|
|
57
|
+
--add)
|
|
58
|
+
ADD_MCP="$2"
|
|
59
|
+
shift 2
|
|
60
|
+
;;
|
|
61
|
+
--list)
|
|
62
|
+
LIST_MODE=true
|
|
63
|
+
shift
|
|
64
|
+
;;
|
|
65
|
+
--status)
|
|
66
|
+
STATUS_MODE=true
|
|
67
|
+
shift
|
|
68
|
+
;;
|
|
69
|
+
--help|-h)
|
|
70
|
+
usage
|
|
71
|
+
exit 0
|
|
72
|
+
;;
|
|
73
|
+
*)
|
|
74
|
+
PROFILE="$1"
|
|
75
|
+
shift
|
|
76
|
+
;;
|
|
77
|
+
esac
|
|
78
|
+
done
|
|
79
|
+
|
|
80
|
+
# List mode
|
|
81
|
+
if $LIST_MODE; then
|
|
82
|
+
echo -e "${CYAN}ARKA OS — Available MCPs${NC}"
|
|
83
|
+
echo ""
|
|
84
|
+
jq -r '.mcpServers | to_entries[] | " \(.key)\t\(.value.category)\t\(.value.description)"' "$REGISTRY" | column -t -s $'\t'
|
|
85
|
+
echo ""
|
|
86
|
+
echo -e "${CYAN}Profiles:${NC} base, laravel, nuxt, vue, react, nextjs, ecommerce, full-stack, comms"
|
|
87
|
+
exit 0
|
|
88
|
+
fi
|
|
89
|
+
|
|
90
|
+
# Status mode
|
|
91
|
+
if $STATUS_MODE; then
|
|
92
|
+
MCP_FILE="$PROJECT_DIR/.mcp.json"
|
|
93
|
+
if [ -f "$MCP_FILE" ]; then
|
|
94
|
+
echo -e "${CYAN}ARKA OS — Active MCPs in ${PROJECT_DIR}${NC}"
|
|
95
|
+
echo ""
|
|
96
|
+
jq -r '.mcpServers | keys[]' "$MCP_FILE" | while read -r name; do
|
|
97
|
+
echo -e " ${GREEN}✓${NC} $name"
|
|
98
|
+
done
|
|
99
|
+
else
|
|
100
|
+
echo -e "${YELLOW}No .mcp.json found in ${PROJECT_DIR}${NC}"
|
|
101
|
+
fi
|
|
102
|
+
exit 0
|
|
103
|
+
fi
|
|
104
|
+
|
|
105
|
+
# Resolve project directory
|
|
106
|
+
PROJECT_DIR="$(cd "$PROJECT_DIR" 2>/dev/null && pwd)" || {
|
|
107
|
+
echo -e "${RED}Error: Project directory not found: ${PROJECT_DIR}${NC}"
|
|
108
|
+
exit 1
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
# Collect MCP names to apply
|
|
112
|
+
MCP_NAMES=()
|
|
113
|
+
|
|
114
|
+
if [ -n "$ADD_MCP" ]; then
|
|
115
|
+
# Single MCP mode
|
|
116
|
+
MCP_NAMES+=("$ADD_MCP")
|
|
117
|
+
echo -e "${CYAN}Adding MCP: ${ADD_MCP} to ${PROJECT_DIR}${NC}"
|
|
118
|
+
# Per-MCP account warnings for MCPs that require external accounts.
|
|
119
|
+
if [ "$ADD_MCP" = "higgsfield" ]; then
|
|
120
|
+
echo -e "${YELLOW}⚠ Higgsfield requires a Higgsfield account + HIGGSFIELD_API_KEY to connect (https://higgsfield.ai).${NC}"
|
|
121
|
+
echo -e "${YELLOW} Set the key in the project .mcp.json env block or your shell before launching the runtime.${NC}"
|
|
122
|
+
fi
|
|
123
|
+
if [ "$ADD_MCP" = "graphify" ]; then
|
|
124
|
+
echo -e "${YELLOW}⚠ Graphify requires the graphify CLI on PATH (uv tool install graphifyy) and a generated graph:${NC}"
|
|
125
|
+
echo -e "${YELLOW} run \`graphify .\` in the project root first (incremental refresh: graphify . --update).${NC}"
|
|
126
|
+
fi
|
|
127
|
+
elif [ -n "$PROFILE" ]; then
|
|
128
|
+
# Profile mode — resolve base + profile MCPs
|
|
129
|
+
BASE_PROFILE="$MCPS_DIR/profiles/base.json"
|
|
130
|
+
PROFILE_FILE="$MCPS_DIR/profiles/${PROFILE}.json"
|
|
131
|
+
|
|
132
|
+
if [ ! -f "$PROFILE_FILE" ]; then
|
|
133
|
+
echo -e "${RED}Error: Profile '${PROFILE}' not found.${NC}"
|
|
134
|
+
echo "Available: base, laravel, nuxt, vue, react, nextjs, ecommerce, full-stack, comms"
|
|
135
|
+
exit 1
|
|
136
|
+
fi
|
|
137
|
+
|
|
138
|
+
# Always include base MCPs
|
|
139
|
+
while IFS= read -r mcp; do
|
|
140
|
+
MCP_NAMES+=("$mcp")
|
|
141
|
+
done < <(jq -r '.mcps[]' "$BASE_PROFILE")
|
|
142
|
+
|
|
143
|
+
# Add profile-specific MCPs (unless profile IS base)
|
|
144
|
+
if [ "$PROFILE" != "base" ]; then
|
|
145
|
+
while IFS= read -r mcp; do
|
|
146
|
+
MCP_NAMES+=("$mcp")
|
|
147
|
+
done < <(jq -r '.mcps[]' "$PROFILE_FILE")
|
|
148
|
+
fi
|
|
149
|
+
|
|
150
|
+
echo -e "${CYAN}Applying profile: ${PROFILE} to ${PROJECT_DIR}${NC}"
|
|
151
|
+
else
|
|
152
|
+
usage
|
|
153
|
+
exit 1
|
|
154
|
+
fi
|
|
155
|
+
|
|
156
|
+
# Remove duplicates
|
|
157
|
+
MCP_NAMES=($(printf '%s\n' "${MCP_NAMES[@]}" | sort -u))
|
|
158
|
+
|
|
159
|
+
# Build .mcp.json
|
|
160
|
+
echo -e "${CYAN}Generating .mcp.json...${NC}"
|
|
161
|
+
|
|
162
|
+
MCP_JSON='{"mcpServers":{}}'
|
|
163
|
+
|
|
164
|
+
MISSING_ENVS=()
|
|
165
|
+
|
|
166
|
+
for mcp_name in "${MCP_NAMES[@]}"; do
|
|
167
|
+
# Check MCP exists in registry
|
|
168
|
+
MCP_ENTRY=$(jq -r ".mcpServers.\"$mcp_name\" // empty" "$REGISTRY")
|
|
169
|
+
if [ -z "$MCP_ENTRY" ]; then
|
|
170
|
+
echo -e " ${YELLOW}⚠${NC} Unknown MCP: $mcp_name (skipped)"
|
|
171
|
+
continue
|
|
172
|
+
fi
|
|
173
|
+
|
|
174
|
+
# Runtime-managed servers (extension/plugin) are registered for
|
|
175
|
+
# governance and telemetry — no launchable command, never written
|
|
176
|
+
# to .mcp.json (mirrors core/sync/mcp_syncer.py resolve guard).
|
|
177
|
+
MCP_MANAGED=$(echo "$MCP_ENTRY" | jq -r '.managed // empty')
|
|
178
|
+
if [ -n "$MCP_MANAGED" ]; then
|
|
179
|
+
echo -e " ${YELLOW}⚠${NC} $mcp_name is runtime-managed (${MCP_MANAGED}) — not writable to .mcp.json (skipped)"
|
|
180
|
+
continue
|
|
181
|
+
fi
|
|
182
|
+
|
|
183
|
+
# Check if it's HTTP or command type
|
|
184
|
+
MCP_TYPE=$(echo "$MCP_ENTRY" | jq -r '.type // "command"')
|
|
185
|
+
|
|
186
|
+
if [ "$MCP_TYPE" = "http" ]; then
|
|
187
|
+
# HTTP MCP — just type + url
|
|
188
|
+
MCP_URL=$(echo "$MCP_ENTRY" | jq -r '.url')
|
|
189
|
+
MCP_JSON=$(echo "$MCP_JSON" | jq --arg name "$mcp_name" --arg url "$MCP_URL" \
|
|
190
|
+
'.mcpServers[$name] = {"type": "http", "url": $url}')
|
|
191
|
+
else
|
|
192
|
+
# Command MCP — command + args + optional env
|
|
193
|
+
MCP_CMD=$(echo "$MCP_ENTRY" | jq -r '.command')
|
|
194
|
+
MCP_ARGS=$(echo "$MCP_ENTRY" | jq -c '.args')
|
|
195
|
+
MCP_ENV=$(echo "$MCP_ENTRY" | jq -c '.env // {}')
|
|
196
|
+
|
|
197
|
+
# Replace {cwd} and {home} placeholders
|
|
198
|
+
MCP_ARGS=$(echo "$MCP_ARGS" | sed "s|{cwd}|$PROJECT_DIR|g; s|{home}|$HOME|g")
|
|
199
|
+
MCP_ENV=$(echo "$MCP_ENV" | sed "s|{cwd}|$PROJECT_DIR|g; s|{home}|$HOME|g")
|
|
200
|
+
|
|
201
|
+
if [ "$MCP_ENV" = "{}" ]; then
|
|
202
|
+
MCP_JSON=$(echo "$MCP_JSON" | jq --arg name "$mcp_name" --arg cmd "$MCP_CMD" --argjson args "$MCP_ARGS" \
|
|
203
|
+
'.mcpServers[$name] = {"command": $cmd, "args": $args}')
|
|
204
|
+
else
|
|
205
|
+
MCP_JSON=$(echo "$MCP_JSON" | jq --arg name "$mcp_name" --arg cmd "$MCP_CMD" --argjson args "$MCP_ARGS" --argjson env "$MCP_ENV" \
|
|
206
|
+
'.mcpServers[$name] = {"command": $cmd, "args": $args, "env": $env}')
|
|
207
|
+
|
|
208
|
+
# Track env vars that need values
|
|
209
|
+
for env_var in $(echo "$MCP_ENV" | jq -r 'to_entries[] | select(.value | startswith("$")) | .key'); do
|
|
210
|
+
MISSING_ENVS+=("$mcp_name: $env_var")
|
|
211
|
+
done
|
|
212
|
+
fi
|
|
213
|
+
fi
|
|
214
|
+
|
|
215
|
+
echo -e " ${GREEN}✓${NC} $mcp_name"
|
|
216
|
+
done
|
|
217
|
+
|
|
218
|
+
# If adding to existing .mcp.json, merge
|
|
219
|
+
EXISTING_MCP="$PROJECT_DIR/.mcp.json"
|
|
220
|
+
if [ -n "$ADD_MCP" ] && [ -f "$EXISTING_MCP" ]; then
|
|
221
|
+
MCP_JSON=$(jq -s '.[0] * .[1]' "$EXISTING_MCP" <(echo "$MCP_JSON"))
|
|
222
|
+
fi
|
|
223
|
+
|
|
224
|
+
# Write .mcp.json
|
|
225
|
+
echo "$MCP_JSON" | jq '.' > "$PROJECT_DIR/.mcp.json"
|
|
226
|
+
echo -e "${GREEN}✓${NC} Created ${PROJECT_DIR}/.mcp.json"
|
|
227
|
+
|
|
228
|
+
# Generate .claude/settings.local.json
|
|
229
|
+
CLAUDE_DIR="$PROJECT_DIR/.claude"
|
|
230
|
+
mkdir -p "$CLAUDE_DIR"
|
|
231
|
+
|
|
232
|
+
SETTINGS_FILE="$CLAUDE_DIR/settings.local.json"
|
|
233
|
+
|
|
234
|
+
# Build server names list for enabledMcpjsonServers
|
|
235
|
+
ENABLED_SERVERS=$(echo "$MCP_JSON" | jq '[.mcpServers | keys[]]')
|
|
236
|
+
|
|
237
|
+
SETTINGS_JSON=$(jq -n \
|
|
238
|
+
--argjson servers "$ENABLED_SERVERS" \
|
|
239
|
+
'{
|
|
240
|
+
"enableAllProjectMcpServers": true,
|
|
241
|
+
"enabledMcpjsonServers": $servers,
|
|
242
|
+
"permissions": {
|
|
243
|
+
"allow": [
|
|
244
|
+
"Read",
|
|
245
|
+
"Grep",
|
|
246
|
+
"Glob",
|
|
247
|
+
"WebFetch"
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
}')
|
|
251
|
+
|
|
252
|
+
# If settings already exist, merge (preserve existing permissions)
|
|
253
|
+
if [ -f "$SETTINGS_FILE" ]; then
|
|
254
|
+
SETTINGS_JSON=$(jq -s '
|
|
255
|
+
.[0] as $existing |
|
|
256
|
+
.[1] as $new |
|
|
257
|
+
$existing * $new |
|
|
258
|
+
.enabledMcpjsonServers = ($existing.enabledMcpjsonServers // [] | . + $new.enabledMcpjsonServers | unique)
|
|
259
|
+
' "$SETTINGS_FILE" <(echo "$SETTINGS_JSON"))
|
|
260
|
+
fi
|
|
261
|
+
|
|
262
|
+
echo "$SETTINGS_JSON" | jq '.' > "$SETTINGS_FILE"
|
|
263
|
+
echo -e "${GREEN}✓${NC} Created ${SETTINGS_FILE}"
|
|
264
|
+
|
|
265
|
+
# Summary
|
|
266
|
+
echo ""
|
|
267
|
+
echo -e "${GREEN}═══ MCPs Applied Successfully ═══${NC}"
|
|
268
|
+
echo -e " Profile: ${CYAN}${PROFILE:-single-add}${NC}"
|
|
269
|
+
echo -e " Project: ${CYAN}${PROJECT_DIR}${NC}"
|
|
270
|
+
echo -e " MCPs: ${CYAN}${#MCP_NAMES[@]}${NC}"
|
|
271
|
+
echo -e " Files: .mcp.json, .claude/settings.local.json"
|
|
272
|
+
|
|
273
|
+
if [ ${#MISSING_ENVS[@]} -gt 0 ]; then
|
|
274
|
+
echo ""
|
|
275
|
+
echo -e "${YELLOW}⚠ Environment variables need configuration:${NC}"
|
|
276
|
+
for env_info in "${MISSING_ENVS[@]}"; do
|
|
277
|
+
echo -e " ${YELLOW}→${NC} $env_info"
|
|
278
|
+
done
|
|
279
|
+
echo -e " Set these in your shell or .env file."
|
|
280
|
+
fi
|
|
281
|
+
|
|
282
|
+
echo -e "${GREEN}═════════════════════════════════${NC}"
|