Skip to main content
Glama
Skobyn

DataForSEO MCP Server

DataForSEO MCP 서버

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

설치

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

지엑스피1

또는 전역적으로 설치:

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

Related MCP server: DataForSEO MCP Server

용법

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

Latest Blog Posts

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/Skobyn/mcp-dataforseo'

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