You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flags.StringArrayVar(&opts.Servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference). Can be specified multiple times.")
64
+
flags.StringArrayVar(&opts.Servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference) or file:// (Local file path). Can be specified multiple times.")
65
65
flags.StringVar(&opts.FromWorkingSet, "from-profile", "", "Profile ID to create the catalog from")
66
66
flags.StringVar(&opts.FromLegacyCatalog, "from-legacy-catalog", "", "Legacy catalog URL to create the catalog from")
67
67
flags.StringVar(&opts.Title, "title", "", "Title of the catalog")
@@ -169,7 +170,7 @@ Profiles are decoupled from catalogs. Servers can be:
169
170
flags:=cmd.Flags()
170
171
flags.StringVar(&opts.Name, "name", "", "Name of the profile (required)")
171
172
flags.StringVar(&opts.ID, "id", "", "ID of the profile (defaults to a slugified version of the name)")
172
-
flags.StringArrayVar(&opts.Servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference). Can be specified multiple times.")
173
+
flags.StringArrayVar(&opts.Servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference) or file:// (Local file path). Can be specified multiple times.")
173
174
flags.StringArrayVar(&opts.Connect, "connect", []string{}, fmt.Sprintf("Clients to connect to: mcp-client (can be specified multiple times). Supported clients: %s", client.GetSupportedMCPClients(*cfg)))
flags.StringArrayVar(&servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference). Can be specified multiple times.")
413
+
flags.StringArrayVar(&servers, "server", []string{}, "Server to include specified with a URI: https:// (MCP Registry reference) or docker:// (Docker Image reference) or catalog:// (Catalog reference) or file:// (Local file path). Can be specified multiple times.")
Copy file name to clipboardExpand all lines: docs/profiles.md
+48-5Lines changed: 48 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ A profile is a named collection of MCP servers that can be:
12
12
Profiles are decoupled from catalogs, meaning the servers in a profile can come from:
13
13
-**MCP Registry references**: HTTP(S) URLs pointing to servers in the Model Context Protocol registry
14
14
-**OCI image references**: Docker images with the `docker://` prefix
15
+
-**Catalog references**: Servers from existing catalogs with the `catalog://` prefix
16
+
-**Local file references**: Server definitions from local YAML or JSON files with the `file://` prefix (see [Server Entry Specification](./server-entry-spec.md) for file format details)
15
17
16
18
⚠️ **Important Caveat:** MCP Registry references are not fully implemented and are not expected to work yet.
When using `file://`, the file should contain a server definition in YAML or JSON format:
125
+
126
+
```yaml
127
+
# my-server.yaml
128
+
name: my-custom-server
129
+
title: My Custom Server
130
+
type: server
131
+
image: my-org/my-server:latest
132
+
description: A custom MCP server
133
+
allowHosts:
134
+
- api.example.com:443
135
+
```
136
+
137
+
See the [Server Entry Specification](./server-entry-spec.md) for complete file format documentation including configuration schemas, secrets, OAuth, and advanced options.
138
+
102
139
**Server References:**
103
140
- Use `--server` flag for all server references (can be specified multiple times)
104
141
- Server references must start with:
105
-
-`catalog://` for catalog references. This takes the form of `catalog://<catalog-oci-refence>/<server-1>+<server-2>
142
+
- `catalog://`for catalog references. This takes the form of `catalog://<catalog-oci-refence>/<server-1>+<server-2>`
106
143
- `docker://`for OCI images
107
144
- `http://`or `https://` for MCP Registry URLs
145
+
- `file://`for local YAML or JSON server definition files (see [Server Entry Specification](./server-entry-spec.md))
108
146
- Catalog servers are referenced by their name within the catalog
109
147
110
148
**Notes:**
@@ -755,6 +793,8 @@ Error: invalid server value: myserver
755
793
**Solution**: Ensure server references use either:
756
794
- `docker://`prefix for images
757
795
- `http://`or `https://` for registry URLs
796
+
- `catalog://`prefix for catalog references
797
+
- `file://`prefix for local server definition files
0 commit comments