Ryft MCP

Ryft MCP

A Model Context Protocol server that enables interaction with the Ryft API to manage financial resources such as payment sessions, customers, and subscriptions. It supports comprehensive operations including payouts, disputes, and account-scoped requests through a secure stdio interface.

Category
Visit Server

README

Ryft MCP

ryft-mcp is a Model Context Protocol server for the Ryft API.

It gives MCP clients a clean stdio server for working with Ryft resources such as customers, payment sessions, subscriptions, webhooks, accounts, payouts, disputes, files, and more.

Features

  • stdio MCP server built with the official MCP SDK
  • remote Streamable HTTP entrypoint for hosted deployments
  • AWS Lambda handler for stateless MCP over HTTPS
  • Ryft API authentication via environment variables
  • structured Ryft API error responses
  • account-scoped requests with optional default account support
  • multipart file uploads
  • DELETE-with-body support for endpoints that require it
  • TypeScript, ESLint, unit tests, and build output ready for review or publishing

Tool Coverage

Current tool families include:

  • customers
  • paymentSessions
  • subscriptions
  • files
  • accounts
  • accountLinks
  • paymentMethods
  • webhooks
  • persons
  • payoutMethods
  • payouts
  • transfers
  • platformFees
  • events
  • disputes
  • balances

Requirements

  • Node.js 20+
  • a Ryft secret key

Installation

npm install

Build the server:

npm run build

Quick Start

Run the server locally over stdio:

RYFT_SECRET_KEY=your_secret_key npm run dev

Run the built server:

RYFT_SECRET_KEY=your_secret_key npm start

Run the hosted HTTP server locally:

RYFT_SECRET_KEY=your_secret_key PORT=8787 npm run dev:http

Optional environment variables:

  • RYFT_BASE_URL
    • defaults to the Ryft sandbox API base URL
  • RYFT_ACCOUNT_ID
    • default Account header for account-scoped operations

Health check:

RYFT_SECRET_KEY=your_secret_key node dist/index.js

HTTP health check:

curl http://127.0.0.1:8787/health

Example MCP Client Configuration

Example stdio configuration:

{
  "mcpServers": {
    "ryft": {
      "command": "node",
      "args": ["/absolute/path/to/ryft-mcp/dist/index.js"],
      "env": {
        "RYFT_SECRET_KEY": "your_secret_key"
      }
    }
  }
}

Example remote MCP configuration:

{
  "mcpServers": {
    "ryft": {
      "url": "https://ryft-mcp.bkawk.com/mcp"
    }
  }
}

Hosted Deployment

For hosted deployments, ryft-mcp now includes:

  • dist/http.js
    • local Node HTTP server for remote MCP testing
  • dist/lambda.js
    • AWS Lambda entrypoint
  • dist/lambda.js export
    • handler name is handler

The remote transport is configured as:

  • stateless Streamable HTTP
  • JSON responses enabled
  • no server-side MCP session persistence required

Build a Lambda zip artifact:

npm run build:lambda:zip

That produces:

.artifacts/ryft-mcp-lambda.zip

The zip includes:

  • dist/*
  • package.json

Recommended Lambda settings:

  • Runtime: nodejs22.x
  • Handler: dist/lambda.handler
  • Architecture: arm64
  • Environment variables:
    • RYFT_SECRET_KEY
    • optional RYFT_BASE_URL
    • optional RYFT_ACCOUNT_ID

High-level AWS CLI flow:

aws lambda create-function \
  --function-name ryft-mcp \
  --runtime nodejs22.x \
  --architectures arm64 \
  --handler dist/lambda.handler \
  --role arn:aws:iam::<account-id>:role/<lambda-exec-role> \
  --zip-file fileb://.artifacts/ryft-mcp-lambda.zip

Then place it behind either:

  • API Gateway HTTP API with a POST /mcp route and optional GET /health
  • Lambda Function URL if you want the smallest setup

For ChatGPT-compatible remote MCP, expose the HTTPS endpoint at /mcp.

Development

Install dependencies:

npm install

Run typecheck:

npm run check

Run lint:

npm run lint

Run tests:

npm test

Build:

npm run build

Security

ryft-mcp requires API credentials to be supplied by the caller through environment variables. The server will exit immediately if RYFT_SECRET_KEY is missing.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured