Skip to main content
Glama

strapi_list_authors

Retrieve all author records from the Strapi CMS database to manage content attribution and user permissions.

Instructions

List all authors

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that lists all authors by making a GET request to Strapi's content-manager API for the author collection.
    async listAuthors (headers) { const response = await axios.get( `${this.strapiUrl}/content-manager/collection-types/api::author.author`, { headers } ) return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] } }
  • Tool schema definition including name, description, and empty input schema (no parameters required).
    { name: 'strapi_list_authors', description: 'List all authors', inputSchema: { type: 'object', properties: {} } },
  • index.js:380-382 (registration)
    Registration of the tool handler in the switch statement within the CallToolRequestSchema handler.
    case 'strapi_list_authors': return await this.listAuthors(headers)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AINative-Studio/ainative-strapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server