@inference-gateway/adl-cli 0.53.0 → 0.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ The ADL CLI helps you build enterprise-ready A2A agents quickly by generating co
|
|
|
66
66
|
- 🤖 **Multi-Provider AI** - OpenAI, Anthropic, Google, Groq, Mistral, DeepSeek, Cohere, Cloudflare, Moonshot, Ollama, Ollama Cloud, and Nvidia support
|
|
67
67
|
- 📁 **Artifacts Support** - Integrated filesystem and MinIO object storage for artifact management
|
|
68
68
|
- 📡 **OpenTelemetry Instrumentation** - Opt-in tracing and metrics via `spec.telemetry.enabled` (Go and TypeScript)
|
|
69
|
+
- 🔌 **MCP Client** - Connect to MCP servers via `spec.agent.mcp` for `mcp_list_tools` / `mcp_call_tool` (Go)
|
|
69
70
|
|
|
70
71
|
## Installation
|
|
71
72
|
|
|
@@ -1860,6 +1861,31 @@ The manifest field is a single on/off switch - exporter endpoints, ports, and sa
|
|
|
1860
1861
|
- `examples/go-agent-telemetry.yaml` - Go agent with metrics server, OTLP traces, and per-tool-call spans
|
|
1861
1862
|
- `examples/typescript-agent-telemetry.yaml` - TypeScript agent with ADK-provided OTel wiring
|
|
1862
1863
|
|
|
1864
|
+
## MCP Client
|
|
1865
|
+
|
|
1866
|
+
Connect the generated agent to one or more [MCP](https://modelcontextprotocol.io) servers via the ADK's built-in MCP client:
|
|
1867
|
+
|
|
1868
|
+
```yaml
|
|
1869
|
+
spec:
|
|
1870
|
+
agent:
|
|
1871
|
+
provider: deepseek
|
|
1872
|
+
model: deepseek-v4-flash
|
|
1873
|
+
mcp:
|
|
1874
|
+
enabled: true
|
|
1875
|
+
servers:
|
|
1876
|
+
- name: tools
|
|
1877
|
+
transport: http
|
|
1878
|
+
url: http://mcp-tools:8080
|
|
1879
|
+
```
|
|
1880
|
+
|
|
1881
|
+
`enabled` is the master switch. When true (and omitted the block is off), the generator wires an `MCPClientManager` into `main.go` that connects to the servers in the background, discovers their tools, and registers two selector tools - `mcp_list_tools` and `mcp_call_tool` - into the agent's toolbox. Everything else is a runtime concern: each `mcp` field maps 1:1 to an `A2A_MCP_*` variable in the generated `.env.example` (the manifest value is the default, overridden by the environment). `A2A_MCP_SERVERS` is derived from the `http` servers' base URLs. Defaults: `endpoint=/mcp`, `refreshInterval=5m`, `dialTimeout=30s`, `callTimeout=30s`, `maxRetries=0`, `retryInterval=2s`, `retryMaxInterval=30s`.
|
|
1882
|
+
|
|
1883
|
+
> **Note:** The ADK MCP client is generated for Go agents only and is streamable-HTTP-only; `stdio`/`sse` servers are dropped from `A2A_MCP_SERVERS` (the validator warns), and the block is ignored for TypeScript/Rust agents.
|
|
1884
|
+
|
|
1885
|
+
**Example:**
|
|
1886
|
+
|
|
1887
|
+
- `examples/go-agent-mcp.yaml` - Go agent wired to two http MCP servers
|
|
1888
|
+
|
|
1863
1889
|
## GitHub Issue Templates
|
|
1864
1890
|
|
|
1865
1891
|
The ADL CLI can automatically generate GitHub issue templates for your agent projects, providing standardized forms for bug reports, feature requests, and refactoring tasks:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inference-gateway/adl-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.1",
|
|
4
4
|
"description": "Scaffold complete A2A (Agent-to-Agent) projects from YAML Agent Definition Language (ADL) manifests. Thin npm wrapper around the native adl binary.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"adl": "bin/run.js"
|