DataGovMy MCP Server logo

DataGovMy MCP Server

by leeliwei930

This repository contains the Model Control Protocol (MCP) server implementation for DataGov MY services. It facilitates the integration of various tools, such as currency conversion, with platforms like OpenWebUI.

View on GitHub

Last updated: N/A

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 [email protected]: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

OpenWebUI MCP Configuration

Current available tools in MCP server

  • Currency conversion based on historical exchange rate data

Screenshots

Prompt example

sample-chat

sample-chat

Screenshot of a Citation from the converter tool output

sample-citation

sample-citation