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
|
|
|
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 one canonical global agent-context file (AGENTS.md per the agents.md spec) and projects it into each linked client's global context mechanism: a dedicated file in a rules directory, an @-import shim line, or a marker-delimited managed block.
|
Package contexts manages one canonical global agent-context file (AGENTS.md per the agents.md spec) and projects it into each linked client's global context mechanism: a dedicated file in a rules directory, an @-import shim line, or a marker-delimited managed block. |
|
controller
Package controller implements the stack lifecycle management for gridctl.
|
Package controller implements the stack lifecycle management for gridctl. |
|
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: dollar budget caps with calendar-aligned windows and token-bucket rate limits, both scoped to one client, server, or tool.
|
Package limits enforces the stack.yaml `limits:` block: dollar budget caps with calendar-aligned windows and token-bucket rate limits, both 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 + cost totals, and per-(server, tool) call counts β to help platform engineers reduce spend on a running gridctl stack.
|
Package optimize produces actionable findings from gateway-observed data β server registrations, per-server token + cost totals, and per-(server, tool) call counts β to help platform engineers reduce spend on 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. |
|
pricing
Package pricing computes USD cost for MCP tool calls using model rate tables sourced from LiteLLM's `model_prices_and_context_window.json`.
|
Package pricing computes USD cost for MCP tool calls using model rate tables sourced from LiteLLM's `model_prices_and_context_window.json`. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.
