---
title: "MCP user-perspective test"
url: https://mdfy.app/PK53SQc0
updated: 2026-05-15T18:32:34.569Z
source: "mcp"
---
# MCP user-perspective test

This document was created from Claude Code via the `mcp__mdfy__mdfy_create` tool, which spawned the npm-published `mdfy-mcp@1.3.2` server (per `.mcp.json`). Verifying the whole user-facing path:

1. Claude Code → MCP server → `POST mdfy.app/api/docs`
2. Postgres `documents` INSERT → `fire_lifecycle_webhook()` trigger
3. pg_net → `POST mdfy.app/api/hooks/doc-created` with `Bearer ${WEBHOOK_SECRET}`
4. Handler queues embedding + ontology
5. Doc's `embedding_updated_at` fills within ~3s

If you're reading this on mdfy.app, the chain worked end-to-end.