Skip to main content
Glama

shadow-cljs-mcp

shadow-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 实例,并跟踪构建进度、失败和完成情况。它提供了一个 MCP 工具,LLM 可以使用它来在更改 ClojureScript 文件后验证构建状态。

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)
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

模型上下文协议服务器监控 shadow-cljs 构建并为 ClojureScript 项目提供实时构建状态更新,允许 LLM 在进行代码更改后验证构建状态。

  1. 安装
    1. 概述
      1. LLM 整合
        1. 添加到你的法学硕士笔记
      2. 工具响应示例
        1. 使用说明
          1. 要求

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
              Last updated -
              6
              16
              23
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.
              Last updated -
              3
              10
              JavaScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
              Last updated -
              2
              64,839
              23,586
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables Claude to interact with Backlog project management tools through API integration, allowing management of projects, issues, wiki pages and other Backlog resources.
              Last updated -
              40
              53
              84
              TypeScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bigsy/shadow-cljs-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server