
pranrichh/spectre-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIエージェント向け最速X/Twitter自動化.
概要
AIエージェント向け最速X/Twitter自動化 104 ツール・ブラウザなし・APIキーなし・月額料金なし クイックスタート・ツール・なぜSpectre? · 安全・統合・参照 Spectreは、検索からDM、リスト、コミュニティへの投稿から、X/Twitterオートメーション用のAIエージェント104ツールを提供するMCPサーバーです。 フードでは、X の内部の GraphQL および REST API に直接話します。 ブラウザが回転するのではなく、Puppeteerが維持するのではなく、UIの変更を中断するDOMのスクレイピングはありません。 1。 2で記録されていることを確認してください。 開いた(F12かCtrl+Shift+I) 3。 → → → 4を選択します。 これらの2つの値を見つけてコピーします。 - - - 長い六角文字列(例:a1b2c3d4...) - 160文字六角文字列 ct0 は 160 ヘックス文字です。 部分的なクッキーはサイレントに失敗します。 MCP クライアント config (~/.hermes/config.yaml、claude desktop config.json、.cursor/mcp.json、または同等) に追加します。 クライアント固有のセットアップ(Hermes のスキル、Claude、Cursor、Python)については、インテグレーションを参照してください.
概要(AI 翻訳)
スペクト MCP
AIエージェント向け最速X/Twitter自動化
104 ツール・ブラウザなし・APIキーなし・月額料金なし
クイックスタート・ツール・なぜSpectre? · 安全・統合・参照
お問い合わせ
Spectreは、検索からDM、リスト、コミュニティへの投稿から、X/Twitterオートメーション用のAIエージェント104ツールを提供するMCPサーバーです。 フードでは、X の内部の GraphQL および REST API に直接話します。 ブラウザが回転するのではなく、Puppeteerが維持するのではなく、UIの変更を中断するDOMのスクレイピングはありません。
| プライバシーポリシー | |—|:-|:-|:-| |アーキテクト | 直接グラフQL/REST | Puppeteer(ヘッドレスブラウザ) | Python API wrapper | | スピード** |
##1. インストール
##2. Xアカウントを追加
ブラウザからクッキーを抽出:
- 開いたx.comおよび記録されていることを確かめて下さい
- 開いたDevTools (
F12)か[[[T1])) 3。 [[https://x.com]**を選択します。 4。 これらの2つの値を見つけてコピーします。
- [[
auth_token— 長い六角文字列([a1b2c3d4...])) - [
ct0— 160文字の六角文字列
Tip: [
ct0]は160ヘックス文字です.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Spectre MCP
The fastest X/Twitter automation for AI agents.
104 tools · no browser · no API keys · no monthly fees
Quick Start · Tools · Why Spectre? · Safety · Integrations · Reference
Spectre is an MCP server that gives AI agents 104 tools for X/Twitter automation — from search and posting to DMs, lists, and communities. Under the hood, it talks directly to X’s internal GraphQL and REST APIs. No browser to spin up, no Puppeteer to maintain, no DOM scraping that breaks on UI changes.
| Spectre | XActions | twikit | |
|---|---|---|---|
| Architecture | Direct GraphQL/REST | Puppeteer (headless browser) | Python API wrapper |
| Speed | <1s per request | 3–10s (browser startup) | ~1s per request |
| Memory | ~10 MB | ~200 MB+ (Chromium) | ~10 MB |
| MCP Server | ✓ 104 tools | ~50 API tools | ✗ None |
| Account Pool | ✓ Multi-account auto-rotation | ✗ Single auth_token | ✗ Single session |
| Browser Required | ✗ Never | ✓ Always | ✗ Never |
| DOM Breakage Risk | ✗ None | ~ breaks on UI changes | ✗ None |
| Media Upload | ✓ Cookie-based (no API keys) | ~ requires API keys | ✗ |
| Lists | ✓ Full CRUD + members + subscribe | ✗ | ✗ |
| Drafts & Scheduled | ✓ Full CRUD | ~ Basic | ✗ |
| Bookmark Folders | ✓ Full CRUD + timeline | ✗ | ✗ |
| DM Search | ✓ All / groups / people | ✗ | ✗ |
| Community Notes | ✓ Read + rate | ✗ | ✗ |
| Highlights | ✓ Create, delete, get | ✗ | ✗ |
| Notifications | ✓ Full timeline | ✗ | ✗ |
| Language | Python | JavaScript | Python |
1. Install
pipx install spectre-mcp # or: uv tool install spectre-mcp
2. Add Your X Account
Extract cookies from your browser:
- Open x.com and make sure you’re logged in
- Open DevTools (
F12orCtrl+Shift+I) - Go to Storage → Cookies → select
https://x.com - Find and copy these two values:
auth_token— long hex string (e.g.a1b2c3d4...)ct0— 160-character hex string
spectre add myaccount "auth_token=a1b2c3d4...; ct0=e5f6a7b8..."
Tip:
ct0is exactly 160 hex characters. Double-check you copied the full value — partial cookies will fail silently.
3. Configure Your MCP Client
Add to your MCP client config (~/.hermes/config.yaml, claude_desktop_config.json, .cursor/mcp.json, or equivalent):
{
インストール
uvx spectre-mcp設定
{
"mcpServers": {
"spectre": {
"command": "uvx",
"args": ["spectre-mcp"]
}
}
}