BN

beyond-network-ai/beyond-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

13 stars 6 forks 质量 65 趋势 20MIT

An Extensible Model Context Protocol (MCP) server

概览

An extensible Model Context Protocol server that provides standardized access to social platform data and onchain data. Currently supports Farcaster (via Neynar API) with placeholder for Twitter integration. More platforms like Telegram including onchain data will be added soon. - : Fully implements the Model Context Protocol specification - : Designed to support multiple social media platforms - : Easy to add new platform providers - : Optimized context formatting for LLM consumption - : Supports both stdio and SSE/HTTP transports - : Full implementation via Neynar API - : Placeholder (not implemented) - Node.js 16+ - Neynar API key (for Farcaster access) https://neynar.com/ 4. Configure your environment variables - : Set NEYNAR_API_KEY in your .env file - You can obtain a Neynar API key from https://neynar.com/ - Without a valid API key, Farcaster functionality will not work 2. Make sure your .env file is properly configured with your API keys - The server will look for .

README

以下为原文 README 节选,完整内容请查看原文。

Beyond MCP Server

An extensible Model Context Protocol server that provides standardized access to social platform data and onchain data. Currently supports Farcaster (via Neynar API) with placeholder for Twitter integration. More platforms like Telegram including onchain data will be added soon.

Features

  • MCP Compliant: Fully implements the Model Context Protocol specification
  • Multi-Platform: Designed to support multiple social media platforms
  • Extensible: Easy to add new platform providers
  • Well-Formatted: Optimized context formatting for LLM consumption
  • Flexible Transport: Supports both stdio and SSE/HTTP transports

Supported Platforms

  • Farcaster: Full implementation via Neynar API
  • Twitter: Placeholder (not implemented)

Getting Started

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/yourusername/beyond-mcp-server.git
cd beyond-mcp-server
  1. Install dependencies
npm install
  1. Create a .env file from the template
cp .env.example .env
# Edit .env with your API keys
  1. Configure your environment variables

    • Required: Set NEYNAR_API_KEY in your .env file
    • You can obtain a Neynar API key from https://neynar.com/
    • Without a valid API key, Farcaster functionality will not work
  2. Build and start the server

npm run build
npm start  # For stdio mode (default)
# OR
npm run start:http  # For HTTP/SSE mode

Using with Claude for Desktop

  1. Build the server
npm run build
  1. Make sure your .env file is properly configured with your API keys

    • The server will look for .env in the following locations:
      • Current working directory
      • Project root directory
      • Parent directories (up to 3 levels)
    • You can also set environment variables directly in your system
  2. Add the server to your Claude Desktop configuration at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "beyond-social": {
      "command": "/usr/local/bin/node",
      "args": [
        "/full/path/to/beyond-mcp-server/dist/index.js",
        "--stdio"
      ]
    }
  }
}
  1. Alternatively, you can pass the API key and other environment variables directly in the Claude Desktop configuration (recommended):
{
  "mcpServers": {
    "beyond-social": {
      "command": "/usr/local/bin/node",
      "args": [
        "/full/path/to/beyond-mcp-server/dist/index.js",
        "--stdio"
      ],
      "env": {
        "NEYNAR_API_KEY": "YOUR_API_KEY_HERE",
        "ENABLE_FARCASTER": "true",
        "ENABLE_TWITTER": "false"
      }
    }
  }
}
  1. Restart Claude for Desktop

MCP Capabilities

Resources

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "beyond-social": { "command": "/usr/local/bin/node", "args": [ "/full/path/to/beyond-mcp-server/dist/index.js", "--stdio" ] } } }