Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gridctl
command
|
|
|
examples
|
|
|
_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-servers/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. |
|
internal
|
|
|
api
Client link endpoints: the UI counterpart of the stack's declarative link: block.
|
Client link endpoints: the UI counterpart of the stack's declarative link: block. |
|
importer
Package importer converts MCP server entries found in client configs into gridctl stack entries.
|
Package importer converts MCP server entries found in client configs into gridctl stack entries. |
|
probe
Package probe implements the ephemeral MCP server probe used by the wizard to enumerate a server's tool list before it has been deployed.
|
Package probe implements the ephemeral MCP server probe used by the wizard to enumerate a server's tool list before it has been deployed. |
|
stackedit
Package stackedit holds the shared primitives for mutating stack.yaml safely: comment-preserving yaml.Node appends, per-path in-process locking, and crash-safe atomic writes.
|
Package stackedit holds the shared primitives for mutating stack.yaml safely: comment-preserving yaml.Node appends, per-path in-process locking, and crash-safe atomic writes. |
|
pkg
|
|
|
agentsync
Package agentsync projects imported agent definitions into native client agent directories so agents distributed through git repos work in clients that read subagent definitions from disk.
|
Package agentsync projects imported agent definitions into native client agent directories so agents distributed through git repos work in clients that read subagent definitions from disk. |
|
catalog
Package catalog provides the MCP server catalog behind `gridctl search` and `gridctl add`: a small embedded set of curated entries plus an on-demand, disk-cached consumer of the official MCP Registry API (registry.modelcontextprotocol.io, API v0.1).
|
Package catalog provides the MCP server catalog behind `gridctl search` and `gridctl add`: a small embedded set of curated entries plus an on-demand, disk-cached consumer of the official MCP Registry API (registry.modelcontextprotocol.io, API v0.1). |
|
contexts
Package contexts manages the canonical global agent context and projects it into each linked client's global context mechanism.
|
Package contexts manages the canonical global agent context and projects it into each linked client's global context mechanism. |
|
controller
Package controller implements the stack lifecycle management for gridctl.
|
Package controller implements the stack lifecycle management for gridctl. |
|
env
Package env provides the one boolean environment-variable parsing rule used across gridctl.
|
Package env provides the one boolean environment-variable parsing rule used across gridctl. |
|
flags
Package flags is gridctl's experimental feature-flag registry.
|
Package flags is gridctl's experimental feature-flag registry. |
|
format
Package format provides output format conversion for MCP tool call results.
|
Package format provides output format conversion for MCP tool call results. |
|
git
Package git contains shared git helpers used by both the skills importer (pkg/skills) and the MCP server source builder (pkg/builder).
|
Package git contains shared git helpers used by both the skills importer (pkg/skills) and the MCP server source builder (pkg/builder). |
|
jsonrpc
Package jsonrpc provides shared JSON-RPC 2.0 types used by MCP and A2A protocols.
|
Package jsonrpc provides shared JSON-RPC 2.0 types used by MCP and A2A protocols. |
|
limits
Package limits enforces the stack.yaml `limits:` block: token-bucket rate limits scoped to one client, server, or tool.
|
Package limits enforces the stack.yaml `limits:` block: token-bucket rate limits scoped to one client, server, or tool. |
|
logging
Package logging provides shared logging utilities for gridctl.
|
Package logging provides shared logging utilities for gridctl. |
|
mcpauth
Package mcpauth implements downstream OAuth 2.1 brokering for external MCP servers: authorization-server discovery (RFC 9728 / RFC 8414), dynamic client registration (RFC 7591), the authorization-code + PKCE flow, and encrypted token persistence with refresh rotation.
|
Package mcpauth implements downstream OAuth 2.1 brokering for external MCP servers: authorization-server discovery (RFC 9728 / RFC 8414), dynamic client registration (RFC 7591), the authorization-code + PKCE flow, and encrypted token persistence with refresh rotation. |
|
metrics
Package metrics provides token usage metrics collection and aggregation.
|
Package metrics provides token usage metrics collection and aggregation. |
|
optimize
Package optimize produces actionable findings from gateway-observed data β server registrations, per-server token totals, and per-(server, tool) call counts β to help platform engineers shrink the token footprint of a running gridctl stack.
|
Package optimize produces actionable findings from gateway-observed data β server registrations, per-server token totals, and per-(server, tool) call counts β to help platform engineers shrink the token footprint of a running gridctl stack. |
|
output
Package output provides terminal output formatting for gridctl with amber color theme.
|
Package output provides terminal output formatting for gridctl with amber color theme. |
|
pack
Package pack defines the gridctl pack manifest: a versioned selector over a repo's skills, agents, context rule fragments, and gateway wiring, so one git import configures a whole team setup.
|
Package pack defines the gridctl pack manifest: a versioned selector over a repo's skills, agents, context rule fragments, and gateway wiring, so one git import configures a whole team setup. |
|
packops
Package packops orchestrates pack verbs (add, apply, status, remove) over the standalone kind managers (skillsync, agentsync, contexts, wiring).
|
Package packops orchestrates pack verbs (add, apply, status, remove) over the standalone kind managers (skillsync, agentsync, contexts, wiring). |
|
project
Package project is the generic projection engine behind pkg/skillsync, pkg/contexts, pkg/agentsync, and pkg/wiring: "project canonical content into per-client locations with lockfile-tracked ownership." The engine owns the unified lockfile (schema, two-tier versioning, migration from the legacy lockfiles, cross-process locking) and the shared vocabulary (states, dry-run actions, hash-scheme prefix, atomic writes, backup pruning).
|
Package project is the generic projection engine behind pkg/skillsync, pkg/contexts, pkg/agentsync, and pkg/wiring: "project canonical content into per-client locations with lockfile-tracked ownership." The engine owns the unified lockfile (schema, two-tier versioning, migration from the legacy lockfiles, cross-process locking) and the shared vocabulary (states, dry-run actions, hash-scheme prefix, atomic writes, backup pruning). |
|
provisioner
Package provisioner detects installed LLM clients and manages their MCP gateway configuration, enabling zero-friction connection between gridctl and tools like Claude Desktop, Cursor, VS Code, and others.
|
Package provisioner detects installed LLM clients and manages their MCP gateway configuration, enabling zero-friction connection between gridctl and tools like Claude Desktop, Cursor, VS Code, and others. |
|
registry
Package registry β acceptance criteria runner.
|
Package registry β acceptance criteria runner. |
|
skillpins
Package skillpins implements TOFU content pins for registry skill documents, the document-scale sibling of pkg/pins' tool-schema pins.
|
Package skillpins implements TOFU content pins for registry skill documents, the document-scale sibling of pkg/pins' tool-schema pins. |
|
skillsync
Package skillsync projects active registry skills into native client skill directories (Claude Code's ~/.claude/skills, the vendor-neutral ~/.agents/skills interop dir, Antigravity's ~/.gemini/config/skills) so gridctl-managed skills are usable in clients that never fetch MCP prompts and auto-trigger in clients that read skills from disk.
|
Package skillsync projects active registry skills into native client skill directories (Claude Code's ~/.claude/skills, the vendor-neutral ~/.agents/skills interop dir, Antigravity's ~/.gemini/config/skills) so gridctl-managed skills are usable in clients that never fetch MCP prompts and auto-trigger in clients that read skills from disk. |
|
telemetry
Package telemetry implements opt-in disk persistence for the three signal types gridctl already captures in memory: logs, metrics, and traces.
|
Package telemetry implements opt-in disk persistence for the three signal types gridctl already captures in memory: logs, metrics, and traces. |
|
token
Package token provides token counting for MCP tool call content.
|
Package token provides token counting for MCP tool call content. |
|
tracing
Package tracing provides distributed tracing for the gridctl MCP gateway.
|
Package tracing provides distributed tracing for the gridctl MCP gateway. |
|
wiring
Package wiring records ownership of the gateway entries gridctl merges into client MCP configs (the `gridctl link` surface).
|
Package wiring records ownership of the gateway entries gridctl merges into client MCP configs (the `gridctl link` surface). |
Click to show internal directories.
Click to hide internal directories.
