Atlas / MCP servers / luniakunal / Twitter

TwitterSAFE

mcp/luniakunal/twitter-4

Manage your twitter account using mcp

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 5r · 1w · 1d
Transport
—
License
—
Stars
60
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Welcome to the Twitter MCP (Multi-Channel Platform) Server! This application helps you manage your Twitter account programmatically with a variety of powerful features.

Features

  • Get Timeline: Retrieve your Twitter home timeline.
  • Get Any User's Tweets: Fetch tweets from any public Twitter user.
  • Hashtag Search: Search for tweets containing any hashtag (e.g., #AI).
  • Get Replies & Summaries: Retrieve replies to tweets and get summarized insights.
  • User Direct Messages: Send and receive Twitter DMs.
  • Create Post: Programmatically create new tweets.
  • Delete Post: Delete your tweets through the API.
  • And much more...

[](https://smithery.ai/server/@LuniaKunal/mcp-twitter)

Getting Started

Prerequisites

  • Python 3.11+
  • uvicorn (for running the server)
  • Twitter API credentials (set in .env file)

Installation

  1. Clone this repository.
  2. Install dependencies:
pip install -r requirements.txt
  1. Set up your .env file with your Twitter API credentials (see .env.example).

Running the Application

To start the server, run:

uv run --with twikit --with mcp Path\\src\\tweet_service.py
{
"mcpServers": {
"twitter-mcp": {
"command": "uv",
"args": [
"--directory",
"Path\\src\\",
"run",
"--with",
"twikit",
"--with",
"mcp",
"tweet_service.py"
],
"env": {
"COOKIES_PATH": "Path\\cookies.json",
"ENV_FILE": ".env"  
}
}

}
}

Feel free to contribute or suggest new features!

Read from source at commit 6faf8671f4bcOBSERVED · 2026-10-07
02

Exposed tools (7)

5 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
delete_tweetdestructiveDelete a tweet by its ID.
get_latest_timelinereadGet tweets from your home timeline (Following).
get_replies_for_tweetread
get_timelinereadGet tweets from your home timeline (For You).
get_tweetsreadSearch twitter with a query. Sort by
get_user_tweetsreadGet tweets from a specific user
post_tweetwritePost a tweet with optional media, reply, and tags.
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_tweet
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, twikit, mcp, python-dotenv
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-07 · audit v0.4.1 · source sha 6faf8671f4bcfull audit observations/trust-audit/mcp-server/luniakunal__twitter-4.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-076faf8671f4bcSAFEB89first audit
05

Questions

What is the Twitter MCP server?

Manage your twitter account using mcp

What tools does Twitter expose?

7 in total: 5 read-only, 1 that write, and 1 that can delete or overwrite (delete_tweet). Every one is listed on this page with its risk.

Is Twitter safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Twitter need?

It reads TWITTER_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (6faf8671f4bc), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement