We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TeamDay-AI/se-ranking-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { z } from 'zod';
import { ApiType, BaseTool } from '../../base-tool.js';
export class AddKeywords extends BaseTool {
apiType = ApiType.PROJECT;
registerTool(server) {
server.registerTool(this.toolName('addKeywords'), {
title: 'Add Keywords',
description: 'Project Tool: Requires a project ID. Add new keywords to a project.',
inputSchema: {
site_id: z.number().int().describe('Unique website ID'),
keywords: z
.array(z.object({
keyword: z.string(),
group_id: z.number().int().optional(),
target_url: z.string().optional(),
is_strict: z.literal(0).or(z.literal(1)).optional(),
comment: z.string().optional(),
site_engine_ids: z.array(z.number().int()).optional(),
}))
.describe('List of keywords to add'),
},
}, async ({ site_id, keywords }) =>
// POST https://api4.seranking.com/sites/{site_id}/keywords
// Body is array of keywords
this.makeJsonPostRequest(`/sites/${site_id}/keywords`, keywords));
}
}
//# sourceMappingURL=add-keywords.js.map