trackmcp
Back to directory
samayhuf-star

all-apis-gateway

View on GitHub

MCP server exposing 17 APIs as 20 MCP tools with Solana USDC payments

0 stars PythonOthers Updated Aug 11, 2026
agentaiapimcpmcp-servermodel-context-protocolpaymentsscrapersolanausdc

Documentation

API Gateway โ€” 17 APIs for AI Agents

Single MCP server exposing 17 production APIs behind one public domain.

All APIs are served at `https://momentumbysamay.online/api/` (DNS โ†’

`167.71.22.95`), a single nginx gateway with Let's Encrypt HTTPS. The

Website Intelligence bundle runs on droplet 1; Marketing, Web Scraper, PDF and

Email Verify are reverse-proxied from droplet 2.


๐Ÿš€ What This Is

An MCP (Model Context Protocol) server that wraps 17 real, deployed APIs into MCP tools. Any AI agent with MCP support can discover, call, and pay for these APIs programmatically.

How AI Agents Use It

1. Connect โ€” Agents connect via MCP (stdio or HTTP)

2. Discover โ€” Agent calls `list_tools()` โ†’ sees 20 tools

3. Pay โ€” Agent calls `generate_invoice` + `check_balance` for crypto payment

4. Use โ€” Agent calls any API tool, credits auto-deduct

Revenue Model

ChannelHow It Makes MoneyStatus
๐Ÿค– AI Agents via MCPAgents discover tools โ†’ generate invoice โ†’ send USDC โ†’ use APIsโœ… LIVE
๐Ÿค– AI Agents via `.well-known/ai-plugin.json`OpenAI GPT Agents auto-discover APIsโœ… LIVE
RapidAPI Marketplace$29โ€“$199/mo subscriptions๐Ÿ“ฆ Ready โ€” needs RapidAPI provider account
Apify StorePer-run pricing๐Ÿ“ฆ Ready, not published
api.marketGlobal API marketplace๐Ÿ“ฆ Ready (Redis issues)

๐Ÿ“‹ API Inventory โ€” 17 APIs + 3 Payment Tools

๐Ÿ–ฅ๏ธ Website Intelligence (`/api/website-intel`) โ€” 10 APIs

#MCP ToolAPIDescriptionPrice
1`website_to_markdown`Website โ†’ MarkdownConvert any web page to clean Markdown$0.0005
2`website_metadata`Website MetadataMeta tags, OG, Twitter Cards, headings, images, favicon$0.0002
3`technology_detector`Technology DetectorCMS, frameworks, analytics, CDN, server tech$0.0003
4`contact_extractor`Contact ExtractorEmails, phones, social links, addresses$0.0005
5`ai_website_summary`AI Website SummaryStructured summary + optional AI narrative$0.002
6`opengraph_extractor`OpenGraph ExtractorOG tags, Twitter Cards, social preview data$0.0002
7`robots_txt_parser`Robots.txt ParserCrawl rules, disallowed paths, sitemap URLs$0.0002
8`sitemap_parser`Sitemap ParserDiscover & parse XML sitemaps$0.0005
9`ssl_checker`SSL CheckerCertificate details, expiry, security grade$0.0002
10`dns_lookup`DNS LookupA, AAAA, MX, NS, CNAME, TXT, subdomain discovery$0.0002

Payment: Solana USDC ($USDC on Solana mainnet)

๐Ÿ“Š Marketing API Bundle (`/api/marketing`) โ€” 7 APIs

#MCP ToolAPIDescriptionPrice
11`marketing_contact_extractor`Marketing Contact ExtractorEmails, phones, social profiles, address$0.0005
12`google_maps_reviews`Google Maps ReviewsRatings, reviews, business metadata by Place ID or search$0.001
13`business_metadata`Business MetadataCategory, founding year, hours, certifications, payments$0.0003
14`seo_audit`SEO AuditOn-page SEO analysis with scoring (0โ€“100)$0.0005
15`ai_company_summary`AI Company SummaryAI-powered business overview + narrative$0.002
16`marketing_technology_detector`Technology DetectorCMS, frameworks, analytics, hosting$0.0003
17`citation_checker`Citation CheckerDirectory presence across 10+ platforms + NAP scoring$0.001

Payment: Solana USDC ($USDC on Solana mainnet)

๐Ÿ’ฐ Payment/Management Tools โ€” Free

#MCP ToolDescription
18`get_pricing`Get current pricing for all APIs
19`generate_invoice`Generate Solana USDC payment invoice
20`check_balance`Check credit balance for an API key

๐Ÿ”ง Quick Start

For AI Agents (MCP-native)

Configure the MCP server in your agent:

json
{
  "mcpServers": {
    "all-apis-gateway": {
      "command": "python3",
      "args": ["/path/to/mcp_server.py"],
      "env": {
        "WEBSITE_INTEL_BASE": "https://momentumbysamay.online/api/website-intel",
        "WEBSITE_INTEL_KEY": "YOUR_WEBSITE_INTEL_KEY",
        "MARKETING_BUNDLE_BASE": "https://momentumbysamay.online/api/marketing",
        "MARKETING_BUNDLE_KEY": "YOUR_MARKETING_KEY"
      }
    }
  }
}

For Developers (REST APIs directly)

Website Intelligence:

bash
# Get an admin key (one-time)
curl -X POST https://momentumbysamay.online/api/website-intel/api/v1/auth/generate-key \
  -H "Content-Type: application/json" \
  -d '{"name":"my-app","tier":"admin"}'

# Call an API
curl -X POST https://momentumbysamay.online/api/website-intel/api/v1/dns-lookup \
  -H "X-API-Key: *** \
  -H "Content-Type: application/json" \
  -d '{"domain": "example.com"}'

# Get pricing
curl https://momentumbysamay.online/api/website-intel/api/v1/payments/pricing

# Generate payment invoice
curl -X POST https://momentumbysamay.online/api/website-intel/api/v1/payments/invoice \
  -H "Content-Type: application/json" \
  -d '{"api_key": "YOUR_KEY", "amount_usdc": 5.0}'

Marketing Bundle:

bash
curl -X POST https://momentumbysamay.online/api/marketing/api/v1/contact-extractor \
  -H "X-API-Key: *** \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

๐Ÿ’ณ Crypto Payment Flow

Both API bundles accept Solana USDC for AI agents.

code
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Payment Flow                                 โ”‚
โ”‚                                               โ”‚
โ”‚  1. Agent: POST /payments/invoice             โ”‚
โ”‚     โ†’ Gets: {wallet_address, memo}            โ”‚
โ”‚                                               โ”‚
โ”‚  2. Agent: Send USDC to wallet + memo         โ”‚
โ”‚     (On Solana mainnet)                       โ”‚
โ”‚                                               โ”‚
โ”‚  3. Agent: POST /payments/verify              โ”‚
โ”‚     โ†’ Credits added to API key                โ”‚
โ”‚                                               โ”‚
โ”‚  4. Agent: Call any API with X-API-Key        โ”‚
โ”‚     โ†’ Credits auto-deduct per call            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Treasury Wallet: Configured on the droplet (set `TREASURY_WALLET` env var)

Token: `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` (Solana USDC)


๐Ÿ“Š Rate Limits

PlanRequests/secDaily LimitPrice
Free2100$0
Starter105,000$29/mo
Growth3025,000$79/mo
Enterprise100100,000$199/mo

๐Ÿ— Architecture

code
MCP Client (Claude Code, Cline, Hermes, any MCP agent)
    โ”‚
    โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  MCP Server (api-gateway)    โ”‚
โ”‚  - 20 tools                  โ”‚
โ”‚  - Auth injection            โ”‚
โ”‚  - Error handling            โ”‚
โ”‚  - Pricing/cost display      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
       โ”‚
       โ”œโ”€โ”€โ†’ momentumbysamay.online/api/website-intel: Website Intelligence (10 APIs + payments)
       โ”‚       POST .../api/website-intel/api/v1/{endpoint}
       โ”‚       POST .../api/website-intel/api/v1/payments/{invoice,verify,balance,pricing}
       โ”‚       GET  .../api/website-intel/.well-known/ai-plugin.json
       โ”‚
       โ””โ”€โ”€โ†’ momentumbysamay.online/api/marketing: Marketing API Bundle (7 APIs + payments)
               POST .../api/marketing/api/v1/{endpoint}
               POST .../api/marketing/api/v1/payments/{invoice,verify,balance,pricing}
               GET  .../api/marketing/.well-known/ai-plugin.json

๐Ÿ“ฆ Marketplace Publishing Guides

Ready-to-use docs for registering on each platform:

MarketplaceGuideStatus
OpenAI GPT Store`docs/gpt-store-guide.md`๐Ÿ“ Step-by-step
RapidAPI`docs/rapidapi-publish-guide.md`๐Ÿ“ Upload-ready spec + copy
Apify StoreSee Apify console links below๐Ÿ”ด Needs Store terms accepted
api.marketPre-prepared OpenAPI specs at `/home/node/api-market-specs/`๐Ÿ”ด Redis outage

๐Ÿช™ Solana USDC Payments

Docs: `docs/setup-wallet.md`

Both bundles accept Solana USDC (token `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`):

  • `POST .../api/website-intel/api/v1/payments/invoice` โ€” generate wallet + memo
  • `POST .../api/website-intel/api/v1/payments/verify` โ€” verify payment โ†’ add credits
  • `POST .../api/website-intel/api/v1/payments/balance` โ€” check balance
  • `GET .../api/website-intel/api/v1/payments/pricing` โ€” per-endpoint pricing

Real Solana treasury wallet on BOTH bundles: `F8tmJqiyEpcSbAbWef3XhsknsnW4gxb2gv6K8ZxEfgE`

๐ŸŒ AI Agent Discovery Endpoints

Each bundle exposes AI agent discovery files under its domain path:

EndpointDescription
`.../api//.well-known/ai-plugin.json`OpenAI GPT Actions manifest
`.../api//.well-known/openapi.json`OpenAPI spec for AI consumption
`.../api//api/v1/payments/pricing`Per-endpoint USDC pricing
`.../api//health`Health check (no auth)
`.../api//status`Component status (no auth)

๐Ÿ“ˆ Monitoring

EndpointDescriptionAuth
`GET /health`Service health checkNone
`GET /status`Component status (cache, auth, payments)None
`GET /metrics`Operational metrics (P50/P95/P99, cache hit rate)Admin key
`GET /dashboard`Usage dashboard HTMLAdmin key

๐Ÿ” Authentication

  • Header: `X-API-Key: ` (recommended)
  • Bearer: `Authorization: Bearer `
  • Query param: `?api_key=`

Tiers: `free`, `starter`, `growth`, `enterprise`, `admin`


๐Ÿ“œ License

Private โ€” Samay Vashisht. All APIs and code proprietary.

Frequently asked questions

What is all-apis-gateway?

all-apis-gateway is MCP server exposing 17 APIs as 20 MCP tools with Solana USDC payments

How do I install all-apis-gateway?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is all-apis-gateway open source?

Yes โ€” it is hosted on GitHub at https://github.com/samayhuf-star/all-apis-gateway.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP