Skip to main content
Glama

DataForSEO MCP Server

serp-api.module.ts792 B
import { BaseModule, ToolDefinition } from '../base.module.js'; import { z } from 'zod'; import { SerpOrganicLiveAdvancedTool } from './tools/serp-organic-live-advanced.tool.js'; import { SerpOrganicLocationsListTool } from './tools/serp-organic-locations-list.tool.js'; export class SerpApiModule extends BaseModule { getTools(): Record<string, ToolDefinition> { const tools = [ new SerpOrganicLiveAdvancedTool(this.dataForSEOClient), new SerpOrganicLocationsListTool(this.dataForSEOClient), // Add more tools here ]; return tools.reduce((acc, tool) => ({ ...acc, [tool.getName()]: { description: tool.getDescription(), params: tool.getParams(), handler: (params: any) => tool.handle(params), }, }), {}); } }

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/ravinwebsurgeon/seo-mcp'

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