mohankrishna213
MCP Servermohankrishna213public

twitter_bot

A Twitter bot built using the Twitter API v2 and Model Context Protocol (MCP).

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
MIT License
License

About This Server

A Twitter bot built using the Twitter API v2 and Model Context Protocol (MCP).

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Twitter Bot

A Twitter bot built using the Twitter API v2 and Model Context Protocol (MCP).

Features

  • Post tweets
  • Search recent tweets from specific users
  • MCP server integration for AI model interaction

Prerequisites

  • Node.js (v14 or higher)
  • Twitter API v2 access token
  • npm or yarn

Setup

  1. Clone the repository:
git clone <your-repo-url>
cd <repo-name>
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory with your Twitter API credentials:
BEARER_TOKEN=your_twitter_bearer_token
  1. Start the server:
npm start

Project Structure

  • index.ts - Main server file with MCP configuration
  • tools/ - Directory containing Twitter API tools
    • postTweet.ts - Tweet posting functionality
    • recentSearch.ts - Recent tweet search functionality

Usage

The bot provides two main tools:

  1. post_tweet - Post a new tweet
  2. get_tweets - Search recent tweets from a specific user

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/mohankrishna213/twitter_bot
2

Install dependencies

cd twitter_bot
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermohankrishna213
Repotwitter_bot
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation