CLI Commands
resources
Theresources command manages resources for MCP servers, such as model weights, configuration files, and datasets.
Usage
Description
Theresources command provides tools for managing the various resources needed by MCP servers. This includes uploading, downloading, and managing model weights, configuration files, datasets, and other assets.
Resources are stored securely in the Cogni+ Platform and can be referenced by your MCP servers during development and deployment.
Subcommands
| Subcommand | Description |
|---|---|
list | List resources available to your account |
upload | Upload a new resource to the Cogni+ Platform |
download | Download a resource to your local environment |
delete | Delete a resource from the Cogni+ Platform |
info | Show detailed information about a resource |
link | Link a resource to an MCP server |
unlink | Remove a link between a resource and an MCP server |
Common Options
| Option | Description |
|---|---|
--help | Show help message for the resources command or subcommand |
Examples
List Resources
Upload Resources
Download Resources
Resource Types
Cogni+ supports several types of resources:- model-weights: Model parameter files
- config: Configuration files
- dataset: Training or evaluation datasets
- embeddings: Pre-computed embeddings
- tokenizer: Tokenizer files
- other: Miscellaneous files
Output
For thelist command:
info command:
Security
Resources are securely stored in the Cogni+ Platform with encryption at rest and in transit. Access is controlled by your account permissions and organization settings.Related Commands
cogni publish- Publish an MCP server that uses resourcescogni mcp- Manage MCP servers that use resources
Tips
- Use descriptive names and add descriptions to resources for better organization
- For large resources, ensure you have a stable internet connection
- Resources are stored at the organization level and can be shared between team members
- Link resources to servers to make them automatically available during deployment