Skip to main content
Glama
Bygglov Ärendesystem MCP Server

Bygglov Ärendesystem MCP Server

by Anadolf

Bygglov 2.0 - 演示案件系统与 MCP

这是一个本地演示案件系统,用于展示 Copilot Studio 代理如何通过 MCP 与第三方系统协作。

启动

cd "C:\Users\anadolf\OneDrive - Microsoft\Dokument\Microsoft Scout\arendesystem-mcp-demo"
npm start

Web 界面:http://localhost:3978
MCP 端点:http://localhost:3978/mcp
健康检查:http://localhost:3978/health

Related MCP server: se-eli-mcp

数据源

首次启动应用时,会从本地的 Bygglov 演示环境中填充 data/cases.json:

  • bygglov_sharepoint_cases

  • bygglov_status_cases

  • bygglov_approved_cases

  • Bygglov 2.0\Bygglov_2_0_demo\output\sharepoint_cases

  • Bygglov 2.0\Bygglov_2_0_demo\sample_incoming_case.json

演示对应的 SharePoint 源:

https://m365cpi70484186.sharepoint.com/sites/Almedalen/Delade%20dokument/Forms/AllItems.aspx?web=1&FolderCTID=0x0120009AA01829982188468E2F1A4CC2D5DFB6&id=%2Fsites%2FAlmedalen%2FDelade%20dokument%2FBygglov

如果想从源文件夹重新填充:停止服务器,删除 data\cases.json,然后重新启动。

MCP 工具

服务器暴露以下工具:

  • bygglov_demo_overview

  • bygglov_list_cases

  • bygglov_get_case

  • bygglov_summarize_case

  • bygglov_missing_documents

  • bygglov_update_status

  • bygglov_add_note

  • bygglov_create_case

连接到 Copilot Studio

对于本地演示,MCP 端点需要能够从 Copilot Studio 访问,例如通过 Microsoft Dev Tunnels 或类似的安全隧道。

示例:

devtunnel host -p 3978 --allow-anonymous

然后使用隧道的公共 HTTPS 地址加上 /mcp,例如:

https://<din-tunnel>.devtunnels.ms/mcp

代理的演示思路

  • "显示 BYGG-2026-0001 的状态。"

  • "哪些案件正在等待补充材料?"

  • "总结 BYGG-2026-20260616-19001 并建议下一步。"

  • "在 BYGG-2026-20260616-19001 上添加一条内部备注。"

  • "将状态更改为 Grannhörande/remiss。"

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Query Swedish public data from AI tools. Includes company data, SCB statistics, weather, transport, public agencies, and more through the Apiverket API.
      2
      55 npm
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and retrieve consolidated Swedish statutes (SFS) from the Riksdagen open data API, with verifiable citations and persistent identifiers.
      4
      67 PyPI
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdag) and Government Offices through 32 specialized MCP tools.
      31
      MIT