Farcaster 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

  • Allows to fetch casts (posts) from users and channels on the Farcaster network, search channels, and analyze content.

ファーキャスター MCP サーバー

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

特徴

  • ユーザーキャストの取得: FID で特定の Farcaster ユーザーからのキャストを取得します。
  • ユーザー名キャストの取得: ユーザー名で特定の Farcaster ユーザーからのキャストを取得します。
  • チャンネルキャストの取得: 特定の Farcaster チャンネルからキャストを取得します

インストール

# 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

使用法

サーバーの実行

npm start

MCP Inspectorと併用

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

Claude for Desktop と併用

  1. デスクトップ版Claudeをインストールする
  2. 次の場所で Claude for Desktop App の構成を開きます:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. 次の構成を追加します。
{ "mcpServers": { "farcaster": { "command": "node", "args": ["/absolute/path/to/farcaster-mcp/build/index.js"] } } }
  1. デスクトップ版のClaudeを再起動する

Smitheryと併用

このプロジェクトには、簡単に展開できるように Smithery 構成ファイルが含まれています。

# 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

利用可能なクライアントオプション: claude、cline、windsurf、roo-cline、witsy、enconvo

利用可能なツール

ユーザーキャストの取得

特定の Farcaster ユーザーからのキャストを FID (Farcaster ID) で取得します。

パラメータ:

  • fid : Farcaster ユーザー ID (数値)
  • limit (オプション): 返されるキャストの最大数 (デフォルト: 10)

クエリの例:「FID 6846 からの最新のキャストを表示してください。」

ユーザー名キャストの取得

特定の Farcaster ユーザーからのキャストをユーザー名で取得します。

パラメータ:

  • username : Farcasterのユーザー名(文字列)
  • limit (オプション): 返されるキャストの最大数 (デフォルト: 10)

クエリの例:「ユーザー名「mani」の最新のキャストを表示してください。」

チャンネルキャストを取得する

特定の Farcaster チャネルからキャストを取得します。

パラメータ:

  • channel : チャンネル名またはURL(文字列)
  • limit (オプション): 返されるキャストの最大数 (デフォルト: 10)

クエリの例: 「「aichannel」チャンネルの最新のキャストを表示してください。」

鍛冶屋の構成

このリポジトリには、Smithery に必要な構成ファイルが含まれています。

  • smithery.yaml : Smithery デプロイメント用の YAML 構成
  • smithery.json : Smithery 機能の JSON 設定
  • Dockerfile : Smithery デプロイメント用のコンテナ構成

APIの詳細

この実装では、Farcaster Hubble API を使用してデータを取得します。

発達

# Run in development mode npm run dev

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Farcaster ネットワークと対話するためのツールを提供し、AI モデルがキャストを取得し、チャンネルを検索し、コンテンツを分析できるようにします。

  1. Features
    1. Installation
      1. Usage
        1. Running the server
        2. Using with MCP Inspector
        3. Using with Claude for Desktop
        4. Using with Smithery
        5. Available Tools
      2. Smithery Configuration
        1. API Details
          1. Development
            1. License
              ID: koo5epnlc7