MF

manimohans/farcaster-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

2 stars 4 forks 品質 68 トレンド 4MIT

Farcasterネットワーク(farcaster.xyz)とやりとりするツールを提供するMCPサーバーは、AIモデルがキャストや検索チャネルを獲得し、コンテンツを分析できるようにします.

概要

Farcasterネットワーク(farcaster.xyz)とやりとりするツールを提供するMCPサーバーは、AIモデルがキャストや検索チャネルを獲得し、コンテンツを分析できるようにします。 - : 特定のFarcasterユーザーからFIDによってキャストを取得する - : 特定のFarcasterユーザーから特定のFarcasterユーザーからキャストを取得する - : 特定のFarcasterチャンネルからキャストを取得する - : 詳細なプロファイル情報を取得する (bio、表示名、pfpなど) - : 特定のキャストのいいねとrecastsを取得する - : ブラウザと検索Farcasterチャンネル - : ユーザーがフォローしているユーザーを参照してください - : ユーザーがフォローするユーザーを参照してください 1。 デスクトップ2用のClaudeをインストールします。デスクトップアプリの設定でClaudeを開きます。 - macOS:〜/ Library /アプリケーションサポート/Claude / claude desktop config.json - Windows:%APPDATA%\Claude\claude desktop config.json このプロジェクトには、Smisery の設定ファイルが含まれています。 利用可能なクライアントオプション: claude, cline, windsurf, roo-cline, witsy, enconvo FID(Farcaster ID)で特定のFarcasterユーザーからキャストを取得します.

概要(AI 翻訳)

Farcasterネットワーク(farcaster.xyz)とやりとりするツールを提供するMCPサーバーは、AIモデルがキャストや検索チャネルを獲得し、コンテンツを分析できるようにします。

##特徴

  • ユーザーキャストを入手: FIDで特定のFarcasterユーザーからキャストを取得する -ユーザー名キャストを取得する: ユーザー名で特定のFarcasterユーザーからキャストを取得する
  • チャンネルキャストを入手:特定のFarcasterチャンネルからキャストを取得する -ユーザープロファイル:詳細なプロファイル情報(bio、表示名、pfpなど)を取得する
  • キャストReactionsを取得:特定のキャストのいいねとrecastを入手
  • リスト チャネル: Farcasterチャンネルの閲覧と検索 -次のユーザー獲得: ユーザがフォローしているユーザーを参照してください。
  • ユーザーフォロワーの取得: ユーザーをフォローする

インストール

使用法

サーバーの実行

##MCPインスペクターで利用する

デスクトップ用のClaudeを使用して

  1. デスクトップ用のClaudeをインストールする 2。 デスクトップアプリの設定でClaudeを開きます。
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • ウィンドウ: %APPDATA%\Claude\claude_desktop_config.json
  1. 次の設定を追加します。

4。 デスクトップ用のClaudeを再起動する

##Smitheryで使う

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Farcaster MCP Server

An MCP server that provides tools to interact with the Farcaster network (farcaster.xyz), allowing AI models to fetch casts, search channels, and analyze content.

Features

  • Get User Casts: Retrieve casts from a specific Farcaster user by FID
  • Get Username Casts: Retrieve casts from a specific Farcaster user by username
  • Get Channel Casts: Retrieve casts from a specific Farcaster channel
  • Get User Profile: Get detailed profile information (bio, display name, pfp, etc.)
  • Get Cast Reactions: Get likes and recasts for a specific cast
  • List Channels: Browse and search Farcaster channels
  • Get User Following: See who a user follows
  • Get User Followers: See who follows a user

Installation

# Clone the repository
git clone https://github.com/manimohans/farcaster-mcp.git
cd farcaster-mcp

# Install dependencies
npm install

# Build the project
npm run build

Usage

Running the server

npm start

Using with MCP Inspector

npx @modelcontextprotocol/inspector node ./build/index.js

Using with Claude for Desktop

  1. Install Claude for Desktop

  2. Open your Claude for Desktop App configuration at:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the following configuration:

{
  "mcpServers": {
    "farcaster": {
      "command": "node",
      "args": ["/absolute/path/to/farcaster-mcp/build/index.js"]
    }
  }
}
  1. Restart Claude for Desktop

Using with Smithery

This project includes Smithery configuration files for easy deployment:

# Install Smithery CLI
npm install -g @smithery/cli

# Deploy to Smithery (specify the client, e.g., claude, cline, windsurf, etc.)
npx @smithery/cli install @manimohans/farcaster-mcp --client claude

Available client options: claude, cline, windsurf, roo-cline, witsy, enconvo

Available Tools

get-user-casts

Retrieves casts from a specific Farcaster user by their FID (Farcaster ID).

Parameters:

  • fid: Farcaster user ID (number)
  • limit (optional): Maximum number of casts to return (default: 10)

Example query: “Show me the latest casts from FID 6846.”

get-username-casts

Retrieves casts from a specific Farcaster user by their username.

Parameters:

  • username: Farcaster username (string)
  • limit (optional): Maximum number of casts to return (default: 10)

Example query: “Show me the latest casts from username ‘mani’.”

get-channel-casts

Retrieves casts from a specific Farcaster channel.

Parameters:

  • channel: Channel name or URL (string)
  • limit (optional): Maximum number of casts to return (default: 10)
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector node ./build/index.js
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "farcaster": { "command": "node", "args": ["/absolute/path/to/farcaster-mcp/build/index.js"] } } }