Skip to main content
Glama
luigi-ucp-server

luigi-ucp-server

Luigi's Pizzeria — UCP Server

A local MCP server implementing Universal Commerce Protocol (UCP) primitives, backed by HubSpot CRM. Built as a proof-of-concept for the AgentFriend blog.

Architecture

[Buyer Agent: Claude]  ←→  MCP (stdio)  ←→  [This Server]  ←→  HubSpot CRM

Related MCP server: hubspot-mcp

UCP Primitive Mapping

UCP Primitive

MCP Tool

Backend

BuyerProfile

get_buyer_profile

HubSpot Contacts

ProductCatalog

get_product_catalog

HubSpot Products

Cart

create_cart

in-memory

Order

place_order

HubSpot Deals

Setup

pip install -r requirements.txt
cp .env.example .env
# Add your HubSpot Private App token to .env

Register as MCP server in Claude Code

Add to your ~/.claude/settings.json:

{
  "mcpServers": {
    "luigi-ucp-server": {
      "command": "python",
      "args": ["/absolute/path/to/luigi-ucp-server/server.py"],
      "env": {
        "HUBSPOT_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

HubSpot Private App Setup

  1. HubSpot → Settings → Integrations → Private Apps

  2. Create a Private App with these scopes:

    • crm.objects.contacts.read

    • crm.objects.products.read

    • crm.objects.deals.write

    • crm.objects.line_items.write

    • (Notes are readable via crm.objects.contacts.read — no separate scope needed)

  3. Copy the token into .env

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A read-only MCP server that exposes HubSpot CRM data (contacts, deals, companies, quotes) to AI agents, enabling natural language queries.
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the HubSpot CRM API with tools for managing contacts, companies, deals, tickets, and CRM workflows. Generated with MCPForge. Sensitive operations can be protected with permissions, audit logs, and approval workflows.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that provides AI assistants with full access to HubSpot CRM. Manage contacts, companies, deals, pipelines, and associations directly from Claude, Cursor, or any MCP-compatible client.
      11 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      HubSpot MCP server that enables browsing and searching contacts, companies, and deals in your HubSpot workspace.
      76 npm
      MIT