MCP cover image
See in Github
2024-12-14

Miroir dehttps: //github.com/0xtotaylor/mcp-server-skyfire

0

Github Watches

1

Github Forks

0

Github Stars

mcp-server-skyfire

A Model Context Protocol (MCP) server implementation that interfaces with the Skyfire payment system. This server enables AI models to make payments through Skyfire's infrastructure using a standardized protocol.

Overview

This server implements the Model Context Protocol to provide payment functionality via Skyfire's API. It exposes a single tool, make_payment, which allows authorized clients to initiate payments to Skyfire users.

Prerequisites

  • Node.js (ES2022 compatible)
  • TypeScript
  • A valid Skyfire API key

Installation

  1. Clone the repository:
git clone <repository-url>
cd mcp-server-skyfire
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add your Skyfire API key:
SKYFIRE_API_KEY=your_api_key_here

Building

To build the project:

npm run build

This will:

  • Compile TypeScript to JavaScript
  • Make the output file executable
  • Place the built files in the ./build directory

Features

The server exposes one tool through the MCP interface:

make_payment

Makes a payment to a specified Skyfire user.

Parameters:

  • receiverUsername (string): The username of the payment recipient
  • amount (string): The payment amount

Example Response:

{
  "content": [
    {
      "type": "text",
      "text": "Payment of [amount] successfully sent to [username]"
    }
  ]
}

Error Handling

The server implements comprehensive error handling for various scenarios:

  • Invalid tool name: Returns MethodNotFound error
  • Missing or invalid parameters: Returns InvalidParams error
  • Payment processing failures: Returns InternalError error

Dependencies

Main dependencies include:

  • @modelcontextprotocol/sdk: ^1.0.3
  • @skyfire-xyz/skyfire-sdk: ^0.8.5
  • dotenv: ^16.4.7
  • zod: ^3.24.1

Development

The project is set up with TypeScript and includes:

  • Strict type checking
  • ES2022 target
  • Node16 module resolution
  • Consistent file casing enforcement

Running the Server

The server runs on standard input/output (stdio). After building, you can run it using:

./build/index.js

Or through the npm binary:

mcp-server-skyfire

相关推荐

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

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

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

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

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

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

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

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

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

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

    Reviews

    5 (1)
    Avatar
    user_K2OGV05X
    2025-04-16

    As a dedicated user of the MCP application, I am highly impressed with the 0xtotaylor_mcp-server-skyfire by MCP-Mirror. This product has brought tremendous value to my workflow with its robust and reliable server capabilities. The seamless integration and impressive performance make it a standout in the market. Highly recommended! For more information, visit the official page: [MCP-Mirror Server](https://github.com/MCP-Mirror/0xtotaylor_mcp-server-skyfire).