Warpcast MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Enables interaction with Warpcast (a Farcaster client), allowing for posting casts, reading casts from users, searching by keyword or hashtag, browsing and interacting with channels, following/unfollowing channels, and viewing trending content.
Warpcast MCP Server
A Model Context Protocol (MCP) server for Warpcast integration that allows you to use Claude to interact with your Warpcast account.
Features
- Post casts to your Warpcast account
- Read casts from Warpcast
- Search casts by keyword or hashtag
- Browse and interact with channels
- Follow/unfollow channels
- Get trending casts
Setup
- Clone this repositoryCopy
- Install dependenciesCopy
- Generate API Keys and Configure AuthenticationThis MCP server provides a helper script to generate the necessary Ed25519 key pair:Follow the prompts to:Copy
- Generate a random Ed25519 key pair
- Save the keys to your
.env
file - Get instructions for registering the key with Warpcast
Alternatively, if you prefer to set things up manually:
Option 1: Using Signed Key Requests
- Generate an Ed25519 key pair
- Use the Warpcast Signed Key Request API to ask for permission to sign messages on behalf of your account
- Complete the authorization in the Warpcast app
Here's an example implementation:
CopyOption 2: Using an Existing App Key
If you already have an App Key set up for your Farcaster account, you can use the FID, private key, and public key directly.
- Build the serverCopy
- Configure Claude for Desktop to use this server
Configuration with Claude for Desktop
Add the following to your claude_desktop_config.json
:
Replace /absolute/path/to/mcp-warpcast-server
with the actual absolute path to where you cloned this repository, and update the environment variables with your actual credentials.
Usage
Once configured, you can ask Claude to:
- "Post a cast about [topic]"
- "Read the latest casts from [username]"
- "Search for casts about [topic]"
- "Show me trending casts on Warpcast"
- "Show me popular channels on Warpcast"
- "Get casts from the [channel] channel"
- "Follow the [channel] channel for me"
Available Tools
This MCP server provides several tools that Claude can use:
- post-cast: Create a new post on Warpcast (max 320 characters)
- get-user-casts: Retrieve recent casts from a specific user
- search-casts: Search for casts by keyword or phrase
- get-trending-casts: Get the currently trending casts on Warpcast
- get-all-channels: List available channels on Warpcast
- get-channel: Get information about a specific channel
- get-channel-casts: Get casts from a specific channel
- follow-channel: Follow a channel
- unfollow-channel: Unfollow a channel
Authentication Notes
This server uses Warpcast's App Key authentication method, which requires an Ed25519 key pair registered with your Farcaster account. The authentication flow is:
- Create a header containing your FID and public key
- Create a payload with an expiration time
- Sign the header and payload using your private key
- Use the resulting token for API calls
In production applications, it's recommended to use the official Farcaster SDK for generating authentication tokens.
Security Considerations
- Keep your private key secure and never share it
- Consider rotating your keys periodically
- The server logs authentication errors to help with debugging
Troubleshooting
If you encounter issues:
- Check that your environment variables are set correctly
- Ensure your keys are properly registered with your Farcaster account
- Check Claude for Desktop logs for any errors
- Verify that your Warpcast account has the necessary permissions
License
MIT
This server cannot be installed
A Model Context Protocol server that allows Claude to interact with Warpcast accounts, enabling actions like posting casts, reading content, searching by keywords, and managing channel interactions through natural language.
- Features
- Setup
- Configuration with Claude for Desktop
- Usage
- Available Tools
- Authentication Notes
- Security Considerations
- Troubleshooting
- License