datagovmy-mcp

datagovmy-mcp

0

DataGovMy MCP Server is an implementation of a Model Control Protocol server tailored for DataGov MY services. It offers tools like currency conversion based on historical exchange rates and integrates with platforms like OpenWebUI.

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