Stimulsoft Documentation MCP Server
官方Stimulsoft Reports & Dashboards 文件的官方 MCP 伺服器。支援語意搜尋,涵蓋 FAQ、程式設計手冊、伺服器/使用者手冊,以及適用於 .NET、WPF、Avalonia、WEB、Blazor、Angular、React、JS、PHP、Java 和 Python 平台的伺服器/雲端 API。
你可以用 Stimulsoft Documentation MCP 做什麼?
- 探索平台 — 詢問索引中包含哪些 Stimulsoft 平台,
sti_get_platforms會傳回平台 ID,供搜尋篩選使用。 - 搜尋文件 — 使用任何語言提問,
sti_search會傳回依相關性排序的結果,包含平台、類別、內容和程式碼片段。 - 依平台篩選 — 將結果縮小至特定技術堆疊,例如
WPF、BLAZOR、ANGULAR、REACT、JS、PHP、JAVA、PYTHON或SERVER_API。 - 依類別篩選 — 將搜尋範圍限制在
faq、programming_manual、server_manual、user_manual、server_api或cloud_api。 - 控制結果數量 — 設定
limit以限制傳回的結果數量(預設為 5,最多 20)。
文件
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、Programming Manual、Server Manual、User Manual、Server 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) |
常見設定步驟
- 啟用 Agent 模式(若 IDE 有此要求)。
- 將伺服器端點新增至 MCP 設定(請參閱下方說明)。
- 確認連線:確認
sti_get_platforms和sti_search出現在 AI 助理的可用工具中。 - 設定自訂指示(選用),以最佳化助理使用 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,或前往 Settings → Tools & Integrations → New MCP Server:
{
"mcpServers": {
"stimulsoft-docs": {
"type": "http",
"url": "https://devs.stimulsoft.com/mcp-docs"
}
}
}
JetBrains Rider
前往 Settings → Tools → AI Assistant → Model Context Protocol (MCP),按一下 +,選取 HTTP 通訊協定並提供:
{
"stimulsoft-docs": {
"type": "http",
"url": "https://devs.stimulsoft.com/mcp-docs"
}
}
Claude Desktop
開啟 Settings → Connectors → Add custom connector:
- 名稱: Stimulsoft Documentation
- URL: https://devs.stimulsoft.com/mcp-docs
- 驗證::不需要驗證
或直接編輯 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 (coding agent)
前往 Repository → Settings → Copilot → Coding agent,並在「MCP configuration」區段新增:
{
"stimulsoft-docs": {
"type": "http",
"url": "https://devs.stimulsoft.com/mcp-docs",
"tools": ["*"]
}
}
ChatGPT
開啟 Settings → Connectors → Advanced settings,啟用 Developer mode,然後選取 Create connector:
- 名稱: Stimulsoft Documentation
- URL: https://devs.stimulsoft.com/mcp-docs
- 驗證: 不需要驗證
信任此應用程式,然後按一下 Create。
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?使用 stimulsoft-docs。
- 示範如何在 Angular 中將 StiReport 連接至 REST API 資料來源。搜尋 Stimulsoft 文件。
- 如何在 ASP.NET Core 中自訂 StiWebViewer 工具列按鈕?
- 建立一個 WPF 視窗,使用 StiViewer 顯示檔案中的報表。使用 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
前往 Settings → Rules & Memories,並新增內容相似的規則。
Claude Desktop
建立一個 Project(Projects → New Project),為其命名,按一下 Set custom instructions,並新增與上述範例相似的指引。此專案中的所有對話都可以使用 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 兩項工具定義。