Skip to main content
Glama

rapidapi

by SecurFi
server.py418 B
from fastmcp import FastMCP from twitter_crawler import TwitterCrawler twitter_crawler = TwitterCrawler() mcp = FastMCP("RapidAPI") @mcp.tool() def get_user_recent_tweets(username: str) -> list: data = twitter_crawler.get_timeline(username) new_tweets = twitter_crawler.clean_tweet_data( data['timeline'], data.get('prev_cursor'), data.get('next_cursor') ) return new_tweets

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SecurFi/RapidAPI_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server