Skip to main content
Glama

DataForSEO MCP Server

onpage-api.module.ts702 B
import { BaseModule, ToolDefinition } from '../base.module.js'; import { ContentParsingTool } from './tools/content-parsing.tool.js'; import { InstantPagesTool } from './tools/instant-pages.tool.js'; export class OnPageApiModule extends BaseModule { getTools(): Record<string, ToolDefinition> { const tools = [ new ContentParsingTool(this.dataForSEOClient), new InstantPagesTool(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