Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
No tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Connect APIs & services.
MCP server for using Alchemy APIs
Same catalog task: Connect APIs & services.
MCP server for using the AMap Maps API
Same catalog task: Connect APIs & services.
Official MCP server for Anytype API
Fetched from the repository for this visit.
Run a local MCP server that exposes the X API OpenAPI spec as tools using FastMCP. Streaming and webhook endpoints are excluded.
python -m venv .venvsource .venv/bin/activatepip install -r requirements.txt.env:
cp env.example .envX_OAUTH_CONSUMER_KEYX_OAUTH_CONSUMER_SECRETX_BEARER_TOKEN (required for this setup; keep it set even if using OAuth1)X_OAUTH_CALLBACK_HOST (default 127.0.0.1)X_OAUTH_CALLBACK_PORT (default 8976)X_OAUTH_CALLBACK_PATH (default /oauth/callback)X_OAUTH_CALLBACK_TIMEOUT (default 300)X_API_BASE_URL (default https://api.x.com)X_API_TIMEOUT (default 30)MCP_HOST (default 127.0.0.1)MCP_PORT (default 8000)X_API_DEBUG (default 1)X_API_TOOL_ALLOWLISTXAI_API_KEYXAI_MODEL (default grok-4-1-fast)MCP_SERVER_URL (default http://127.0.0.1:8000/mcp)CLIENT_IDCLIENT_SECRETX_OAUTH_ACCESS_TOKEN
- X_OAUTH_ACCESS_TOKEN_SECRET (optional)X_OAUTH_PRINT_TOKENSX_OAUTH_PRINT_AUTH_HEADERhttp://<X_OAUTH_CALLBACK_HOST>:<X_OAUTH_CALLBACK_PORT><X_OAUTH_CALLBACK_PATH>
Example (defaults):
http://127.0.0.1:8976/oauth/callback
python server.py
The MCP endpoint is http://127.0.0.1:8000/mcp by default.
http://127.0.0.1:8000/mcp.Use X_API_TOOL_ALLOWLIST to load a small, explicit set of tools:
X_API_TOOL_ALLOWLIST=getUsersByUsername,createPosts,searchPostsRecent
Whitelisting is applied at startup when the OpenAPI spec is loaded, so restart the server after changes. See the full tool list below before building your allowlist.
On startup, the server opens a browser for OAuth1 consent and waits for the
callback. Tokens are kept in memory only for the lifetime of the server
process. Set X_OAUTH_PRINT_TOKENS=1 to print tokens, or
X_OAUTH_PRINT_AUTH_HEADER=1 to print request headers.
Below is the full list of tool calls you can whitelist via
X_API_TOOL_ALLOWLIST. Copy any of these into your .env allowlist.
addListsMemberaddUserPublicKeyappendMediaUploadblockUsersDmscreateCommunityNotescreateComplianceJobscreateDirectMessagesByConversationIdcreateDirectMessagesByParticipantIdcreateDirectMessagesConversationcreateListscreateMediaMetadatacreateMediaSubtitlescreatePostscreateUsersBookmarkdeleteActivitySubscriptiondeleteAllConnectionsdeleteCommunityNotesdeleteConnectionsByEndpointdeleteConnectionsByUuidsdeleteDirectMessagesEventsdeleteListsdeleteMediaSubtitlesdeletePostsdeleteUsersBookmarkevaluateCommunityNotesfinalizeMediaUploadfollowListfollowUsergetAccountActivitySubscriptionCountgetActivitySubscriptionsgetChatConversationgetChatConversationsgetCommunitiesByIdgetComplianceJobsgetComplianceJobsByIdgetConnectionHistorygetDirectMessagesEventsgetDirectMessagesEventsByConversationIdgetDirectMessagesEventsByIdgetDirectMessagesEventsByParticipantIdgetInsights28HrgetInsightsHistoricalgetListsByIdgetListsFollowersgetListsMembersgetListsPostsgetMarketplaceHandleAvailabilitygetMediaAnalyticsgetMediaByMediaKeygetMediaByMediaKeysgetMediaUploadStatusgetNewsgetOpenApiSpecgetPostsAnalyticsgetPostsByIdgetPostsByIdsgetPostsCountsAllgetPostsCountsRecentgetPostsLikingUsersgetPostsQuotedPostsgetPostsRepostedBygetPostsRepostsgetSpacesBuyersgetSpacesByCreatorIdsgetSpacesByIdgetSpacesByIdsgetSpacesPostsgetTrendsByWoeidgetTrendsPersonalizedTrendsgetUsagegetUserPublicKeysgetUsersAffiliatesgetUsersBlockinggetUsersBookmarkFoldersgetUsersBookmarksgetUsersBookmarksByFolderIdgetUsersByIdgetUsersByIdsgetUsersByUsernamegetUsersByUsernamesgetUsersFollowedListsgetUsersFollowersgetUsersFollowinggetUsersLikedPostsgetUsersListMembershipsgetUsersMegetUsersMentionsgetUsersMutinggetUsersOwnedListsgetUsersPinnedListsgetUsersPostsgetUsersRepostsOfMegetUsersTimelinehidePostsReplyinitializeMediaUploadlikePostmediaUploadmuteUserpinListremoveListsMemberByUserIdrepostPostsearchCommunitiessearchCommunityNotesWrittensearchEligiblePostssearchNewssearchPostsAllsearchPostsRecentsearchSpacessearchUserssendChatMessageunblockUsersDmsunfollowListunfollowUserunlikePostunmuteUserunpinListunrepostPostupdateActivitySubscriptionupdateListsCLIENT_ID and CLIENT_SECRET to your .env.redirect_uri in generate_authtoken.py to match your app settings.python generate_authtoken.py and follow the prompts..env as X_OAUTH_ACCESS_TOKEN.
If your flow returns a secret, store it as X_OAUTH_ACCESS_TOKEN_SECRET.XAI_API_KEY in .env.MCP_SERVER_URL).MCP_SERVER_URL to the public HTTPS URL that ends with /mcp.
Example flow: ngrok http 8000 then MCP_SERVER_URL=https://<id>.ngrok-free.dev/mcp.python test_grok_mcp.py./stream or /webhooks in the path are excluded.Stream or Webhooks, or marked with
x-twitter-streaming: true, are excluded.https://api.twitter.com/2/openapi.json at
startup.Loading reviews...
GitHub checked 256h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.