agentforge
Integrates with GitHub to auto-import trending AI agents from GitHub repositories, expanding the available agent marketplace.
Provides Google OAuth authentication for user accounts and Google OAuth client integration for platform authentication.
Uses PostgreSQL as the primary database for storing user data, agent information, billing records, and platform statistics.
Enables payment processing for paid agents through Stripe Connect, handling billing, payouts to creators, and subscription management.
AgentForge
One API key. 300+ AI agents. Zero configuration.
AgentForge is a unified API gateway and marketplace for AI agents. Use a single API key to access hundreds of AI agents — no need to manage individual API keys, authentication, or billing for each one.
Live Demo | API Docs | Browse Agents
Why AgentForge?
Most AI agent platforms make you manage separate API keys, auth flows, and billing for every agent you use. AgentForge gives you one key to rule them all.
Unified API — Call any agent through a single REST endpoint
300+ agents — Pre-loaded with trending agents from GitHub and HuggingFace
Creator economy — Publish your own agents and earn revenue (90% creator share)
Built for developers — RESTful API, streaming support, API key auth, rate limiting
MCP support — Use AgentForge as a Model Context Protocol server to access all agents from Claude, Cursor, and other MCP clients
Related MCP server: Agorus MCP Server
Quick Start
Use the API (no install needed)
# 1. Get your API key at https://patreon.zeabur.app/#/settings/api-keys # 2. Call any agent: curl -X POST https://patreon.zeabur.app/api/agents/AGENT_ID/invoke \ -H "Authorization: Bearer af_k_your_key_here" \ -H "Content-Type: application/json" \ -d '{"messages": [{"role": "user", "content": "Hello!"}]}'Python
import requests response = requests.post( "https://patreon.zeabur.app/api/agents/AGENT_ID/invoke", headers={"Authorization": "Bearer af_k_your_key_here"}, json={"messages": [{"role": "user", "content": "Hello!"}]} ) print(response.json())JavaScript
const response = await fetch( "https://patreon.zeabur.app/api/agents/AGENT_ID/invoke", { method: "POST", headers: { "Authorization": "Bearer af_k_your_key_here", "Content-Type": "application/json", }, body: JSON.stringify({ messages: [{ role: "user", content: "Hello!" }], }), } ); const data = await response.json();MCP Server (Model Context Protocol)
AgentForge ships a built-in MCP server (
mcp/server.ts) that exposes all 300+ agents as MCP tools. This lets any MCP-compatible client — Claude Desktop, Cursor, Continue, etc. — discover and invoke agents with zero extra configuration.MCP Tools exposed
Tool
Description
list_agentsList all agents on the marketplace (optional category/limit filter)
get_agentGet full details for a specific agent by ID
invoke_agentInvoke any agent with a chat-completion style messages array
check_agent_healthCheck the health/availability of a specific agent
get_platform_statsRetrieve aggregate platform statistics
Running the MCP server locally
git clone https://github.com/doggychip/agentforge.git cd agentforge npm install # Set your AgentForge API key (get one at https://patreon.zeabur.app/#/settings/api-keys) export AGENTFORGE_API_KEY=af_k_your_key_here # Start the MCP server (communicates over stdio) npm run mcp:startConnecting to Claude Desktop
Add the following to your
claude_desktop_config.json(~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "agentforge": { "command": "npx", "args": ["tsx", "/path/to/agentforge/mcp/server.ts"], "env": { "AGENTFORGE_API_KEY": "af_k_your_key_here" } } } }Restart Claude Desktop. You will now see AgentForge tools available in the MCP connector panel.
Connecting to other MCP clients
Any MCP client that supports stdio transport can connect to AgentForge:
# Generic stdio invocation AGENTFORGE_API_KEY=af_k_your_key_here npx tsx /path/to/agentforge/mcp/server.tsEnvironment variables for the MCP server
Variable
Required
Description
AGENTFORGE_API_KEYYes (for invoke_agent)
Your AgentForge API key
AGENTFORGE_BASE_URLNo
Override base URL (default:
https://patreon.zeabur.app)Features
For Users
Browse and discover 300+ AI agents, tools, and APIs
One API key to access all agents
Free and paid agents with transparent pricing
Streaming support for real-time responses
Usage tracking and billing history
For Creators
Publish unlimited agents with your own pricing
90% revenue share (10% platform fee)
Stripe Connect payouts to your bank account
Analytics dashboard with subscriber metrics
API proxy — we handle auth, rate limiting, and billing
Platform
Google OAuth + email/password authentication
Two-factor authentication (TOTP)
Rate limiting (1000 req/hour, 10000 req/day per key)
Agent health monitoring
Auto-import from GitHub trending and HuggingFace
API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
|
POST|/api/agents/:id/invoke| Invoke an agent ||
GET|/api/agents| List all agents ||
GET|/api/agents/:id| Get agent details ||
GET|/api/agents/:id/health| Check agent health ||
GET|/api/stats| Platform statistics |Full API documentation: patreon.zeabur.app/#/docs
Self-Hosting
Prerequisites
Node.js 20+
PostgreSQL
Setup
git clone https://github.com/doggychip/agentforge.git cd agentforge npm install # Set environment variables export DATABASE_URL=postgresql://user:password@host:5432/agentforge # Start development server (auto-migrates and seeds) npm run devEnvironment Variables
Variable
Required
Description
DATABASE_URLYes
PostgreSQL connection string
STRIPE_SECRET_KEYNo
Stripe API key for payments
STRIPE_WEBHOOK_SECRETNo
Stripe webhook signing secret
GOOGLE_CLIENT_IDNo
Google OAuth client ID
GOOGLE_CLIENT_SECRETNo
Google OAuth client secret
SMTP_HOSTNo
SMTP server for emails
SMTP_USERNo
SMTP username
SMTP_PASSNo
SMTP password
Deploy to Zeabur
Push to GitHub
Create project in Zeabur
Import the repo + add PostgreSQL service
Zeabur auto-injects
DATABASE_URLTech Stack
Frontend: React 18, Tailwind CSS, shadcn/ui, TanStack Query, wouter
Backend: Express 5, Drizzle ORM, Passport
Database: PostgreSQL
Payments: Stripe Connect
Auth: bcrypt, Google OAuth, TOTP 2FA
Deploy: Docker / Zeabur
MCP: @modelcontextprotocol/sdk (TypeScript)
Project Structure
agentforge/ ├── client/src/ # React frontend │ ├── pages/ # Route pages │ ├── components/ # Shared components │ └── hooks/ # Auth, query hooks ├── mcp/ │ └── server.ts # MCP server (5 tools over stdio) ├── server/ │ ├── routes.ts # API endpoints │ ├── storage.ts # Database layer │ └── db.ts # Connection + migrations ├── shared/ │ └── schema.ts # Drizzle schema + types └── DockerfileContributing
Pull requests welcome. For major changes, open an issue first.
License
MIT
Available Tools
5 toolscheck_agent_healthC
Check the health / availability status of a specific AI agent.
Inputs: agent_id (required).
get_agentC
Get detailed information about a specific AI agent including its input/output schema, pricing, and usage examples.
Inputs: agent_id (required).
get_platform_statsB
Get aggregate statistics about the AgentForge platform: total agents, active users, requests served, etc.
Inputs: no named parameters.
invoke_agentA
Invoke any AI agent on the AgentForge marketplace. Requires AGENTFORGE_API_KEY environment variable. Supports streaming responses and returns the assistant reply.
Inputs: agent_id (required), messages (required), stream.
list_agentsA
List all AI agents available on the AgentForge marketplace. Returns agent IDs, names, descriptions, pricing, and categories.
Inputs: category, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap. check_agent_health focuses on availability, get_agent provides detailed metadata, get_platform_stats offers aggregate platform data, invoke_agent executes agent calls, and list_agents shows the marketplace catalog. An agent can easily distinguish between these operations.
All tools follow a consistent verb_noun pattern with snake_case. The verbs (check, get, get, invoke, list) are appropriate and predictable, making the set easy to navigate and understand at a glance.
Five tools is well-scoped for managing an AI agent platform. It covers essential operations like listing, retrieving details, invoking agents, checking health, and viewing platform stats without being overwhelming or insufficient for the domain.
The toolset covers core workflows: discovery (list_agents, get_agent), execution (invoke_agent), monitoring (check_agent_health, get_platform_stats). A minor gap is the lack of update/delete tools for managing agents, but this might be intentional if the platform is read-only for users.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for building and testing AI agents with multi-model experimentation and insights.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA unified MCP server providing AI agents with 40+ developer APIs including geolocation, crypto prices, DNS lookup, and web scraping. Enables natural language access to various tools through a single gateway.1MIT

Agorus MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceMCP server for the Agorus AI agent marketplace, exposing API operations as tools for LLMs to discover, contract, and interact with agents and services.13 npmMIT- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables agents to dynamically switch between multiple AI models (OpenAI, Anthropic, Google, etc.) with unified protocol-driven configuration and capability discovery.Apache 2.0