MCP.so
登录
R

Rxjs MCP Server

@shuji-bonji

基本信息

分类

其他

传输方式

stdio

作者

shuji-bonji

提交者

shuji narumi

关于 Rxjs MCP Server

Execute, debug, and visualize RxJS streams directly from AI assistants like Claude.

#rxjs#rxjs-mcp#stream-visualization

Rxjs MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "rxjs": {
      "command": "npx",
      "args": [
        "@shuji-bonji/rxjs-mcp"
      ]
    }
  }
}

Rxjs MCP Server 工具

6

Execute RxJS code in an isolated environment and capture the stream emissions, timeline, and performance metrics. Code runs in a separate worker thread for security.

Generate ASCII marble diagrams to visualize RxJS stream emissions over time

Analyze RxJS code for creation functions, operators, performance patterns, and best practices

Analyze RxJS code for potential memory leaks and subscription management issues. Recognizes modern auto-cleanup patterns (takeUntilDestroyed, async pipe, useEffect cleanup, onUnmounted) to avoid false positives.

Suggest RxJS patterns and best practices for common use cases

Lint RxJS code snippets for common issues and best practices (regex-based best-effort analysis, no ESLint runtime required). Based on eslint-plugin-rxjs-x rules. Checks for nested subscribes, memory leaks, deprecated patterns, and more. Rules marked as type-info-required use heuristics and may have false positives/negatives. Supports framework-specific rules for Angular, React, and Vue.

概览

What is Rxjs Mcp Server?

Rxjs Mcp Server is an unofficial community MCP server that lets AI assistants like Claude execute, debug, and visualize RxJS streams. It provides tools for stream execution, marble diagram generation, operator analysis, memory leak detection, and pattern suggestions.

How to use Rxjs Mcp Server?

Install globally with npm install -g @shuji-bonji/rxjs-mcp or use via npx @shuji-bonji/rxjs-mcp. Add the server configuration to your MCP client (e.g., Claude Desktop, VS Code, Cursor) using npx @shuji-bonji/rxjs-mcp as the command and argument. Once configured, you can invoke the available tools (e.g., execute_stream, generate_marble, detect_memory_leak) from your AI assistant.

Key features of Rxjs Mcp Server

  • Execute RxJS code and capture stream emissions with timeline visualization
  • Generate ASCII marble diagrams from event data
  • Analyze operator chains for performance and best practices
  • Detect potential memory leaks and missing cleanup patterns
  • Provide production-ready patterns for common RxJS use cases

Use cases of Rxjs Mcp Server

  • Debug RxJS streams by executing code and viewing emitted values and timing
  • Analyze Angular/React/Vue components for subscription leaks and missing cleanup
  • Get recommended patterns for HTTP retry, search typeahead, WebSocket reconnection, and form validation
  • Visualize stream behavior over time using marble diagrams
  • Review operator chains for performance bottlenecks and alternative approaches

常见问题

1

Is Rxjs Mcp Server an official RxJS project?

No, it is an unofficial community project and not affiliated with the RxJS team.

2

How does Rxjs Mcp Server keep code execution safe?

The `execute_stream` tool runs user-provided code in an isolated Worker thread to prevent main process pollution, resource leaks, and access to sensitive Node.js APIs. Execution is forcefully terminated if it exceeds the configured timeout.

3

What tools are available in Rxjs Mcp Server?

Five tools: `execute_stream`, `generate_marble`, `analyze_operators`, `detect_memory_leak`, and `suggest_pattern`. Each tool focuses on a specific aspect of RxJS development.

4

How do I configure Rxjs Mcp Server for my editor?

Add the server definition to your MCP configuration file. For Claude Desktop use `~/Library/Application Support/Claude/claude_desktop_config.json`, for VS Code use `.vscode/mcp.json`, and for Cursor use `~/.cursor/mcp.json`. All use `npx @shuji-bonji/rxjs-mcp` as the command.

5

What patterns are included in the `suggest_pattern` tool?

Available patterns include http-retry, search-typeahead, polling, websocket-reconnect, form-validation, state-management, cache-refresh, and more. Each pattern provides a production-ready implementation with explanation.

评论

其他 分类下的更多 MCP 服务器