Stimulsoft Documentation MCP Server

官方

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

你可以用 Stimulsoft Documentation MCP 做什么?

  • 列出所有已索引的 Stimulsoft 平台 — 调用 sti_get_platforms 以获取有效的平台 ID,用于后续搜索的筛选。
  • 语义化搜索文档 — 使用自然语言查询调用 sti_search,在所有手册中查找相关文章、代码片段和 API 参考。
  • 按平台筛选搜索 — 向 sti_search 传递平台 ID(例如 BLAZORANGULARJAVA),将结果限定在特定技术栈内。
  • 按文档类别筛选搜索 — 将 sti_search 的结果限制在特定手册中,例如 programming_manualserver_apifaq
  • 获取特定组件的代码示例 — 查询涉及 StiReportStiBlazorViewerStiWebViewer 的代码片段,并从官方文档中获取结果。

文档

Stimulsoft 文档 MCP 服务器

详情

作者:Tim Crawford

发布日期:2026 年 4 月 14 日

  • 显示所有博客

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

端点: https://devs.stimulsoft.com/mcp-docs 协议: MCP 2025-03-26,可流式传输 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 的列表。用于发现有效的平台值以进行筛选搜索。无 API 调用 — 即时响应。
sti_search跨完整文档索引(FAQ、编程手册、服务器手册、用户手册、服务器 API、云 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_platformssti_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:添加服务器,或创建 <project>/.vscode/mcp.json

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

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

Cursor

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

JetBrains Rider

转到 设置 → 工具 → AI 助手 → 模型上下文协议 (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

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 文档 MCP 服务器获取最相关的结果:

  • 明确指定组件。提及确切的类名:StiReportStiViewerStiDesignerStiBlazorViewerStiWebViewerStiNetCoreViewer
  • 包含您的技术栈。指定您的平台:WinForms、WPF、Avalonia、ASP.NET Core、Blazor、Angular、React、JS、PHP、Java、Python。
  • 在需要时明确请求代码示例
  • 引用 MCP 服务器。使用诸如“使用 stimulsoft-docs”、“搜索 Stimulsoft 文档”或“根据 Stimulsoft 文档”之类的短语。

示例提示:

  • 如何在 Blazor 中将报表导出为 PDF?使用 stimulsoft-docs。
  • 演示如何在 Angular 中将 StiReport 连接到 REST API 数据源。搜索 Stimulsoft 文档。
  • 如何在 ASP.NET Core 中自定义 StiWebViewer 工具栏按钮?
  • 创建一个带有 StiViewer 的 WPF 窗口,显示来自文件的报表。使用 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_platformssti_search 工具定义。

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

我同意