DataForSEO MCP Server

by Skobyn
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Supports JavaScript functionality in on-page analysis through the 'enable_javascript' parameter in the DataForSEO On-Page API integration.

  • Provides Node.js integration examples for programmatically interacting with the DataForSEO API services through child processes.

  • Supports installation and distribution through npm, allowing users to install the package globally or run it directly with npx.

DataForSEO MCP 서버

DataForSEO API를 위한 stdio 기반 모델 컨텍스트 프로토콜(MCP) 서버입니다.

설치

npx로 직접 실행할 수 있습니다.

지엑스피1

또는 전역적으로 설치:

npm install -g @skobyn/mcp-dataforseo mcp-dataforseo --config '{"username":"your_username","password":"your_password"}'

용법

stdin으로 JSON 요청을 보내고 stdout에서 JSON 응답을 받습니다.

echo '{"type":"dataforseo_serp","keyword":"artificial intelligence"}' | npx @skobyn/mcp-dataforseo --config '{"username":"your_username","password":"your_password"}'

지원되는 요청 유형

SERP API

{ "type": "dataforseo_serp", "keyword": "artificial intelligence", "location_code": 2840, "language_code": "en", "device": "desktop", "os": "windows" }

키워드 데이터 API

{ "type": "dataforseo_keywords_data", "keywords": ["seo", "search engine optimization"], "location_code": 2840, "language_code": "en" }

백링크 API

{ "type": "dataforseo_backlinks", "target": "example.com", "limit": 100 }

온페이지 API

{ "type": "dataforseo_onpage", "url": "https://example.com", "check_spell": true, "enable_javascript": true }

도메인 분석 API

{ "type": "dataforseo_domain_analytics", "domain": "example.com" }

앱 데이터 API

{ "type": "dataforseo_app_data", "app_id": "com.example.app" }

판매자 API

{ "type": "dataforseo_merchant", "keyword": "bluetooth speakers", "location_code": 2840, "language_code": "en" }

비즈니스 데이터 API

{ "type": "dataforseo_business_data", "keyword": "pizza delivery", "location_code": 2840, "language_code": "en" }

통합 예제

Node.js 코드에서 이 MCP 서버를 사용하는 방법은 다음과 같습니다.

const { spawn } = require('child_process'); // Start the MCP server const server = spawn('npx', ['@skobyn/mcp-dataforseo', '--config', '{"username":"your_username","password":"your_password"}']); // Define the request const request = { type: 'dataforseo_serp', keyword: 'artificial intelligence' }; // Send the request server.stdin.write(JSON.stringify(request) + '\n'); server.stdin.end(); // Process the response server.stdout.on('data', (data) => { const response = JSON.parse(data.toString()); console.log(response); }); // Handle errors server.stderr.on('data', (data) => { console.error(`Error: ${data}`); });

환경 변수

config 대신 환경 변수를 사용할 수도 있습니다.

export DATAFORSEO_USERNAME=your_username export DATAFORSEO_PASSWORD=your_password npx @skobyn/mcp-dataforseo

출판

이 패키지를 npm에 게시하려면:

  1. 아직 로그인하지 않았다면 npm에 로그인하세요.
    npm login
  2. 패키지를 게시합니다.
    npm publish --access public
  3. 나중에 패키지를 업데이트하려면:
    npm version patch npm publish
-
security - not tested
F
license - not found
-
quality - not tested

Model Context Protocol을 통해 DataForSEO API와 상호작용을 가능하게 하는 stdio 기반 서버로, 사용자는 검색 결과, 키워드 데이터, 백링크, 온페이지 분석 등의 SEO 데이터를 가져올 수 있습니다.

  1. Installation
    1. Usage
      1. Supported Request Types
        1. SERP API
        2. Keywords Data API
        3. Backlinks API
        4. On-Page API
        5. Domain Analytics API
        6. App Data API
        7. Merchant API
        8. Business Data API
      2. Integration Example
        1. Environment Variables
          1. Publishing
            ID: gbsao9yoe4