Back to MCP directory
publicPublicdnsLocal runtime

kofa

KOFA MCP服务器,用于访问挪威公共采购决策数据,支持数据同步和HTTP服务

article

README

🚀 KOFA MCP 服务器

KOFA MCP 服务器用于处理来自挪威公共采购投诉委员会(Klagenemnda for offentlige anskaffelser,简称 KOFA)的公共采购决策。它能够帮助用户同步、处理和展示相关的采购案例信息。

🚀 快速开始

KOFA MCP 服务器为处理挪威公共采购决策提供了便捷的解决方案。你可以通过以下步骤快速开启使用。

📦 安装指南

你可以使用以下命令安装 KOFA MCP 服务器:

pip install kofa[all]

💻 使用示例

基础用法

以下是一些常见的命令及其功能:

kofa sync              # 从 KOFA 加载案例
kofa sync --scrape     # 用 HTML 元数据丰富案例信息
kofa serve --http      # 启动 HTTP MCP 服务器
kofa status            # 显示同步统计信息

🔧 环境配置

在使用前,你需要进行环境配置:

cp .env.example .env
# 设置 SUPABASE_URL 和 SUPABASE_KEY
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client