Serverless middleware for AI agent handoffs with built-in Stripe metered billing. Works with LangChain, CrewAI, and AutoGen. Per-handoff billing at USD 0.001.
claude mcp add agent-handoff -- uvx agent-handoff{
"mcpServers": {
"agent-handoff": {
"command": "uvx",
"args": ["agent-handoff"],
"env": {
"HANDOFF_API_KEY": "<handoff_api_key>"
}
}
}
}HANDOFF_API_KEYMCP Servers overview
# Agent Handoff Middleware
Serverless middleware for AI agent handoffs with built-in Stripe metered billing. Clean, enrich, and route messages between AI agents in one API call.
## Live API
```bash
https://agent-handoff-production-573c.up.railway.app
```bash
## Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| /handoff | POST | Process and route a message to the next agent |
| /health | GET | Service health check |
| /stats | GET | Usage statistics (requires API key) |
| /mcp | POST | Model Context Protocol server (`handoff` + `get_usage_stats` tools) — same auth/billing path as REST |
## Quick Start
```bash
curl -X POST https://agent-handoff-production-573c.up.railway.app/handoff -H 'x-api-key: your-key' -H 'Content-Type: application/json' -d '{"message": {"task": "Summarize this"}, "next_agent": "summarizer"}'
```bash
## PowerShell Module
```powershell
Install-Module AgentHandoff
$env:HANDOFF_API_KEY = 'your-key'
$result = Invoke-AgentHandoff -Message @{ task = 'Summarize this' } -NextAgent 'summarizer' -VerboseOutput
```powershell
## Pricing
- Pay-per-use: $0.001 per handoff via Stripe
- Pro tier: $29/month for unlimited handoffs
## Tech Stack
- FastAPI + Python
- Railway deployment
- Stripe metered billing
- Slowapi rate limiting
## Links
- [PowerShell Gallery](https://www.powershellgallery.com/packages/AgentHandoff)
- [Live API](https://agent-handoff-production-573c.up.railway.app/health)
## Recent changes (2026-07-27)
- **MCP server added** at `POST /mcp` — exposes `handoff` and `get_usage_stats` as MCP tools over JSON-RPC 2.0, discoverable via `tools/list`. Runs through the exact same auth → usage → billing path as the REST `/handoff` endpoint, so it can't become an unmetered bypass. `server.json` added for the official MCP registry (schema-validated); publishing via `mcp-publisher` is still pending.
- **Durable billing-failure audit trail** — failures now persist to Supabase (`public.billing_failures`) instead of only an ephemeral local file that reset on every redeploy.
What people ask about agent-handoff
What is jordan23wagner-ops/agent-handoff?
+
jordan23wagner-ops/agent-handoff is mcp servers for the Claude AI ecosystem. Serverless middleware for AI agent handoffs with built-in Stripe metered billing. Works with LangChain, CrewAI, and AutoGen. Per-handoff billing at USD 0.001. It has 0 GitHub stars and was last updated today.
How do I install agent-handoff?
+
You can install agent-handoff by cloning the repository (https://github.com/jordan23wagner-ops/agent-handoff) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is jordan23wagner-ops/agent-handoff safe to use?
+
jordan23wagner-ops/agent-handoff has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains jordan23wagner-ops/agent-handoff?
+
jordan23wagner-ops/agent-handoff is maintained by jordan23wagner-ops. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to agent-handoff?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy agent-handoff to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/jordan23wagner-ops-agent-handoff)<a href="https://claudewave.com/repo/jordan23wagner-ops-agent-handoff"><img src="https://claudewave.com/api/badge/jordan23wagner-ops-agent-handoff" alt="Featured on ClaudeWave: jordan23wagner-ops/agent-handoff" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!