Stimulsoft Documentation MCP Server

官方

Stimulsoft Reports & Dashboards 文档的官方 MCP 服务器。跨 FAQ、编程手册、服务器/用户手册以及服务器/云 API 进行语义搜索,支持 .NET、WPF、Avalonia、WEB、Blazor、Angular、React、JS、PHP、Java 和 Python 平台。

你可以用 Stimulsoft Documentation MCP 做什么?

让您的AI助手搜索Stimulsoft Reports & Dashboards官方文档,并生成最新的、针对特定平台的代码。

  • 搜索官方文档 — 使用sti_search查找所有Stimulsoft手册和常见问题解答中的文档、代码片段和答案。
  • 按平台筛选 — 通过platform参数将sti_search结果缩小到您的技术栈(例如,BLAZOR、WPF、ANGULAR)。
  • 发现有效平台 — 调用sti_get_platforms列出已索引的Stimulsoft平台,并识别用于筛选的有效ID。
  • 生成特定平台的代码 — 请求针对您技术栈中StiReport或StiViewer等组件的可用代码示例。

文档

Stimulsoft Documentation MCP Server 将 AI 助手直接连接到官方 Stimulsoft Reports & Dashboards 开发者文档。配置完成后,处于 Agent 模式的 AI 助手可以搜索文档、查找代码示例,并基于最新信息生成 Stimulsoft 专用代码,而无需依赖可能过时的训练数据。

端点: https://devs.stimulsoft.com/mcp-docs
协议: MCP 2025-03-26,Streamable HTTP
身份验证: 无需 重要提示

请始终审查 AI 生成的输出:检查架构问题、安全漏洞以及是否符合项目标准。AI 生成的输出可能因提示词、所用 AI 模型和项目代码清晰度的不同而有很大差异。

先决条件

支持的 IDE: Visual Studio 2022+、Visual Studio Code、Cursor、JetBrains Rider 2025.1+

兼容的 AI 工具: GitHub Copilot、JetBrains AI Assistant、Claude Desktop、Claude Code (CLI)、ChatGPT (Plus/Team/Enterprise)、Gemini CLI 以及其他兼容 MCP 的助手

可用工具

工具描述
sti_get_platforms返回所有已索引的 Stimulsoft 平台及其 ID 的列表。用于发现有效的 platform 值以筛选搜索。无需 API 调用——即时响应。
sti_search对整个文档索引(FAQ、编程手册、服务器手册、用户手册、服务器 API、Cloud API)进行语义搜索。接受任何语言的查询。返回带平台、类别、内容(包括代码片段)和相关性分数的排名结果。

sti_search 参数

参数必填描述
query是要搜索的问题或主题,支持任何语言
platform否筛选:.NET、WPF、AVALONIA、WEB、BLAZOR、ANGULAR、REACT、JS、PHP、JAVA、PYTHON、SERVER_API、GENERAL
category否筛选:faq、programming_manual、server_manual、user_manual、server_api、cloud_api
limit否最大结果数(默认 5,最大 20)

通用设置步骤

  1. 在 IDE 中启用 Agent 模式(如需要)。
  2. 将服务器端点添加到 MCP 配置中(请参阅下面的说明)。
  3. 验证连接:确认 sti_get_platforms 和 sti_search 出现在 AI 助手的可用工具中。
  4. 设置自定义指令(可选)以优化助手使用 Stimulsoft 工具的方式。

按 IDE / 工具设置

Visual Studio 2022 / 2026

在 %USERPROFILE% 目录中创建或编辑 .mcp.json:

{
  "servers": {
    "stimulsoft-docs": {
      "type": "http",
      "url": "https://devs.stimulsoft.com/mcp-docs"
    }
  }
}

VS Code

使用命令面板 → MCP: Add Server,或创建 <project>/.vscode/mcp.json:

{
  "servers": {
    "stimulsoft-docs": {
      "type": "http",
      "url": "https://devs.stimulsoft.com/mcp-docs"
    }
  }
}

或者,在项目根目录中创建 .mcp.json:

{
  "mcpServers": {
    "stimulsoft-docs": {
      "type": "http",
      "url": "https://devs.stimulsoft.com/mcp-docs"
    }
  }
}

Cursor

创建 <project>/.cursor/mcp.json,或转到设置 → 工具与集成 → 新建 MCP 服务器:

{
  "mcpServers": {
    "stimulsoft-docs": {
      "type": "http",
      "url": "https://devs.stimulsoft.com/mcp-docs"
    }
  }
}

JetBrains Rider

转到设置 → 工具 → AI Assistant → Model Context Protocol (MCP),点击 +,选择 HTTP 协议并提供:

{
  "stimulsoft-docs": {
    "type": "http",
    "url": "https://devs.stimulsoft.com/mcp-docs"
  }
}

Claude Desktop

打开设置 → 连接器 → 添加自定义连接器:

或直接编辑 claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "stimulsoft-docs": {
      "type": "http",
      "url": "https://devs.stimulsoft.com/mcp-docs"
    }
  }
}

Claude Code (CLI)

# Local configuration
claude mcp add --transport http stimulsoft-docs https://devs.stimulsoft.com/mcp-docs

# Global configuration
claude mcp add --scope user --transport http stimulsoft-docs https://devs.stimulsoft.com/mcp-docs

# Verify registered servers
claude mcp list

GitHub Copilot(编码代理)

导航到仓库 → 设置 → Copilot → 编码代理,并在"MCP 配置"部分添加:

{
  "stimulsoft-docs": {
    "type": "http",
    "url": "https://devs.stimulsoft.com/mcp-docs",
    "tools": ["*"]
  }
}

ChatGPT

打开设置 → 连接器 → 高级设置,启用开发者模式,然后创建连接器:

信任该应用并点击创建。

Gemini CLI

添加到 .gemini/settings.json:

{
  "Stimulsoft Docs MCP Server": {
    "httpUrl": "https://devs.stimulsoft.com/mcp-docs"
  }
}

提问:最佳实践

要从 Stimulsoft Documentation MCP Server 获得最相关的结果:

  • 具体说明组件。提及确切的类名:StiReport、StiViewer、StiDesigner、StiBlazorViewer、StiWebViewer、StiNetCoreViewer。
  • 包含您的技术栈。指定您的平台:WinForms、WPF、Avalonia、ASP.NET Core、Blazor、Angular、React、JS、PHP、Java、Python。
  • 在需要时明确请求代码示例。
  • 引用 MCP 服务器。使用类似"Use stimulsoft-docs"、"search Stimulsoft docs"或"according to Stimulsoft documentation"的表述。

示例提示词:

  • 如何在 Blazor 中将报表导出为 PDF?Use stimulsoft-docs。
  • 向我展示如何在 Angular 中将 StiReport 连接到 REST API 数据源。Search Stimulsoft docs。
  • 如何在 ASP.NET Core 中自定义 StiWebViewer 工具栏按钮?
  • 创建一个 WPF 窗口,其中 StiViewer 显示来自文件的报表。Use stimulsoft-docs。
  • 如何在 C# 中以编程方式向 StiReport 添加计算列?

优化您的 AI 助手

定义自定义指令以指导 AI 助手如何使用 Stimulsoft 工具。

GitHub Copilot (VS Code、Visual Studio、JetBrains Rider)

创建或编辑 <project>/.github/copilot-instructions.md:

---
description: 'Answer questions about Stimulsoft Reports & Dashboards using the stimulsoft-docs MCP server'
---

You are a developer expert in Stimulsoft Reports & Dashboards.
When replying to ANY question about Stimulsoft components, use the stimulsoft-docs MCP server.

## Workflow:
1. Call sti_get_platforms if the target platform is unclear
2. Call sti_search to find relevant documentation sections
3. Provide a comprehensive answer based on retrieved information

## Constraints:
- Answer questions based solely on information from the MCP server
- Include code examples from documentation when available
- Reference specific Stimulsoft classes, properties, and methods
- Specify the platform (NET, WPF, BLAZOR, etc.) in search queries

Cursor

导航到设置 → 规则与记忆,并添加包含类似内容的规则。

Claude Desktop

创建一个项目(项目 → 新建项目),为其命名,点击设置自定义指令并添加上面示例类似的指南。Stimulsoft MCP 连接器将在此项目的所有对话中可用。

Claude Code

在项目根目录中创建 CLAUDE.md:

# Stimulsoft Development Instructions

When working with Stimulsoft Reports & Dashboards:
- Always use the stimulsoft-docs MCP server to search documentation
- Reference specific Stimulsoft class names (StiReport, StiViewer, etc.)
- Include technology stack (WinForms, WPF, Blazor, ASP.NET Core, Angular, React, JS, PHP, Java, Python)
- Follow Stimulsoft best practices from official documentation

覆盖平台

Reports.NET (WinForms)、Reports.WPF、Reports.AVALONIA、Reports.WEB (ASP.NET / ASP.NET Core / MVC)、Reports.BLAZOR (Server & WebAssembly)、Reports.ANGULAR、Reports.REACT、Reports.JS、Reports.PHP、Reports.JAVA (Java SE & Jakarta EE)、Reports.PYTHON 以及 Stimulsoft Server API。

验证连接

打开浏览器并访问 https://devs.stimulsoft.com/mcp-docs——您应该会看到一个纯文本横幅,确认服务器正在运行。

或使用 curl 测试:

curl -X POST https://devs.stimulsoft.com/mcp-docs \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

响应中应同时包含 sti_get_platforms 和 sti_search 工具定义。

使用本网站即表示您同意使用 Cookie 进行数据分析和个性化内容投放。Cookie 会在您的计算机上存储有用信息,以帮助我们提高效率和可用性。如需了解更多信息,请阅读隐私政策和 Cookie 政策。

我同意