Skip to content

Commit 22eb739

Browse files
authored
⭐️ add ai provider to the defaults (#5951)
1 parent de820c0 commit 22eb739

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

providers/defaults.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ import "go.mondoo.com/cnquery/v12/providers-sdk/v1/plugin"
1111
// to tell users what providers are used for common connections, when there
1212
// is no other way to find out.
1313
var DefaultProviders Providers = map[string]*Provider{
14+
"ai": {
15+
Provider: &plugin.Provider{
16+
Name: "ai",
17+
ID: "go.mondoo.com/cnquery/v12/providers/ai",
18+
ConnectionTypes: []string{"mcp"},
19+
Connectors: []plugin.Connector{
20+
{
21+
Name: "mcp",
22+
Use: "mcp http://example.com",
23+
Short: "Model Context Protocol Provider",
24+
},
25+
},
26+
},
27+
},
28+
1429
"ansible": {
1530
Provider: &plugin.Provider{
1631
Name: "ansible",

providers/runtime.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ func (r *Runtime) lookupResourceProvider(resource string) (*ConnectedProvider, *
650650
"go.mondoo.com/cnquery/providers/ms365",
651651
"go.mondoo.com/cnquery/providers/azure",
652652
"go.mondoo.com/cnquery/providers/networkdiscovery",
653+
"go.mondoo.com/cnquery/providers/ai",
653654
// FIXME: DEPRECATED, remove in v12.0 vv
654655
// Providers traditionally had a version indication in their ID. With v10
655656
// this is no longer necessary (but still supported due to a bug,

0 commit comments

Comments
 (0)