Back to Home
dataforseo icon

mcp-server-typescript

Verified Safe

by dataforseo

Overview

This server acts as a Model Context Protocol (MCP) gateway, enabling AI assistants to interact with DataForSEO APIs for various SEO data, including keyword research, SERP analysis, backlink monitoring, and on-page optimization.

Installation

Run Command
npx dataforseo-mcp-server

Environment Variables

  • DATAFORSEO_USERNAME
  • DATAFORSEO_PASSWORD
  • ENABLED_MODULES
  • ENABLED_PROMPTS
  • DATAFORSEO_FULL_RESPONSE
  • DATAFORSEO_SIMPLE_FILTER
  • FIELD_CONFIG_PATH
  • DEBUG
  • PORT

Security Notes

The server demonstrates good security practices by sourcing DataForSEO API credentials from environment variables, preventing hardcoded secrets. It employs Zod for robust input validation on tool parameters, mitigating common injection risks. Basic Authentication is implemented for HTTP/SSE endpoints, and clear error responses are provided for authentication failures. The internal `makeRequest` method constructs API URLs based on hardcoded endpoints and filters output to prevent verbose responses by default, reducing data exposure. No `eval` or obvious malicious patterns were found in the truncated source. The primary security considerations would be the deployment environment's network security and proper management of environment variables.

Similar Servers

Stats

Interest Score56
Security Score9
Cost ClassLow
Avg Tokens500
Stars125
Forks72
Last Update2025-12-05

Tags

SEOAPI GatewayAI AssistantDataForSEOTypeScriptNode.jsCloudflare Worker