{
  "slug": "io-github-role1776-mcp-x",
  "name": "io.github.Role1776/mcp-x",
  "title": "X (Twitter)",
  "description": "Search, read and publish X posts and manage users, lists and media via the X API v2.",
  "version": "0.1.1",
  "publishedAt": "2026-09-09T12:47:44.590542Z",
  "updatedAt": "2026-09-09T12:47:44.590542Z",
  "repoUrl": "https://github.com/Role1776/mcp-x",
  "websiteUrl": "https://github.com/Role1776/mcp-x#readme",
  "namespace": {
    "type": "github",
    "owner": "Role1776"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "oci",
      "identifier": "ghcr.io/role1776/mcp-x:0.1.1",
      "version": null,
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_darwin_amd64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_darwin_arm64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_linux_amd64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_linux_arm64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_windows_amd64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/Role1776/mcp-x/releases/download/v0.1.1/mcp-x_0.1.1_windows_arm64.mcpb",
      "version": "0.1.1",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "X_API_KEY",
      "isSecret": true,
      "isRequired": true,
      "description": "OAuth 1.0a consumer key. developer.x.com -> your project -> your app -> Keys and tokens."
    },
    {
      "name": "X_API_KEY_SECRET",
      "isSecret": true,
      "isRequired": true,
      "description": "OAuth 1.0a consumer secret, issued together with X_API_KEY."
    },
    {
      "name": "X_ACCESS_TOKEN",
      "isSecret": true,
      "isRequired": true,
      "description": "User access token. Set the app permissions to Read and Write BEFORE generating it: a token keeps the permissions it was created with, and a read-only one fails every write until it is regenerated."
    },
    {
      "name": "X_ACCESS_TOKEN_SECRET",
      "isSecret": true,
      "isRequired": true,
      "description": "User access token secret, issued together with X_ACCESS_TOKEN."
    },
    {
      "name": "MEDIA_ROOT",
      "isSecret": false,
      "isRequired": true,
      "description": "Absolute path to an existing directory - the only one x_media_upload may read files from. Anything outside it is refused, symlinks included. Checked at startup."
    },
    {
      "name": "MCP_TRANSPORT",
      "isSecret": false,
      "isRequired": false,
      "description": "stdio (client spawns the process) or http (streamable HTTP listener)."
    },
    {
      "name": "MCP_NAME",
      "isSecret": false,
      "isRequired": false,
      "description": "Server name reported in the MCP initialize handshake."
    },
    {
      "name": "MCP_PATH",
      "isSecret": false,
      "isRequired": false,
      "description": "HTTP path the MCP endpoint is served on. Used only when MCP_TRANSPORT=http."
    },
    {
      "name": "SERVER_PORT",
      "isSecret": false,
      "isRequired": false,
      "description": "TCP port to listen on. Used only when MCP_TRANSPORT=http."
    },
    {
      "name": "SERVER_READ_TIMEOUT",
      "isSecret": false,
      "isRequired": false,
      "description": "HTTP read timeout as a Go duration. Used only when MCP_TRANSPORT=http."
    },
    {
      "name": "SERVER_WRITE_TIMEOUT",
      "isSecret": false,
      "isRequired": false,
      "description": "HTTP write timeout as a Go duration. Used only when MCP_TRANSPORT=http."
    },
    {
      "name": "LOG_MODE",
      "isSecret": false,
      "isRequired": false,
      "description": "local (text, debug) or prod (JSON, info). Logs go to stderr."
    },
    {
      "name": "MAX_IDLE_CONNS_PER_HOST",
      "isSecret": false,
      "isRequired": false,
      "description": "Idle connections the outbound HTTP client keeps per host."
    },
    {
      "name": "X_DEBUG",
      "isSecret": false,
      "isRequired": false,
      "description": "Log the raw requests sent to the X API. Verbose; the output can contain request details, so keep it off outside debugging."
    },
    {
      "name": "POSTS_MAX_QUERIES",
      "isSecret": false,
      "isRequired": false,
      "description": "Queries accepted in one x_posts_search or x_posts_count call."
    },
    {
      "name": "POSTS_MAX_USERNAMES",
      "isSecret": false,
      "isRequired": false,
      "description": "Usernames accepted in one x_posts_by_user call."
    },
    {
      "name": "POSTS_MAX_IDS",
      "isSecret": false,
      "isRequired": false,
      "description": "Post ids accepted in one x_posts_lookup call. The X API caps this at 100."
    },
    {
      "name": "POSTS_DEFAULT_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Posts returned per query when the call does not ask for a count. Every post returned is billed."
    },
    {
      "name": "POSTS_MAX_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Upper bound for posts per query. The X API caps this at 100."
    },
    {
      "name": "POSTS_DEFAULT_DAYS",
      "isSecret": false,
      "isRequired": false,
      "description": "How far back post searches look when the call does not say, in days."
    },
    {
      "name": "POSTS_MAX_DAYS",
      "isSecret": false,
      "isRequired": false,
      "description": "Furthest back a post search may look, in days. Recent search cannot exceed 7."
    },
    {
      "name": "POSTS_DEFAULT_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Timeout for a posts call in milliseconds when the call does not request one."
    },
    {
      "name": "POSTS_MIN_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Lowest timeout a posts call may request, in milliseconds."
    },
    {
      "name": "POSTS_MAX_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Highest timeout a posts call may request, in milliseconds."
    },
    {
      "name": "USERS_MAX_USERNAMES",
      "isSecret": false,
      "isRequired": false,
      "description": "Usernames accepted in one x_users_lookup call. The X API caps this at 100."
    },
    {
      "name": "USERS_MAX_IDS",
      "isSecret": false,
      "isRequired": false,
      "description": "User ids accepted in one x_users_lookup call. The X API caps this at 100."
    },
    {
      "name": "USERS_DEFAULT_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Users returned per page when the call does not ask for a count."
    },
    {
      "name": "USERS_MAX_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Upper bound for users per page."
    },
    {
      "name": "USERS_DEFAULT_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Timeout for a users call in milliseconds when the call does not request one."
    },
    {
      "name": "USERS_MIN_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Lowest timeout a users call may request, in milliseconds."
    },
    {
      "name": "USERS_MAX_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Highest timeout a users call may request, in milliseconds."
    },
    {
      "name": "LISTS_DEFAULT_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Items returned per list page when the call does not ask for a count."
    },
    {
      "name": "LISTS_MAX_RESULTS",
      "isSecret": false,
      "isRequired": false,
      "description": "Upper bound for items per list page. The X API caps this at 100."
    },
    {
      "name": "LISTS_DEFAULT_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Timeout for a lists call in milliseconds when the call does not request one."
    },
    {
      "name": "LISTS_MIN_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Lowest timeout a lists call may request, in milliseconds."
    },
    {
      "name": "LISTS_MAX_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Highest timeout a lists call may request, in milliseconds."
    },
    {
      "name": "MEDIA_CHUNK_BYTES",
      "isSecret": false,
      "isRequired": false,
      "description": "Bytes per upload segment. The X APPEND endpoint caps a segment at 5 MB."
    },
    {
      "name": "MEDIA_POLL_INTERVAL_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "How often the upload status is polled while X transcodes a video, in milliseconds."
    },
    {
      "name": "MEDIA_DEFAULT_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Timeout for a whole upload in milliseconds when the call does not request one."
    },
    {
      "name": "MEDIA_MIN_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Lowest timeout an upload may request, in milliseconds."
    },
    {
      "name": "MEDIA_MAX_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Highest timeout an upload may request, in milliseconds."
    }
  ],
  "category": "search-web",
  "subcategory": "news-social",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/Role1776/mcp-x"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "warn",
      "detail": "Asks for 4 secrets: X_API_KEY, X_API_KEY_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account Role1776"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 1 files in the bundle: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 1 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (oci)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"mcp-x\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"X_API_KEY\",\n        \"-e\",\n        \"X_API_KEY_SECRET\",\n        \"-e\",\n        \"X_ACCESS_TOKEN\",\n        \"-e\",\n        \"X_ACCESS_TOKEN_SECRET\",\n        \"-e\",\n        \"MEDIA_ROOT\",\n        \"ghcr.io/role1776/mcp-x:0.1.1\"\n      ],\n      \"env\": {\n        \"X_API_KEY\": \"<your value>\",\n        \"X_API_KEY_SECRET\": \"<your value>\",\n        \"X_ACCESS_TOKEN\": \"<your value>\",\n        \"X_ACCESS_TOKEN_SECRET\": \"<your value>\",\n        \"MEDIA_ROOT\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 2,
  "archived": false,
  "pushedAt": "2026-09-10T09:03:40Z",
  "health": {
    "score": 43,
    "parts": {
      "popularity": 0.11093129934418568,
      "activity": 0.6148904789516009,
      "issues": null,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 2,
      "forks": 1,
      "downloads": null,
      "hn": null,
      "issuesOpen": 0,
      "issuesClosed": 0,
      "prsMerged": 0,
      "commits90": 3,
      "release": "2026-09-09T12:42:39Z",
      "pushed": "2026-09-10T09:03:40Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
