panini-connector-mcp
v0.1.3Install + verify the panini-connector SDK on self-hosted sites, driven by AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
install_panini_connector Install panini-connector on a site
Given the customer's stack (language + framework + storage), returns the exact commands, code, and env vars to wire panini-connector into their self-hosted site. The AI agent should: (1) call this tool, (2) run the install_command in the project root, (3) write each file to the path shown, (4) prompt the user to set the env_vars on their hosting platform, (5) tell them to redeploy, then (6) call verify_panini_connector to confirm the setup works end-to-end.
| Parameter | Type | Description |
|---|---|---|
framework * | string | The customer's web framework. next_app = Next.js App Router, next_pages = Next.js Pages Router. Must match `language`: node → next_app|next_pages|express; python → fastapi|django|flask. |
language * | string | The customer site's runtime language. |
storage * | string | Where posts land. supabase = Supabase via PostgREST. postgres = direct Postgres DSN. custom_db = MySQL/Mongo/MSSQL/CosmosDB/CMS — SDK generates a StorageAdapter class scaffold. memory = ephemeral in… |
existing_table | string | Name of the customer's existing blog/posts table (e.g. "blog_posts"). For supabase/postgres, seeds the toRow mapping. For custom_db, seeds the SQL. Defaults to "blog_posts". |
url_template | string | URL where published posts appear on the customer site. Use {slug} and/or {id} placeholders. Example: "https://mysite.com/blog/{slug}". Defaults to "https://yoursite.com/blog/{slug}". |
verify_panini_connector Verify a deployed panini-connector endpoint
Fire all 4 HMAC-signed operations (ping, create_post, update_post, delete_post) at the customer's deployed connector URL. Returns per-op status + diagnostics. Call this AFTER install_panini_connector's code has been written + env vars set + site redeployed, to confirm the round-trip works. If any op fails, the response_body will contain the customer's handler error text — enough to debug (wrong secret? missing table column? RLS policy? etc.). Cleans up after itself by deleting the smoke-test post.
| Parameter | Type | Description |
|---|---|---|
secret * | string | The SEO_CONNECTOR_SECRET value set as an env var on the customer site. Must match byte-for-byte or all signatures will 401. |
url * | string | The full HTTPS URL of the deployed connector endpoint. Must end with the mount path (usually "/api/seo-connector"). Example: "https://mysite.com/api/seo-connector" |
timeout_ms | integer | Per-op HTTP timeout in ms. Default 10000. |
get_envelope_schema Get envelope schema
Return the raw HTTP envelope contract Panini uses to POST to customer sites. Use this when the customer stack is NOT Node or Python (e.g. Laravel, Rails, Go, .NET, Rust) and you need to hand-implement the connector in their language. Includes request/response shapes, HMAC verification pseudocode, and a Laravel example.
list_connected_sites List Panini-connected sites
List every site integration the authenticated user has connected to Panini across all their businesses. Covers OAuth-based connections (WordPress, Shopify, Ghost, Webflow, HubSpot, Wix, Framer, GitHub PR) and custom webhooks. Returns id, platform, site_url, connection status, and last verify timestamp per integration — the id is what you pass to publish_test_post. Requires PANINI_API_KEY env var.
| Parameter | Type | Description |
|---|---|---|
business_id | string | Optional — restrict the list to a single business_id. Omit to get every integration across all businesses the user has access to. |
publish_test_post Publish a test post through a Panini integration
Send a clearly-marked test post ("Panini MCP integration test — safe to delete") through a connected integration. Confirms the whole publish pipeline (auth → CMS API → response shape) works BEFORE a real content activity fires. Pass the integration_id from list_connected_sites. Returns the created post URL on success, or a diagnostic error string on failure. The user must manually delete the test post afterward.
| Parameter | Type | Description |
|---|---|---|
integration_id * | string | The integration id from list_connected_sites. |