shadow-cljs-mcp

Integrations

  • Monitors shadow-cljs builds and provides real-time build status updates for ClojureScript files, including compilation success/failure status, compiled files, error details, and build metrics.

  • Connects to a running shadow-cljs instance to track build progress and enable verification of build status after code changes through the npm package shadow-cljs-mcp.

シャドウ-cljs-mcp

shadow-cljs ビルドを監視し、リアルタイムのビルド ステータス更新を提供するモデル コンテキスト プロトコル (MCP) サーバー。

インストール

Cline/Cursor/Claude の設定に以下を追加します。

{ "mcpServers": { "shadow-cljs-mcp": { "command": "npx", "args": [ "shadow-cljs-mcp" ], "disabled": false, "autoApprove": [], "timeout": 60 } } }

オプションのサーバーロケーション

{ "mcpServers": { "shadow-cljs-mcp": { "command": "npx", "args": [ "shadow-cljs-mcp", "--host", "localhost", "--port", "9630" ], "disabled": false, "autoApprove": [], "timeout": 60 } } }

--hostおよび--port引数はオプションです。指定しない場合、サーバーはデフォルトでlocalhost:9630に接続します。

概要

このMCPサーバーは、実行中のshadow-cljsインスタンスに接続し、ビルドの進行状況、失敗、完了を追跡します。LLMがClojureScriptファイルに変更を加えた後にビルドステータスを確認するために使用できるMCPツールを提供します。

LLM統合

LLMノートに追加する

LLM のノート ファイル (例: CLAUDE.md、cursorrules.md) に次の内容を追加します。

After any edits to ClojureScript files, use the shadow-cljs-mcp server's get_last_build_status tool to verify the build succeeded: <use_mcp_tool> <server_name>shadow-cljs-mcp</server_name> <tool_name>get_last_build_status</tool_name> <arguments> {} </arguments> </use_mcp_tool> This will show: - Build status (completed/failed) - Which files were compiled - Any errors or warnings - Build duration and metrics

ツール応答の例

ビルド成功:

{ "status": "completed", "resources": 317, "compiled": 1, "warnings": 0, "duration": 0.609, "compiledFiles": [ "path/to/your/file.cljs (505ms)" ] }

ビルドに失敗しました:

{ "status": "failed", "message": "Build failed", "details": { // Error information } }

使用上の注意

  • LLMは各ClojureScriptファイルの編集後にget_last_build_statusを呼び出す必要があります。
  • コンパイルエラーが詳細に表示されるのでデバッグが容易になります
  • ビルドが成功すると、どのファイルがコンパイルされ、どのくらいの時間がかかったかが表示されます。
  • このサーバーを起動する前に、shadow-cljs が実行されていることを確認してください。

要件

  • shadow-cljs インスタンスを実行しています (特に設定されていない場合はデフォルトで localhost:9630 になります)

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

shadow-cljs ビルドを監視し、ClojureScript プロジェクトのビルド ステータスのリアルタイム更新を提供するモデル コンテキスト プロトコル サーバー。これにより、LLM はコード変更後のビルド ステータスを検証できます。

  1. Installation
    1. Overview
      1. LLM Integration
        1. Adding to Your LLM Notes
      2. Example Tool Response
        1. Usage Notes
          1. Requirements

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An unofficial JavaScript SDK to create customized servers for the Model Context Protocol, allowing definition of prompts, resources, and tools for tailored interactions.
              Last updated -
              6
              2
              JavaScript
              Apache 2.0
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              Enables interaction with a running Clojure nREPL instance for evaluating Clojure code, inspecting namespaces, and retrieving connection statuses, compatible with MCP clients like Claude Desktop and CLine in VSCode.
              Last updated -
              3
              9
              16
              JavaScript
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
              Last updated -
              5
              Python
              Apache 2.0
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides clj-kondo linting capabilities for Clojure/ClojureScript/EDN files, useful for environments like Claude code and desktop that lack built-in linting.
              Last updated -
              236
              1
              JavaScript
              MIT License

            View all related MCP servers

            ID: jt9369ijhn