model-gateway
Provides integration with Google Vertex (Google Cloud) for model discovery, cataloging, and contract lifecycle management, enabling agents to search models by modality (video, image, audio, text), view pricing and terms, and create/block/update/cancel contracts for using models.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@model-gatewaywhat video generation models are available?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Model Gateway
Model discovery, cataloging, and agent→provider contracting harness. Beckn Protocol v2-aligned (catalog + contract layer) and MCP-native.
Scope (v1): catalog + discovery + contract lifecycle over your generative-model providers (OpenRouter, Google Vertex, Runway, …). Transaction-sandbox / live-network participation (DeDi broadcast, signed callbacks) is a deferred phase.
What it answers for an agent
"What models can generate video (or image/audio/text)?" — modality search
"What does model X cost, what are its terms?" — pricing + ToU
"Block this model for my use, track my usage, and let me rate it / get support" — contract lifecycle
Related MCP server: Models PLUS
Quick start
npm install
npm run migrate
npm run seed # seeds OpenRouter, Google Vertex, Runway + representative models
npm start # REST on :8090 (PORT to override)
npm run mcp # MCP stdio server (tools for agents)
npm test # 25/25 E2E (catalog + contract lifecycle + MCP)REST API (Beckn verb → endpoint)
Beckn v2 | Endpoint | Purpose |
search |
| search models by modality/capability/provider/price |
— |
| models supporting modality(ies) |
— |
| model detail (Beckn Item: pricing, capabilities, ToU) |
— |
| providers + Beckn catalog |
select |
| quote a contract |
init |
| create contract (agent blocks a model) |
— |
| activate/block for use |
status |
| contract + Beckn order view |
track |
| record/aggregate usage |
update |
| update quota/terms/notes |
cancel |
| cancel |
rating |
| rate the model |
support |
| request support |
MCP tools (stdio)
list_providers, list_models, models_by_modality, get_model, get_catalog, quote, create_contract, block_model, update_contract, cancel_contract, track_usage, contract_status, rate_model, request_support
Add to an MCP client:
{ "mcpServers": { "model-gateway": { "command": "node", "args": ["/path/to/src/mcp/server.js"], "env": { "DB_PATH": "/path/to/model-gateway.sqlite" } } } }Beckn v2 mapping
See docs/ARCHITECTURE.md. Provider→BPP, Model→Item, Catalog→Beckn Catalog,
Contract→Order/Fulfillment, Rating/Support/Track→respective Beckn actions.
Payloads are Beckn-shaped so they validate against v2 catalog/contract semantics.
Contract state machine
draft → quoted → active → (paused) → completed | cancelled | failed (+ support overlay).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAquality-maintenanceEnables AI assistants to discover, retrieve details about, and manage MCP (Model Context Protocol) servers that provide additional tools and capabilities on demand.56310
- Alicense-qualityCmaintenanceProvides comprehensive AI model metadata through MCP, enabling search and filtering of 100+ AI models by capabilities, pricing, context length, and provider specifications.MIT
- Alicense-qualityDmaintenanceMCP server for fal model discovery, execution, pricing, and local media processing, enabling AI model workflows via natural language.125MIT
- Alicense-qualityDmaintenanceMCP Server for agent and service discovery — register, search, rate, and manage AI agents and services in a local directory.10MIT
Related MCP Connectors
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ravi-prakash-v/model-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server