examples/

directory
v0.1.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0

README ΒΆ

Examples

Example stacks demonstrating Gridctl patterns and capabilities.

πŸš€ Quick Start

gridctl deploy examples/getting-started/agent-basic.yaml

πŸ“ Categories

Folder Description
🎯 getting-started/ Basic examples to get up and running
πŸ”Œ transports/ MCP transport types: local process, SSH, HTTP, SSE
πŸ€– multi-agent/ Agent orchestration and A2A protocol
πŸ“¦ 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
πŸ“‹ registry/ Agent Skills registry (agentskills.io spec)
πŸ§ͺ _mock-servers/ Test servers for development
  1. Start here: getting-started/agent-basic.yaml - stack, networking, access control (placeholder containers)
  2. Real MCP servers: transports/local-mcp.yaml - actual MCP server logic via stdio transport
  3. Multi-agent: multi-agent/multi-agent-skills.yaml - agents using other agents as tools
  4. Platforms: platforms/github-mcp.yaml - third-party MCP servers
  5. OpenAPI: openapi/openapi-basic.yaml - turn any REST API into MCP tools
  6. Registry: registry/registry-basic.yaml - Agent Skills as MCP prompts

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 Agents A2A External OpenAPI Registry Code Mode
agent-basic - βœ… - - - - -
skills-basic - βœ… βœ… - - - -
local-mcp stdio - - - - - -
ssh-mcp ssh+stdio - - - - - -
external-mcp http, sse - - βœ… - - -
multi-agent-skills - βœ… βœ… - - - -
basic-a2a - βœ… βœ… - - - -
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 - - βœ… - - -
registry-basic stdio - - - - βœ… -
registry-advanced stdio - - - - βœ… -

πŸ’» Usage Pattern

All examples follow the same deployment pattern:

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

# Force recreate containers
gridctl deploy 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