Skip to main content
Glama
shadow-cljs-mcp
by Bigsy

섀도우-cljs-mcp

npm 버전

shadow-cljs 빌드를 모니터링하고 실시간 빌드 상태 업데이트를 제공하는 MCP(Model Context Protocol) 서버입니다.

설치

Cline/Cursor/Claude 설정에 다음을 추가하세요.

지엑스피1

선택적인 서버 위치

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

--host 및 --port 인수는 선택 사항입니다. 지정하지 않으면 서버는 기본적으로 localhost:9630 에 연결합니다.

Related MCP server: clj-kondo MCP Server

개요

이 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)

Available Tools

1 tool
get_last_build_statusA

Get the status of the last shadow-cljs build including any warnings or errors. Call this after making edits to ClojureScript files to verify if the build succeeded or failed.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined and distinct by default.

    Naming Consistency5/5

    The single tool name 'get_last_build_status' follows a clear verb_noun pattern, and there are no other tools to create inconsistency. The naming is straightforward and predictable.

    Tool Count2/5

    A single tool is too few for a server's purpose, as it severely limits functionality and suggests an incomplete or overly narrow scope. This makes the server feel thin and underdeveloped.

    Completeness2/5

    The server is severely incomplete for a build tool domain. It only provides status checking, with no tools for initiating builds, managing configurations, handling dependencies, or other essential operations, creating significant gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to build and test Xcode projects directly through a standardized interface, with capabilities for running tests, monitoring progress, and accessing logs in real-time.
      18
      53
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      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.
      1
      16 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI coding assistants like Claude Code to manage long-running development processes, solving the problem where Claude Code cannot see output from processes like 'npm run dev' that don't exit immediately.
      8 npm
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that analyzes application codebases with real-time file watching, providing AI assistants like Claude with deep insights into project structure, code patterns, and architecture.
      MIT