list_keywords
List all tracked keywords for a specific project to review your AI visibility monitoring targets.
Instructions
List all tracked keywords (prompts) for a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Implementation Reference
- src/tools/keywords.js:12-12 (handler)Handler function for list_keywords: calls api.get(`/projects/${projectId}/keywords`) to list all tracked keywords for a project.
handler: async ({ projectId }) => api.get(`/projects/${projectId}/keywords`), - src/tools/keywords.js:7-11 (schema)Input schema for list_keywords: requires a projectId (string) parameter.
inputSchema: { type: 'object', properties: { projectId: { type: 'string' } }, required: ['projectId'], }, - src/index.js:31-33 (registration)keywordTools array (containing list_keywords) is spread into ALL_TOOLS, registering the tool with the MCP server.
const ALL_TOOLS = [ ...projectTools, ...keywordTools, - src/index.js:24-24 (registration)Import of keywordTools from ./tools/keywords.js into the main server entry point.
import { keywordTools } from './tools/keywords.js'; - src/client.js:78-83 (helper)The api object providing the .get() method used by list_keywords handler; delegates to request() which calls fetch().
export const api = { get: (path, query) => request('GET', path, { query }), post: (path, body) => request('POST', path, { body }), patch: (path, body) => request('PATCH', path, { body }), delete: (path) => request('DELETE', path), };