Skip to main content
Glama
rrizwan98

Lara Marketing Connector

by rrizwan98

title: Lara Marketing Connector emoji: ๐Ÿš€ colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 pinned: false license: mit

Lara Marketing Connector

A remote MCP server ("connector", AgentFactory style) that carries Lara's full marketing brain โ€” 45 marketing skills + the "which-skill-when" orchestration logic + persona + per-client context โ€” so any MCP host (Claude Code, Codex, OpenCode, OpenClaw, claude.ai) connects to one URL and gets the complete digital-marketing employee.

Built specs-first โ€” see specs/. Status: v0.1 (public/demo).

Live MCP endpoint (when the Space is running): https://rrizwan98-lara-marketing-connector.hf.space/mcp

Related MCP server: Friday MCP Server

Layout

lara-connector/
โ”œโ”€โ”€ specs/            # 00-overview โ€ฆ 06-auth  (read these first)
โ”œโ”€โ”€ server.py         # FastMCP gateway + all 13 tools
โ”œโ”€โ”€ auth.py           # verified identity (demo now, OAuth seam for prod)
โ”œโ”€โ”€ session.py        # HMAC session token (seals sub + tier)
โ”œโ”€โ”€ db.py             # SQLite state (users, clients, deliverables, usage)
โ”œโ”€โ”€ config_store.py   # Lara's brain: persona, rules, router map, tiers
โ”œโ”€โ”€ skills_repo.py    # serve skills/<name>/SKILL.md (path-safe)
โ”œโ”€โ”€ skills/           # the 45 marketing skills
โ”œโ”€โ”€ Dockerfile        # Hugging Face Space (Docker SDK), port 7860
โ”œโ”€โ”€ .github/workflows/deploy.yml   # test -> (pass) -> deploy to HF
โ””โ”€โ”€ tests/            # test_smoke.py (in-memory) + test_http.py (live)

CI/CD

Push to main โ†’ GitHub Actions runs tests/test_smoke.py โ†’ only if tests pass, the repo is synced to the Hugging Face Space, which rebuilds the Docker image and serves the connector.

Run locally (demo โ€” no sign-in, all access)

pip install -r requirements.txt
python server.py            # serves http://127.0.0.1:8000/mcp
python tests/test_smoke.py  # 16 checks

Defaults: AUTH_DISABLED=1, GATING_ENABLED=false, PUBLIC_TIER=max, SQLite. Set SESSION_SIGNING_SECRET before any public deployment.

The tools (13)

  • Open: health, begin_session (call first โ€” returns persona, rules, router_map, skills, token)

  • config_*: config_get_persona, config_get_rules

  • domain_*: domain_list_skills, domain_get_skill, domain_route_task

  • user_*: user_get_profile, user_list_clients, user_get_client_context, user_save_client_context, user_get_history, user_log_deliverable

Every tool except health/begin_session needs the session_token from begin_session.

Connect from a host

  • claude.ai: Settings โ†’ Connectors โ†’ Add custom connector โ†’ paste the /mcp URL.

  • Claude Code / Codex: add an MCP server pointing at the /mcp URL.

  • OpenClaw: add it as an MCP server in openclaw.json.

Tiers (free / pro / max)

Built in now, enforced later (see specs/05-tiers.md): wire OAuth (AUTH_DISABLED=0), add billing โ†’ db.set_tier(sub, tier), set GATING_ENABLED=true.

The 4 invariants (the book)

One gateway ยท tools only ยท identity from verified sign-in (never model args) ยท fail closed.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/rrizwan98/lara-marketing-connector'

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