Cover image
Try Now
2025-04-11

La integración de Futuur API MCP es un poderoso servidor basado en TypeScript que implementa el Protocolo de contexto del modelo (MCP) para una integración perfecta con la API Futuur. Este proyecto proporciona una interfaz robusta para manejar datos de mercado, categorías, información del usuario y operaciones de apuestas.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Futuur API MCP Integration

TypeScript Node.js

smithery badge

Overview

Futuur API MCP Integration is a powerful TypeScript-based server that implements the Model Context Protocol (MCP) for seamless integration with the Futuur API. This project provides a robust interface for handling market data, categories, user information, and betting operations.

Features

  • 🔄 Real-time market data integration
  • 📊 Category management
  • 👤 User profile handling
  • 🎲 Betting operations
  • 📚 Comprehensive documentation resources
  • 🛠️ Modular tool architecture

Prerequisites

  • Node.js (Latest LTS version recommended)
  • npm or yarn package manager

Installation

Prerequisites

  1. Install Node.js (LTS version) from nodejs.org
  2. Install one of the following:

Installation Steps

  1. Open your terminal and run one of the following commands based on your editor:

For Claude Desktop:

npx -y @smithery/cli install @futuur/futuur-mcp --client claude

For Cursor:

npx -y @smithery/cli install @futuur/futuur-mcp --client cursor

Manual Installation

If you prefer to install manually:

  1. Clone the repository:
git clone https://github.com/yourusername/futuur-api-mcp.git
cd futuur-api-mcp
  1. Install dependencies:
npm install

Project Structure

futuur-api-mcp/
├── src/
│   ├── tools/          # Tool implementations
│   ├── utils/          # Utility functions
│   └── index.ts        # Main server entry point
├── build/              # Compiled JavaScript output
├── package.json        # Project dependencies
├── package-lock.json   # Dependency lock file
├── tsconfig.json       # TypeScript configuration
└── .env               # Environment variables

Core Components

  • Market Tools: Handle market-related operations
  • Category Tools: Manage category data and operations
  • User Tools: Handle user-related functionality
  • Bet Tools: Process betting operations

Development

The project uses TypeScript for type safety and better development experience. The server implements the Model Context Protocol (MCP) using the official SDK.

Debug Mode

The server includes a debug mode that can be toggled by setting the DEBUG constant in index.ts. When enabled, it provides detailed logging information.

Dependencies

  • @modelcontextprotocol/sdk: Core MCP implementation
  • zod: Runtime type checking and validation

Integration

To integrate the MCP server with Cursor, follow these steps:

  1. Build the project:
npm run build
  1. Run the MCP server using Cursor:

Windows:

cmd /c npx mcprunner FUTUUR_PUBLIC_KEY=*YOUR_FUTUUR_PUBLIC_KEY* FUTUUR_PRIVATE_KEY=*YOUR_FUTUUR_PRIVATE_KEY* -- node C:/webapps/futuur-api-mcp/build/index.js

macOS/Linux:

npx mcprunner FUTUUR_PUBLIC_KEY=*YOUR_FUTUUR_PUBLIC_KEY* FUTUUR_PRIVATE_KEY=*YOUR_FUTUUR_PRIVATE_KEY* -- node C:/webapps/futuur-api-mcp/build/index.js

Make sure to replace *YOUR_FUTUUR_PUBLIC_KEY* and *YOUR_FUTUUR_PRIVATE_KEY* with your actual Futuur API credentials.

License

ISC

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For support, please open an issue in the GitHub repository or contact the development team.


Made with ❤️ by the Futuur Team

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • JackKuo666
  • 🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

    Reviews

    4 (1)
    Avatar
    user_03zu7s87
    2025-04-18

    As a dedicated user of Futuur-MCP, I can confidently say it significantly enhances prediction market experiences. The intuitive interface and seamless integration have made forecasting easier and more accurate. Futuur's development team has done a fantastic job with regular updates improving performance. Highly recommended for anyone interested in market predictions!