Skip to main content
Glama
manimohans

Farcaster MCP Server

by manimohans

Farcaster MCP 服务器

铁匠徽章

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

特征

  • 获取用户广播:通过 FID 检索特定 Farcaster 用户的广播

  • 获取用户名 Casts :通过用户名检索特定 Farcaster 用户的 Casts

  • 获取频道广播:从特定的 Farcaster 频道检索广播

Related MCP server: Jira MCP Server

安装

# 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

执照

麻省理工学院

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

Latest Blog Posts

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/manimohans/farcaster-mcp'

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