MF

manimohans/farcaster-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

2 stars 4 forks Качество 68 Тренд 4MIT

Сервер MCP, который предоставляет инструменты для взаимодействия с сетью Farcaster (farcaster.xyz), позволяя моделям ИИ извлекать слепки, искать каналы и анализировать контент.

Обзор

Сервер MCP, который предоставляет инструменты для взаимодействия с сетью Farcaster (farcaster.xyz), позволяя моделям ИИ извлекать слепки, искать каналы и анализировать контент. - : Retrieve casts from specific Farcaster user by FID - : Retrieve casts from specific Farcaster user by username - : Retrieve casts from specific Farcaster channel - : Get detailed profile information (bio, display name, pfp, etc.) - : Get likes and recasts for specific cast - : Browse and search Farcaster channels - : See who a user follows - : See who follows the user 1.Установите Claude для рабочего стола 2.Откройте конфигурацию приложения Claude для рабочего стола по адресу: - macOS: ~/Library/Application Support/Claude/claude desktop config.json - Windows: %APPDATA%\Claude\claude desktop config.json Этот проект включает в себя файлы конфигурации Smithery для простого развертывания: Доступные варианты клиентов: claude, cline, windsurf, roo-cline, witsy, enconvo Получает слепки от конкретного пользователя Farcaster по их FID (Farcaster ID).

Обзор (машинный перевод)

Сервер MCP, который предоставляет инструменты для взаимодействия с сетью Farcaster (farcaster.xyz), позволяя моделям ИИ извлекать слепки, искать каналы и анализировать контент.

Особенности

Получить пользовательский контент: Восстановление отливок от конкретного пользователя Farcaster по FID ** Получить имя пользователя : Восстановление отливок от конкретного пользователя Farcaster по имени пользователя Get Channel Casts: Retrieve casts from specific Farcaster channel (недоступная ссылка — история). Получить профиль пользователя: получить подробную информацию о профиле (био, отображаемое имя, pfp и т.д.) Get Cast Reactions: Get likes and recasts for a specific cast ** Список каналов: Просмотр и поиск каналов Farcaster **Получить пользователя **: посмотреть, кто пользователь следует Получить подписчиков: Кто следит за пользователем

##Установка

Использование

Запуск сервера

Использование с MCP-инспектором

Использование Claude для рабочего стола

1.Установка Claude для рабочего стола 2.Откройте свой Claude для конфигурации приложения Desktop по адресу:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Добавить следующую конфигурацию:

4.Перезагрузить Клода для рабочего стола

Использование со Смитери

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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)
Открыть полный README на GitHub

Установка

npx @modelcontextprotocol/inspector node ./build/index.js
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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