Skip to main content
Glama

Sumanshu Arora

deploy.mdβ€’1.35 kB
# `deploy` Command Deploy a template as an MCP server. ## Functionality - Deploys the specified template as a running server - Prompts for missing configuration if needed - Shows deployment status and connection details - Supports various transport modes and backends ## Options & Arguments - `[template]`: Template to deploy (uses selected template if omitted) - `--transport`: Transport mode (stdio, http) - `--port`: Port for HTTP transport - `--backend`: Backend to use (docker, kubernetes, etc.) - `--config KEY=VALUE`: Set configuration values - `--env KEY=VALUE`: Set environment variables - `--no-pull`: Don't pull Docker images ## Configuration - Template configuration may be required - Missing configuration will be prompted interactively ## Example ``` deploy demo deploy github --transport http --port 8080 deploy --config github_token=ghp_xxx github ``` ### Sample Output ``` πŸš€ Deploying template: demo βœ… Server deployed successfully πŸ“ Endpoint: http://localhost:7071 πŸ†” Server ID: abc123def456 ``` ## When and How to Run - Use to start a new MCP server instance - Run after configuring a template - Use when you need an HTTP endpoint for tool calls ## Related Commands - `servers` - List deployed servers - `configure` - Set template configuration - `stop` - Stop deployed servers - `logs` - View deployment logs

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/Data-Everything/mcp-server-templates'

If you have feedback or need assistance with the MCP directory API, please join our Discord server