Koskamo

x-mcp-ai MCP

A community MCP server exposing the X (Twitter) API v2 as 41 typed tools. It features a two-axis policy model for access control, cost awareness with session credit budgets to prevent overspending, and supports reading posts, searching, engaging, publishing, and managing DMs.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

x-mcp-ai MCP logo, by IvanBBaevCommunity listingLocal stdioSource reviewed; not executedPublished by IvanBBaev
You need:Pin an exact version while the project is on 0.x
Vendor documentation

What you can do with it

  • Search recent tweets using natural language queries
  • Like or retweet specific posts via engagement tools
  • Create new posts with built-in cost tracking

Source and maintenance

Community listingRegistry 0.8.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

x-mcp-ai 0.8.0

npmnpx
x-mcp-ai package definition
{
  "version": "0.8.0",
  "transport": "stdio",
  "identifier": "x-mcp-ai",
  "runtimeHint": "npx",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "X_MCP_AUTH_MODE",
      "format": "string",
      "description": "Authentication mode: oauth2 (default) or app-only."
    },
    {
      "name": "X_MCP_CLIENT_ID",
      "format": "string",
      "description": "OAuth 2.0 client ID (oauth2 mode)."
    },
    {
      "name": "X_MCP_CLIENT_SECRET",
      "format": "string",
      "description": "OAuth 2.0 client secret (confidential clients only)."
    },
    {
      "name": "X_MCP_BEARER_TOKEN",
      "format": "string",
      "description": "Application-only bearer token (app-only mode)."
    },
    {
      "name": "X_MCP_TOKEN_FILE",
      "format": "string",
      "description": "Path to the rotating OAuth 2.0 token store (default: OS-resolved)."
    },
    {
      "name": "X_MCP_TOKEN_KEYCHAIN",
      "format": "string",
      "description": "Set to 1 to keep OAuth 2.0 tokens in the OS keychain (macOS, Linux) instead of a token file. Mutually exclusive with an explicit X_MCP_TOKEN_FILE."
    },
    {
      "name": "X_MCP_POLICY",
      "format": "string",
      "description": "Policy preset: read-only (default), engage, publish, manage, or full."
    },
    {
      "name": "X_MCP_POLICY_ALLOW",
      "format": "string",
      "description": "Comma-separated op:domain cells to allow on top of the preset (e.g. read:dm,write:dm)."
    },
    {
      "name": "X_MCP_POLICY_DENY",
      "format": "string",
      "description": "Comma-separated op:domain cells to deny; deny beats allow beats preset."
    },
    {
      "name": "X_MCP_HIDE_DENIED",
      "format": "string",
      "description": "Set to 1 to drop policy-denied tools from registration entirely instead of registering them annotated as denied."
    },
    {
      "name": "X_MCP_MEDIA_DIR",
      "format": "string",
      "description": "Directory uploads must resolve inside. Media upload is disabled unless this is set."
    },
    {
      "name": "X_MCP_AVAILABILITY",
      "format": "string",
      "description": "Comma-separated specially-provisioned access classes to declare: pilot, premium-user, enterprise. Unset means the conservative default (app+user, user-only)."
    },
    {
      "name": "X_MCP_PROFILES_FILE",
      "format": "string",
      "description": "Path to a profiles file holding named configuration blocks."
    },
    {
      "name": "X_MCP_PROFILE",
      "format": "string",
      "description": "Name of the profile to select from the profiles file."
    },
    {
      "name": "X_MCP_TIMEOUT_MS",
      "format": "string",
      "description": "Per-HTTP-request timeout in milliseconds (default 30000)."
    },
    {
      "name": "X_MCP_LOG_LEVEL",
      "format": "string",
      "description": "Diagnostic verbosity on stderr: silent, error, info (default), or debug."
    },
    {
      "name": "X_MCP_CREDIT_BUDGET",
      "format": "string",
      "description": "Session spend cap in USD."
    },
    {
      "name": "X_MCP_BUDGET_MODE",
      "format": "string",
      "description": "Budget enforcement: warn (default) or hard."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "x-mcp-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x-mcp-ai@0.8.0"
      ],
      "env": {
        "X_MCP_AUTH_MODE": "<YOUR_X_MCP_AUTH_MODE>",
        "X_MCP_CLIENT_ID": "<YOUR_X_MCP_CLIENT_ID>",
        "X_MCP_CLIENT_SECRET": "<YOUR_X_MCP_CLIENT_SECRET>",
        "X_MCP_BEARER_TOKEN": "<YOUR_X_MCP_BEARER_TOKEN>",
        "X_MCP_TOKEN_FILE": "<YOUR_X_MCP_TOKEN_FILE>",
        "X_MCP_TOKEN_KEYCHAIN": "<YOUR_X_MCP_TOKEN_KEYCHAIN>",
        "X_MCP_POLICY": "<YOUR_X_MCP_POLICY>",
        "X_MCP_POLICY_ALLOW": "<YOUR_X_MCP_POLICY_ALLOW>",
        "X_MCP_POLICY_DENY": "<YOUR_X_MCP_POLICY_DENY>",
        "X_MCP_HIDE_DENIED": "<YOUR_X_MCP_HIDE_DENIED>",
        "X_MCP_MEDIA_DIR": "<YOUR_X_MCP_MEDIA_DIR>",
        "X_MCP_AVAILABILITY": "<YOUR_X_MCP_AVAILABILITY>",
        "X_MCP_PROFILES_FILE": "<YOUR_X_MCP_PROFILES_FILE>",
        "X_MCP_PROFILE": "<YOUR_X_MCP_PROFILE>",
        "X_MCP_TIMEOUT_MS": "<YOUR_X_MCP_TIMEOUT_MS>",
        "X_MCP_LOG_LEVEL": "<YOUR_X_MCP_LOG_LEVEL>",
        "X_MCP_CREDIT_BUDGET": "<YOUR_X_MCP_CREDIT_BUDGET>",
        "X_MCP_BUDGET_MODE": "<YOUR_X_MCP_BUDGET_MODE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "x-mcp-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x-mcp-ai@0.8.0"
      ],
      "env": {
        "X_MCP_AUTH_MODE": "<YOUR_X_MCP_AUTH_MODE>",
        "X_MCP_CLIENT_ID": "<YOUR_X_MCP_CLIENT_ID>",
        "X_MCP_CLIENT_SECRET": "<YOUR_X_MCP_CLIENT_SECRET>",
        "X_MCP_BEARER_TOKEN": "<YOUR_X_MCP_BEARER_TOKEN>",
        "X_MCP_TOKEN_FILE": "<YOUR_X_MCP_TOKEN_FILE>",
        "X_MCP_TOKEN_KEYCHAIN": "<YOUR_X_MCP_TOKEN_KEYCHAIN>",
        "X_MCP_POLICY": "<YOUR_X_MCP_POLICY>",
        "X_MCP_POLICY_ALLOW": "<YOUR_X_MCP_POLICY_ALLOW>",
        "X_MCP_POLICY_DENY": "<YOUR_X_MCP_POLICY_DENY>",
        "X_MCP_HIDE_DENIED": "<YOUR_X_MCP_HIDE_DENIED>",
        "X_MCP_MEDIA_DIR": "<YOUR_X_MCP_MEDIA_DIR>",
        "X_MCP_AVAILABILITY": "<YOUR_X_MCP_AVAILABILITY>",
        "X_MCP_PROFILES_FILE": "<YOUR_X_MCP_PROFILES_FILE>",
        "X_MCP_PROFILE": "<YOUR_X_MCP_PROFILE>",
        "X_MCP_TIMEOUT_MS": "<YOUR_X_MCP_TIMEOUT_MS>",
        "X_MCP_LOG_LEVEL": "<YOUR_X_MCP_LOG_LEVEL>",
        "X_MCP_CREDIT_BUDGET": "<YOUR_X_MCP_CREDIT_BUDGET>",
        "X_MCP_BUDGET_MODE": "<YOUR_X_MCP_BUDGET_MODE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "x-mcp-ai-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x-mcp-ai@0.8.0"
      ],
      "env": {
        "X_MCP_AUTH_MODE": "<YOUR_X_MCP_AUTH_MODE>",
        "X_MCP_CLIENT_ID": "<YOUR_X_MCP_CLIENT_ID>",
        "X_MCP_CLIENT_SECRET": "<YOUR_X_MCP_CLIENT_SECRET>",
        "X_MCP_BEARER_TOKEN": "<YOUR_X_MCP_BEARER_TOKEN>",
        "X_MCP_TOKEN_FILE": "<YOUR_X_MCP_TOKEN_FILE>",
        "X_MCP_TOKEN_KEYCHAIN": "<YOUR_X_MCP_TOKEN_KEYCHAIN>",
        "X_MCP_POLICY": "<YOUR_X_MCP_POLICY>",
        "X_MCP_POLICY_ALLOW": "<YOUR_X_MCP_POLICY_ALLOW>",
        "X_MCP_POLICY_DENY": "<YOUR_X_MCP_POLICY_DENY>",
        "X_MCP_HIDE_DENIED": "<YOUR_X_MCP_HIDE_DENIED>",
        "X_MCP_MEDIA_DIR": "<YOUR_X_MCP_MEDIA_DIR>",
        "X_MCP_AVAILABILITY": "<YOUR_X_MCP_AVAILABILITY>",
        "X_MCP_PROFILES_FILE": "<YOUR_X_MCP_PROFILES_FILE>",
        "X_MCP_PROFILE": "<YOUR_X_MCP_PROFILE>",
        "X_MCP_TIMEOUT_MS": "<YOUR_X_MCP_TIMEOUT_MS>",
        "X_MCP_LOG_LEVEL": "<YOUR_X_MCP_LOG_LEVEL>",
        "X_MCP_CREDIT_BUDGET": "<YOUR_X_MCP_CREDIT_BUDGET>",
        "X_MCP_BUDGET_MODE": "<YOUR_X_MCP_BUDGET_MODE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "x-mcp-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x-mcp-ai@0.8.0"
      ],
      "env": {
        "X_MCP_AUTH_MODE": "<YOUR_X_MCP_AUTH_MODE>",
        "X_MCP_CLIENT_ID": "<YOUR_X_MCP_CLIENT_ID>",
        "X_MCP_CLIENT_SECRET": "<YOUR_X_MCP_CLIENT_SECRET>",
        "X_MCP_BEARER_TOKEN": "<YOUR_X_MCP_BEARER_TOKEN>",
        "X_MCP_TOKEN_FILE": "<YOUR_X_MCP_TOKEN_FILE>",
        "X_MCP_TOKEN_KEYCHAIN": "<YOUR_X_MCP_TOKEN_KEYCHAIN>",
        "X_MCP_POLICY": "<YOUR_X_MCP_POLICY>",
        "X_MCP_POLICY_ALLOW": "<YOUR_X_MCP_POLICY_ALLOW>",
        "X_MCP_POLICY_DENY": "<YOUR_X_MCP_POLICY_DENY>",
        "X_MCP_HIDE_DENIED": "<YOUR_X_MCP_HIDE_DENIED>",
        "X_MCP_MEDIA_DIR": "<YOUR_X_MCP_MEDIA_DIR>",
        "X_MCP_AVAILABILITY": "<YOUR_X_MCP_AVAILABILITY>",
        "X_MCP_PROFILES_FILE": "<YOUR_X_MCP_PROFILES_FILE>",
        "X_MCP_PROFILE": "<YOUR_X_MCP_PROFILE>",
        "X_MCP_TIMEOUT_MS": "<YOUR_X_MCP_TIMEOUT_MS>",
        "X_MCP_LOG_LEVEL": "<YOUR_X_MCP_LOG_LEVEL>",
        "X_MCP_CREDIT_BUDGET": "<YOUR_X_MCP_CREDIT_BUDGET>",
        "X_MCP_BUDGET_MODE": "<YOUR_X_MCP_BUDGET_MODE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like x-mcp-ai MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.