examples/

directory
v0.1.0-beta.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0

README ΒΆ

Examples

Example stacks demonstrating Gridctl patterns and capabilities.

πŸš€ Quick Start

gridctl apply examples/getting-started/mcp-basic.yaml

πŸ“ Categories

Folder Description
🎯 getting-started/ Basic examples to get up and running
πŸ”Œ transports/ MCP transport types: local process, SSH, HTTP, SSE
πŸ“¦ platforms/ Third-party MCP servers (container-based)
πŸ”— openapi/ Turn REST APIs into MCP tools via OpenAPI specs
πŸ” access-control/ Tool filtering and security patterns
⚑ code-mode/ Reduce context window with search + execute meta-tools
πŸ”’ gateways/ Bridge to existing infrastructure
πŸ”‘ secrets-vault/ Encrypted variables and variable sets
πŸ“ˆ autoscale/ Static replicas and reactive autoscaling
🧳 portable-stack/ Single-file portable stack with inlined config
πŸ”­ tracing/ Distributed tracing and OTLP export
πŸ“‹ registry/ Skills registry (agentskills.io spec)
πŸ§ͺ _mock-servers/ Test servers for development
  1. Start here: getting-started/mcp-basic.yaml - stack, networking, tool filtering (placeholder containers)
  2. Real MCP servers: transports/local-mcp.yaml - actual MCP server logic via stdio transport
  3. Platforms: platforms/github-mcp.yaml - third-party MCP servers
  4. OpenAPI: openapi/openapi-basic.yaml - turn any REST API into MCP tools
  5. Registry: registry/registry-basic.yaml - Skills as MCP prompts
  6. Scaling: autoscale/autoscale-basic.yaml - reactive autoscaling of MCP replicas

Note: Getting-started examples use placeholder containers to focus on infrastructure concepts. Transport and platform examples include real MCP server implementations.

πŸ“Š Feature Matrix

Example Transports Tool Filtering External OpenAPI Registry Code Mode Variables
mcp-basic - βœ… - - - - -
local-mcp stdio - - - - - -
ssh-mcp ssh+stdio - - - - - -
external-mcp http, sse - βœ… - - - -
atlassian-mcp sse - βœ… - - - -
chrome-devtools-mcp stdio - βœ… - - - -
context7-mcp stdio - βœ… - - - -
github-mcp stdio - βœ… - - - -
zapier-mcp stdio - βœ… - - - -
openapi-basic openapi - - βœ… - - -
openapi-auth openapi - - βœ… - - -
tool-filtering - βœ… - - - - -
code-mode-basic - - - - - βœ… -
gateway-basic http - βœ… - - - -
gateway-remote http - βœ… - - - -
var-basic stdio - - - - - βœ…
var-sets - - - - - - βœ…
registry-basic stdio - - - βœ… - -
registry-advanced stdio - - - βœ… - -

πŸ’» Usage Pattern

All examples follow the same deployment pattern:

# Deploy a stack
gridctl apply examples/<category>/<file>.yaml

# Force recreate containers
gridctl apply examples/<category>/<file>.yaml

# View status
gridctl status

Directories ΒΆ

Path Synopsis
_mock-servers
local-stdio-server command
Mock MCP Server for testing local process (stdio) MCP server support.
Mock MCP Server for testing local process (stdio) MCP server support.
mock-mcp-server command
Mock MCP Server for testing external HTTP/SSE MCP server support.
Mock MCP Server for testing external HTTP/SSE MCP server support.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL