Skip to main content
Glama

devpulse

一个 MCP 服务器,让你的 AI 编程助手能够实时查看你的开发环境状态。

当你使用 Claude Code 或 Cursor 进行调试时,AI 无法得知你的开发服务器是否正在运行、日志中出现了什么错误,或者你当前处于哪个分支。你最终不得不在每次会话中重复复制粘贴相同的上下文。devpulse 通过一次工具调用解决了这个问题。

AI 能看到什么

{
  "diagnosis": {
    "health": "broken",
    "primary_issue": "Port conflict — dev server cannot start",
    "suggested_action": "Kill the process using that port or change your dev server port",
    "confidence": "high"
  },
  "session": {
    "project": "my-app",
    "framework": "nextjs",
    "branch": "feat/auth",
    "uncommitted_files": 3
  },
  "services": {
    "running": [],
    "expected_but_missing": [3000]
  },
  "recent_errors": [
    { "time": "2m ago", "level": "ERROR", "message": "EADDRINUSE :::3000" }
  ],
  "env": {
    "node": "20.11.0",
    "package_manager": "pnpm"
  }
}

AI 无需询问你哪里出了问题,它已经了然于胸。

Related MCP server: AI Knowledge Center MCP

设置

Claude Code

claude mcp add devpulse -- npx -y devpulse-mcp

Cursor / Claude Desktop / Windsurf

{
  "mcpServers": {
    "devpulse": {
      "command": "npx",
      "args": ["-y", "devpulse-mcp"]
    }
  }
}

无需 API 密钥。无需账户。无需配置文件。

工具

  • get_session_snapshot — 获取完整的诊断快照,请优先调用此工具

  • get_recent_errors — 获取日志文件中的近期错误,已屏蔽敏感信息

  • get_running_services — 查看开发端口上的运行情况及缺失的服务

支持的框架

从你的 package.json 自动检测 — Next.js、Vite、Express、FastAPI 等。更多框架支持即将推出。

隐私

完全在你的机器上运行。没有任何数据离开你的电脑。API 密钥和敏感信息会自动从日志输出中剔除。

许可证

MIT

Available Tools

3 tools
get_recent_errorsA

Returns recent ERROR and WARN log entries from the detected project's log files. Deduped, timestamped, secrets redacted. Defaults to last 50 lines.

Inputs: cwd, limit.

get_running_servicesB

Lists processes running on common dev ports (3000, 4000, 5173, 8080 etc). Shows what is running and what is expected but missing.

Inputs: cwd.

get_session_snapshotA

Returns a real-time diagnostic snapshot of the current dev environment. Includes health diagnosis, running services, recent errors, git state, and environment info. Call this first to orient yourself in the user's dev session.

Inputs: cwd.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation3/5

    The tools have overlapping information: get_session_snapshot includes recent errors and running services, making it redundant with the other two. Descriptions help clarify usage order, but ambiguity remains.

    Naming Consistency5/5

    All tools follow a consistent 'get_' prefix with clear noun phrases, forming a predictable and readable pattern.

    Tool Count4/5

    Three tools is on the low side for a dev diagnostic server, but the snapshot tool consolidates key info, making the count reasonable for basic orientation.

    Completeness4/5

    The set covers errors, services, and a broad snapshot (git, env, health). Minor gaps like detailed log history or dependency checks exist, but core diagnostics are present.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that gives your AI assistant full awareness of your local dev environment — running processes, Docker containers, git state, open ports, log files, and more.
      8 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Local-first MCP server that indexes all projects on your machine and provides coding agents with briefings about each project's stack, services, and run instructions, so they can start sessions with context across all repos. No cloud, no accounts, no telemetry.
      6 npm
      MIT