1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! X (Twitter) MCP Server
//!
//! A Model Context Protocol (MCP) server that provides access to X (Twitter) API
//! for basic utilities like posting tweets, getting user information, and more.
//!
//! ## Features
//!
//! - **User Information**: Get user profiles by username or ID
//! - **Tweet Operations**: Post tweets, reply to tweets, get specific tweets
//! - **Search**: Search for tweets with various filters
//! - **User Timeline**: Get a user's recent tweets
//! - **OAuth 1.0a**: Secure authentication with X API
//!
//! ## Usage
//!
//! ```rust,no_run
//! use x_mcp_server::XMcpServer;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create and run server (requires X_BEARER_TOKEN env var)
//! let server = XMcpServer::from_env()?;
//! server.run_stdio().await?;
//! Ok(())
//! }
//! ```
pub use XClient;
pub use ;
pub use XMcpServer;
/// Version of the X MCP Server
pub const VERSION: &str = env!;