Cover image
Try Now
2025-04-11

Futuur API MCP Integration是一款强大的基于打字稿的服务器,它实现了与Futuur API无缝集成的模型上下文协议(MCP)。该项目为处理市场数据,类别,用户信息和投注操作提供了强大的接口。

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.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • 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!

  • Lists Tailwind CSS classes in monospaced font

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

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

  • 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.

  • 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
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • JackKuo666
  • 🔍使AI助手可以通过简单的MCP接口搜索和访问PYPI软件包信息。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

    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!