Skip to main content
Glama
SirojWongpitakroj

MHTL Warehouse MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WAREHOUSE_DB_PATHNoAbsolute path to the DuckDB file. If unset, defaults to ../data/mock.duckdb relative to dist/.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesA

List all tables and views in the warehouse with their row counts. Use this first to discover what data is available.

describe_tableA

Return the column names and data types for a given table or view. Use this to learn the schema before writing a query.

queryA

Execute a read-only SELECT/WITH SQL query against the DuckDB warehouse and return the rows. Tables live in the 'main' schema (e.g. dms_customer, dms_contract, dms_contact_note, los_loan_app). A LIMIT is applied automatically if you omit one. Use ? placeholders with the params array for values.

find_customerA

Search customers by (partial) first name, last name, or customer id. Returns matching customers with their internal oid — pass that oid (or the name) to customer_insights.

customer_insightsA

Given a customer name or id, return a consolidated insight profile: identity, all contracts, delinquency/NPL summary, outstanding & overdue balances, recent collection contact notes, and loan applications. This is the tool for requests like 'get the insights of the customer Max'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SirojWongpitakroj/ClaudeMCPServerTest'

If you have feedback or need assistance with the MCP directory API, please join our Discord server