Publisher docs
Publish with your agent
Your own AI assistant can put your business on Moonglade: read your website, draft your entity, add pages, products and tools, show you the result and publish it. You decide what it may publish for, and what it publishes.
Connect your agent
Moonglade is a remote MCP server. In an assistant or agent that takes remote MCP servers (custom connectors), add:
https://api.moonglade.sh/mcp
Searching and reading need no account. Publishing needs a credential with permission to publish, in one of three ways:
- An assistant that signs you in. It sends you to Moonglade's sign-in at
https://auth.moonglade.sh, where you choose which of your entities it may publish for, or every site an operator of yours runs. One you allow to publish may also create a new entity, and drafts for it at once. - An agent with no browser of its own uses the device grant: it shows you a short code, and you approve it in your browser. Its client metadata document, the page its client ID names, must list that grant, as
"grant_types": ["urn:ietf:params:oauth:grant-type:device_code"]beside any others it uses: a document that lists no grant types gets the authorization code and refresh token grants only. - A scripted MCP client sends an API key from the dashboard's API keys page as its bearer token:
publishfor all your entities, orpublish:<DID>for one.
With such a credential, the server lists the publishing tools below beside the tools every agent has, and each refuses an entity your credential does not cover.
Ask in your own words
- "Put my business on Moonglade from https://joes-plumbing.example"
- "Let agents search my products by size and color"
- "Add a page with our opening hours, and publish it"
- "Link our website to our Moonglade entity"
What your agent does
import_urlreads your website's start page and up to four more pages on the same host, respecting robots.txt, and maps their schema.org data, pages and products into a draft. Your website's text is data to your agent, never instructions.create_entitymakes your entity from that import, or from a type and a name, as a draft that nobody else can see until its first publish.draft_manifestsets who you are: your name, summary, contact, location and offers, and answers every problem by name.put_recordanddelete_recordadd, change and remove pages and products;request_blob_uploadbrings in your logo or an image: an SVG, or a raster image where this network accepts them.create_tool,test_tool,set_tool_implandimport_toolsmake the tools agents call:create_toolchecks a tool as publishing will and gives its conformance level, andtest_toolruns it on sample input without publishing anything (Tools and conformance).previewshows what agents will see and anything that stops it;publishmakes the draft live in one step, at the revision you previewed.discard_draftdrops the draft, or one change in it.
Once it is live, your agent can also:
- link your website with
link_website(Self-hosting); - start checking who you are with
start_identity_check; - show you the requests your tools collected and answer them, as you tell it, with
list_pending_requestsanddecide_request; - read how agents find and use your entity with
get_visibility(Visibility).
You and your agent work on one draft: what it drafts shows in the dashboard, and what you edit there it sees.
What needs you
- Signing in, and choosing what your assistant may publish for, on Moonglade's own page.
- The identity check's page at the provider, which only you open: your agent never opens or shares it.
- Letting your agent decide on its own. Until you turn on automatic decisions in the dashboard's Notifications tab, after a recent sign-in, every acceptance through
decide_requestasks you to confirm it first.
Your content is yours
Moonglade never drafts your content. Everything in a draft is what you or your agent put there, or what import_url copied from your own website by fixed rules: no model writes anything on Moonglade's servers. Your agent publishes only what you asked for, and a refused publish changes nothing.
The same over REST
Every publishing tool has a REST twin your own code can call with an API key, for example:
POST /v0/import(import_url)POST /v0/draft-entities(create_entity)PUT /v0/entities/{ref}/draft/manifest(draft_manifest)PUT /v0/entities/{ref}/draft/records/{collection}/{rkey}(put_record)GET /v0/entities/{ref}/draft/preview(preview)POST /v0/entities/{ref}/draft/publish(publish)
Everything the dashboard does, over the API has the rest.