Skip to content

OpenClaw

Find and order medications through OpenClaw with a local skill. OpenClaw integration gives you:

  • Individual skill — Natural language medication search and ordering
  • OTP authentication — Phone-based login (no passwords)
  • Checkout links — Secure payment via Famasi checkout

Install

Terminal window
npx @famasi/agents@latest install openclaw

Files created

.famasi/
skills/
openclaw/
famasi-patient/
SKILL.md # Individual skill instructions

Configuration

Set the MCP URL in your OpenClaw config:

# openclaw.yaml or .openclaw/config.yaml
skills:
famasi_patient:
config:
FAMASI_MCP_URL: https://mcp.famasi.ai/mcp

Or as environment variable:

Terminal window
export FAMASI_MCP_URL=https://mcp.famasi.ai/mcp

Authentication

The agent handles OTP authentication for you:

  1. Request OTP — the agent asks for your phone number
  2. Enter the OTP code sent via SMS
  3. If you’re new, an account is created automatically

What you can do

All 13 individual tools are available:

Search medications:

"Find Panadol near me"
"Search for diabetes medication"
"Where can I get Amoxicillin?"

Place an order:

"Order Amoxicillin 500mg"
"I want to buy this medication"

Before placing, the agent confirms medication name, quantity, and branch/pharmacy.

Track orders:

"Where's my order?"
"Track my last order"

Session example

"I need to order medication"
→ Agent requests phone number
→ Sends OTP
→ You enter OTP
→ Agent: "What medication do you need?"
→ "Find Panadol Extra"
→ Agent shows nearby pharmacies with prices
→ You select pharmacy
→ Agent confirms: "2 packs at GreenCross Pharmacy?"
→ "Yes"
→ Agent places order, provides checkout link

Troubleshooting

“MCP URL not configured”

Terminal window
export FAMASI_MCP_URL=https://mcp.famasi.ai/mcp

“OTP not received”

  • Check phone number is correct and includes country code
  • Wait 60 seconds and request again

More troubleshooting →