datagovmy

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

DataGovMy MCP Server

Overview

This repository contains the Model Control Protocol (MCP) server implementation for DataGov MY services.

Prerequisites

  • Node.js (v14.x or higher recommended)

Getting Started

Installation

Clone the repository and install dependencies:

git clone git@github.com:leeliwei930/datagovmy-mcp.git
cd datagovmy-mcp
npm install

Development

Build and run the MCP server locally:

npm run build
node ./build/index.js

Integration with OpenWebUI

Setting Up the Proxy

Step 1. Install the MCPO proxy utility:

pip install uv
pip install mcpo

Step 2. Launch the proxy server:

uvx mcpo --port 8000 -- node ./build/index.js

Step 3. Configure OpenWebUI to connect to the MCP server:

  • Navigate to Tools Settings in OpenWebUI
  • Add the MCP server configuration as shown below

OpenWebUI MCP Configuration

Current available tools in MCP server

  • Currency conversion based on historical exchange rate data

Screenshots

Prompt example

sample-chat

Screenshot of a Citation from the converter tool output

sample-citation