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.

Farcaster MCP 服务器

MCP 服务器提供与 Farcaster 网络 ( farcaster.xyz ) 交互的工具,允许 AI 模型获取演员阵容、搜索频道和分析内容。

特征

  • 获取用户广播:通过 FID 检索特定 Farcaster 用户的广播
  • 获取用户名 Casts :通过用户名检索特定 Farcaster 用户的 Casts
  • 获取频道广播:从特定的 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

可用工具

获取用户角色

通过 FID(Farcaster ID)检索特定 Farcaster 用户的广播。

参数:

  • fid :Farcaster 用户 ID(数字)
  • limit (可选):返回的最大转换次数(默认值:10)

示例查询:“显示 FID 6846 的最新演员表。”

获取用户名转换

根据用户名检索特定 Farcaster 用户的广播。

参数:

  • username :Farcaster 用户名(字符串)
  • limit (可选):返回的最大转换次数(默认值:10)

示例查询:“显示用户名为‘mani’的最新演员表。”

获取频道广播

从特定的 Farcaster 频道检索广播。

参数:

  • channel :频道名称或 URL(字符串)
  • limit (可选):返回的最大转换次数(默认值:10)

示例查询:“显示‘aichannel’频道的最新广播节目。”

Smithery 配置

此存储库包含 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