Jae Wilson @DataCrew

Build an MCP Server using DomoLibrary, FastMCP and Domolibrary

May 19, 2025

Hook (1-2 sentences): Writing boilerplate wrapper functions for every Domo API endpoint is tedious — and if your endpoint list grows, doing it by hand stops scaling fast. This walkthrough shows how to turn a Postman collection into auto-generated Python functions, then expose them as an MCP server using FastMCP and DomoLibrary.

Why It Matters (2-4 sentences): Without this, every new Domo integration means manually inspecting network traffic, reverse-engineering endpoint signatures, and writing functions that all follow the same pattern anyway. Automating that generation step means you can scaffold 50 consistent, callable functions in the time it takes to click through a Domo UI. Once those functions exist, wrapping them in an MCP server makes them available to any AI agent or tool that speaks the Model Context Protocol — turning your Domo instance into a first-class data source for LLM-powered workflows.

What You'll Learn

  • Inspect browser network traffic to discover undocumented Domo API endpoints
  • Use a Postman collection as a structured source of truth for endpoint signatures
  • Auto-generate Python wrapper functions with consistent signatures from that collection
  • Understand how DomoLibrary handles auth headers and base URL abstraction
  • Wire generated functions into a FastMCP server so AI agents can call them