MCP.so
登录

agent-twitter-client-mcp

@theo-nash

关于 agent-twitter-client-mcp

Model Context Protocol implementation for twitter interactions

基本信息

分类

AI 与智能体

许可证

MIT

运行时

node

传输方式

stdio

发布者

theo-nash

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "twitter-mcp-server-theo-nash": {
      "command": "npx",
      "args": [
        "agent-twitter-client-mcp"
      ]
    }
  }
}

工具

14

Fetch tweets from a specific user

Fetch a specific tweet by ID

Search for tweets

Post a new tweet

Post a tweet with a poll

Like a tweet

Retweet a tweet

Quote a tweet

Get a user's profile

Follow a user

Get a user's followers

Get users a user is following

Chat with Grok via Twitter

Check the health of the Twitter MCP server

概览

What is agent-twitter-client-mcp?

It integrates with Twitter using the agent-twitter-client package, allowing AI models to interact with Twitter without direct API access. It's for developers and AI agents that need to perform Twitter actions programmatically.

How to use agent-twitter-client-mcp?

Install via npm globally or locally, configure Twitter credentials in a .env file, then run the MCP server with agent-twitter-client-mcp or npx agent-twitter-client-mcp. Alternatively, configure it as an MCP server in Claude Desktop by adding the appropriate configuration to the claude_desktop_config.json file.

Key features of agent-twitter-client-mcp

  • Cookie, credentials, or API authentication
  • Fetch tweets, search, and post tweets
  • Like, retweet, and quote tweets
  • Get user profiles and follow users
  • Grok AI chat via Twitter interface
  • Interactive CLI test interface

Use cases of agent-twitter-client-mcp

  • Search Twitter for trending topics or specific queries
  • Post tweets with text, images, or videos via AI assistants
  • Analyze user profiles and follower lists
  • Integrate Grok's real-time Twitter data into conversations
  • Automate social media management tasks

FAQ from agent-twitter-client-mcp

How does agent-twitter-client-mcp authenticate with Twitter?

It supports three methods: cookie authentication (recommended), username/password with optional 2FA, and Twitter API v2 credentials.

What are the runtime requirements for agent-twitter-client-mcp?

It requires Node.js and npm. For Grok integration, agent-twitter-client v0.0.19 or higher is required.

Where does my Twitter data live?

Data is accessed through the MCP server using your Twitter credentials; the server itself does not store data persistently beyond the session.

Are there any rate limits?

Yes, Twitter imposes rate limits. Grok has specific limits: 25 messages per 2 hours for non-premium accounts; premium accounts have higher limits.

Can I use agent-twitter-client-mcp with Claude Desktop?

Yes, you can configure it as an MCP server in Claude Desktop's configuration file with the appropriate environment variables for authentication.

评论

AI 与智能体 分类下的更多 MCP 服务器