Haulistic MCP Server
Enables reading public product catalogs for a single Haulistic organization, with prompts for browsing, searching, and comparing products via MCP endpoints.
README
Haulistic MCP Server
Standalone proof-of-concept MCP server exposing read-only product resources for
one Haulistic organization. The organization is selected at startup with
MCP_ORGANIZATION_SLUG; clients cannot select or change it.
This POC intentionally has no user authentication. Anyone who can reach the MCP endpoint can read the public catalog for the configured organization.
Requirements
- Node.js 20+
- PostgreSQL connectivity to the Haulistic database
- A PostgreSQL login with read-only access
Setup
cp .env.example .env
npm install
npm run dev
The server fails to start if MCP_ORGANIZATION_SLUG is missing, deleted,
deactivated, or does not exist.
Endpoints
POST /mcp— stateless MCP Streamable HTTP endpointGET /health— database and configured-organization readiness check- Other methods on
/mcpreturn405 Method Not Allowed
The MCP server exposes these resource templates:
haulistic://products/catalog/{offset}/{limit}haulistic://products/by-name/{productName}haulistic://products/by-route/{productRoute}
Only products that are active, listed, and not deleted are returned. Catalog limits must be between 1 and 100. Name searches are case-insensitive partial matches and return at most 20 products.
The MCP server also exposes these reusable prompts:
browse-product-catalog— browse and summarize a catalog pagefind-products-by-name— find and present products matching a namecompare-products— compare two products using their storefront routes
Read-only database role
Use a separate database role for this service. The exact administration flow depends on the deployment platform, but the privileges should be equivalent to:
CREATE ROLE mcp_reader LOGIN PASSWORD 'replace-with-a-secret';
GRANT CONNECT ON DATABASE haulistic TO mcp_reader;
GRANT USAGE ON SCHEMA public TO mcp_reader;
GRANT SELECT ON TABLE
"Organization",
"Products",
"ProductRoutes",
"ProductOption",
"ProductOptionValue"
TO mcp_reader;
ALTER ROLE mcp_reader SET default_transaction_read_only = on;
The application also requests default_transaction_read_only=on for every
database connection and applies a configurable statement timeout. Database
permissions remain the primary security boundary.
Build and run
npm run build
npm start
Or build the container:
docker build -t haulistic-mcp-server .
docker run --rm -p 8080:8080 --env-file .env haulistic-mcp-server
Deploy the service behind HTTPS, then configure the Claude custom connector with
the externally reachable endpoint, for example:
https://mcp-poc.example.com/mcp. A PUBLIC_MCP_URL environment variable is
not needed for this unauthenticated, stateless POC.
POC boundaries
- No OAuth or other client authentication
- One organization per deployment
- Product resources only; no mutating tools
- Public product DTOs intentionally omit creator data, internal notes, draft and deleted products, integration configuration, and internal timestamps
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.