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: docker:// (Docker Image reference), 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 +166,7 @@ Profiles are decoupled from catalogs. Servers can be:
169
166
flags:=cmd.Flags()
170
167
flags.StringVar(&opts.Name, "name", "", "Name of the profile (required)")
171
168
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.")
169
+
flags.StringArrayVar(&opts.Servers, "server", []string{}, "Server to include specified with a URI: docker:// (Docker Image reference), catalog:// (Catalog reference), or file:// (Local file path). Can be specified multiple times.")
173
170
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.")
406
+
flags.StringArrayVar(&servers, "server", []string{}, "Server to include specified with a URI: docker:// (Docker Image reference), catalog:// (Catalog reference), or file:// (Local file path). Can be specified multiple times.")
Copy file name to clipboardExpand all lines: docs/profiles.md
+52-36Lines changed: 52 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,9 @@ A profile is a named collection of MCP servers that can be:
10
10
- Used to quickly switch between different server configurations
11
11
12
12
Profiles are decoupled from catalogs, meaning the servers in a profile can come from:
13
-
-**MCP Registry references**: HTTP(S) URLs pointing to servers in the Model Context Protocol registry
14
13
-**OCI image references**: Docker images with the `docker://` prefix
15
-
16
-
⚠️**Important Caveat:** MCP Registry references are not fully implemented and are not expected to work yet.
14
+
-**Catalog references**: Servers from existing catalogs with the `catalog://` prefix
15
+
-**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)
When using `file://`, the file should contain a server definition in YAML or JSON format:
106
+
107
+
```yaml
108
+
# my-server.yaml
109
+
name: my-custom-server
110
+
title: My Custom Server
111
+
type: server
112
+
image: my-org/my-server:latest
113
+
description: A custom MCP server
114
+
allowHosts:
115
+
- api.example.com:443
116
+
```
117
+
118
+
See the [Server Entry Specification](./server-entry-spec.md) for complete file format documentation including configuration schemas, secrets, OAuth, and advanced options.
119
+
102
120
**Server References:**
103
121
- Use `--server` flag for all server references (can be specified multiple times)
104
122
- Server references must start with:
105
-
-`catalog://` for catalog references. This takes the form of `catalog://<catalog-oci-refence>/<server-1>+<server-2>
123
+
- `catalog://`for catalog references. This takes the form of `catalog://<catalog-oci-refence>/<server-1>+<server-2>`
106
124
- `docker://`for OCI images
107
-
-`http://` or `https://` for MCP Registry URLs
125
+
- `file://`for local YAML or JSON server definition files (see [Server Entry Specification](./server-entry-spec.md))
108
126
- Catalog servers are referenced by their name within the catalog
127
+
- File references should point to either a single server definition or a legacy catalog file with a `registry` map
109
128
110
129
**Notes:**
111
130
- You can add multiple servers in a single command
0 commit comments