All connectors

Your Sanity posts, next to everything else.

The published posts in your Sanity dataset, with their SEO health, and approved articles written as documents.

Sanity API token with Editor rights. LopeBase only writes the documents you approve.

What LopeBase reads

LopeBase runs one GROQ query against your dataset for the document type your posts use. It reads the published documents, the same ones your site shows.

  • Published postsEvery published document of your post type, with its title, slug, publishedAt date, last change, and word count, newest changes first.
  • Portable Text or plain textWords are counted from the body field whether it holds Portable Text blocks or a plain string.
  • DescriptionsRead from the description field once you name it, like excerpt. Without one, LopeBase shows no count for missing descriptions rather than calling them all missing.
  • Post addressesBuilt from the blog address you give, plus each post's slug.
  • SEO healthHow many posts there are, how many published posts lack a description or run under 300 words, and the average length.

What you can do

  • Write approved articles as documentsPick Sanity as a property's Content destination. Each approved article is written as a published document of your post type, with its body as Portable Text.
  • Images come alongImages LopeBase made for the article are uploaded to your dataset as image assets, since Sanity image blocks point at assets. An image that fails to upload is left out, and the text still goes.
  • No duplicates on retryEach article gets a stable document ID, so a publish that is tried again replaces the document instead of adding a second one.
  • Set it up onceThe Content destination uses this connection's settings and token, so there is nothing to paste twice.

How to connect it

You need a token and the project ID, plus the names your schema uses. Full steps are in Connect Sanity.

  1. 01

    At sanity.io/manage, open the project, then API, then Tokens, and add a token named LopeBase with Editor permissions. Copy it.

  2. 02

    Copy the project ID shown at the top of the project page.

  3. 03

    From the property's page or Connections, open Sanity under Content. Enter the project ID, the dataset (production unless you changed it), your post's document type (post unless you changed it), and its body field.

  4. 04

    Add the description field and the blog address if you want descriptions checked and posts linked. LopeBase runs one small query to check everything before saving.

Where it shows up

LopeBase reads the published documents of one type. It only writes documents when you pick Sanity as this property's Content destination and an article is approved, and it never deletes anything.

  • Posts on your sitesUnder Content, your Sanity posts sit beside every other blog you connect, grouped by property.
  • SEO healthThe connection's own page shows the counts, so a dataset full of short or undescribed posts stands out.
  • Readable by your agentOver MCP, list_sources lists the SEO health summary for this connection, so an agent can read the counts. The documents themselves stay in the console.
  • A broken connectionIf the token is removed, the connector shows under Needs attention, and alerts can reach you by email or browser push.

Questions it answers

Sanity Studio is shaped around your schema, which is great for editing and awkward for a quick look at the whole blog. These are the overview questions.

  • How many posts are live?Counted straight from the published documents of your post type.
  • Which posts are thin?Published posts whose body runs under 300 words, and the average length beside them.
  • Which posts have no excerpt?Counted from whichever field you name for descriptions.
  • Is this blog keeping pace with my others?Sanity sits in the same posts list as every other blog you run.

On the same property, Google Search Console shows which posts people find in search, and Google Analytics or PostHog shows what they do next. Contentful is the other headless CMS LopeBase reads, if another product runs on it.

What it does not do

An Editor token can write anywhere in the dataset, so LopeBase keeps to one document type.

  • No draftsDrafts live beside published documents under their own IDs and stay in your Studio. They are not listed or counted.
  • One document typeOther types, and your schema itself, are left alone. Field names must be plain names made of letters, digits, and underscores.
  • No deletingIt never deletes a document, and it only rewrites documents it wrote itself.
  • A large dataset is sampledThe SEO health summary reads up to 500 posts.
  • Sealed at restThe token is encrypted when saved and never shown back to anyone. Delete it at sanity.io/manage to cut access at once. How keys are stored.

Sanity questions

Something else? Contact us.

Why are my drafts not listed?

LopeBase reads published documents only, the same ones your site shows.

Does it change my schema?

No. It reads and writes documents of the type you name, with the fields you name.

Why does the token need Editor rights?

So LopeBase can write approved articles once you pick Sanity as the Content destination. Until then it only reads.

What happens to images in an article?

Images LopeBase made for the article are uploaded to your dataset as assets and placed in the Portable Text. If one fails to upload, it is left out and the text still goes.

Can LopeBase delete my posts?

No. It reads your posts and only publishes the articles you approve. It never deletes anything.

Put Sanity next to everything else.

Free for one property. No card.