Tools, resources, and prompts
The tools, resources, and prompts of the Andesine MCP server.
The remote and local Andesine MCP servers have the same tools, resources, and prompts. Only the local server has upload_image. Your AI app chooses the tools for each request, so you normally only describe what you want, for example "Update the setup guide for the new CLI flag and publish it."
Tools
Tools that change content need write access. A read-only connection lists only the read tools, and only the prompts review-entry, answer, and release-notes. With an API key, the server also hides the resources and prompts that the key's permissions do not allow.
Tool | What it does | Access |
|---|---|---|
| Searches the workspace content | Read |
| Reads an entry as MDX, ProseMirror JSON, blocks, or an outline; or one or more sections of it | Read |
| Lists the collections and entries under a path | Read |
| Reads the schema fields of a collection | Read |
| Shows the progress of a schema migration | Read |
| Lists the versions of an entry or a schema | Read |
| Lists the publishing channels | Read |
| Creates an entry, and the collections in its path | Write |
| Changes parts of an entry: text, blocks, or fields | Write |
| Replaces all content of an entry | Write |
| Moves or renames entries and collections | Write |
| Deletes an entry or a collection | Write |
| Saves a version of an entry, with an optional name | Write |
| Restores an entry or a schema to a saved version | Write |
| Changes the schema of a collection and converts its entries | Write |
| Publishes entries or collections to a channel | Write |
| Removes entries or collections from a channel | Write |
| Uploads an image file from your computer (local server only) | Write |
The AI app edits entries in MDX. Edits keep the changes that people make at the same time in other parts of the entry.
Resources
Apps that support resources can read these:
Resource | Content |
|---|---|
| An overview of the workspace |
| An entry as MDX |
| The published content of an entry |
| The schema of a collection |
| The MDX syntax that Andesine uses |
| The custom elements and their rules |
Prompts
Apps that support prompts show these as commands, for example /draft-entry:
Prompt | What it does |
|---|---|
| Writes a new unpublished entry that follows the collection's schema and style |
| Finds the entries that a change affects and updates them |
| Finds problems in an entry without changing it |
| Answers a question only from workspace content, with citations |
| Compares the drafts with the published content and summarizes the changes |
| Proposes a better structure for a collection, and applies it after approval |
Good practices
Give the app read-only access when it only needs to answer questions.
Ask the app to save a version before large changes, or to leave changes unpublished so that you can review them in the Publishing panel.
Review schema changes before the app applies them. A schema change can remove content from entries; the removed content stays in the entries' versions.