Twitter Mcp Js
@yolleygit
关于 Twitter Mcp Js
A complete Twitter API MCP server implementation based on the API endpoints provided by twitterapi.io.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"twitter-mcp-server": {
"command": "npx",
"args": [
"twitter-mcp-js"
],
"env": {
"TWITTER_API_KEY": "your_api_key_here"
},
"description": "Twitter MCP Server - Complete Twitter API integration with 32 tools for social media automation and analytics"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Twitter Mcp Js?
A complete Model Context Protocol (MCP) server for the Twitter API, built on endpoints provided by twitterapi.io. It offers 32 tools for reading user data, tweets, communities, trends, and performing actions like posting, liking, following, and messaging.
How to use Twitter Mcp Js?
After cloning the repository and installing dependencies, configure your TWITTER_API_KEY in a .env file. Start the server with npm run dev (development) or npm start (production). Integrate the server with an MCP client using either a local Node.js command or the npx command, both requiring the API key as an environment variable.
Key features of Twitter Mcp Js
- 32 tools covering user, tweet, community, trend, and action endpoints
- Get user info, tweets, followers, followings, and mentions
- Batch retrieve user data and check follow relationships
- Search tweets with advanced queries
- Create, delete, retweet, like, and unlike tweets
- Send direct messages and manage follows
- Community management: create, delete, join, leave, get info/members
- Fetch trending topics and account info
Use cases of Twitter Mcp Js
- Automate Twitter content posting and engagement (like, retweet, follow)
- Monitor user activity, tweets, and mentions for social listening
- Manage community membership and retrieve community data
- Analyze trends and perform advanced tweet searches
- Build AI agents that interact with Twitter through MCP
FAQ from Twitter Mcp Js
What API key does Twitter Mcp Js require?
It requires a TWITTER_API_KEY obtained from twitterapi.io.
How do I run the server locally?
Install dependencies, configure the .env file with your API key, then run npm run dev for development or npm start for production.
How do I configure an MCP client to use this server?
Use the provided JSON configurations: for local development set command to node with the path to src/index.js; for remote use set command to npx with twitter-mcp-js. Both require the TWITTER_API_KEY environment variable.
What actions can the server perform besides reading data?
It supports creating and deleting tweets, retweeting, liking/unliking, following/unfollowing, sending DMs, and creating/deleting/joining/leaving communities.
Does the server include error handling?
Yes, it has comprehensive error handling for API request errors, parameter validation errors, network connection errors, and authentication errors.
其他 分类下的更多 MCP 服务器
Codelf
unbugA search tool helps dev to solve the naming things problem.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Awesome Mlops
visengerA curated list of references for MLOps
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论