Skip to content

Capability Settings ​

Applicable roles: Administrators

Prerequisites: Model Providers has been configured

This page covers four of the seven layers of the platform's capability architecture: AI agent → scene → plugin → MCP tool. Together they determine what the AI can do.


Table of Contents ​

SectionContentPurpose
1. AI Agent SettingsMain agent / sub-agent, prompt, tool permissionsDefines the role of the AI
2. Dynamic ScenesPreset prompt + tool combinationsDistills frequently used workflows
3. Plugin ManagementRegister, install, enable/disable pluginsExtends AI capabilities
4. MCP ConfigurationConnect external tools and data sourcesConnects to the outside world

1. AI Agent Settings ​

AI agent list

ColumnDescription
NameAI agent name
TypeMain agent / Sub-agent
DescriptionWhat it is used for
StatusOnline / Offline
ActionsEdit, delete
TypeLimitPurpose
Main agentOnly the first primary agent is kept at runtimeThe platform's default assistant, and the default choice for all users
Sub-agentMultipleDedicated to specific tasks, delegated to by the main agent as needed

Note · The main agent is created by the installation wizard during initialization (named "Main AI Agent" by default). Changing the main agent briefly interrupts the sessions of all online users for about 2 seconds; session content is not lost.

1.1 Add an AI Agent ​

Add AI agent

FieldRequiredDescription
Name✅For example my-agent
Type✅Main agent / sub-agent
Description—What it is used for
System prompt—Defines the role and behavioral guidelines of the AI
Tool permissions—Check by category, see below
Avatar—png/jpg/webp, ≤ 2MB
Model—Leave blank to use the default language model
Status—Online / Offline

1.2 Tool Permissions ​

Tool permissions are checked by category, in 10 categories:

CategoryIncluded tools
File operationsread (read file contents), write (create new files), edit (modify existing files), apply_patch (apply patches)
File searchglob (find files by pattern), grep (search file contents), ast-grep search / replace
Shell commandsbash (execute commands)
Agent / sessiontask (subtask)
Webwebfetch (fetch web pages), websearch (search the web)
LSPLanguage Server Protocol related
To-do itemstodowrite (task list management)
Skill / MCPskill (invoke a Skill)
Background tasksBackground asynchronous tasks
Image generationimage_generation (AI image generation)

Tip · The broader the permissions, the stronger the AI capabilities but the higher the risk. Assign them by role: a role that only writes documentation can turn off bash and web; only give Shell and file write access to development roles.

Note · Modifying tool permissions requires the OpenCode service to be online so that the native tool list can be read. If you see "Failed to fetch the native tool list, please make sure the OpenCode service has started", first confirm that there is an online user container.

1.3 Edit and Delete ​

Edit AI agent

Delete AI agent

Before deleting the main agent, you must designate a new main agent; otherwise users will have no AI agent to select.


2. Dynamic Scenes ​

Scene list

A scene is a preset combination of prompt and tools. Once a user activates one, they no longer have to describe the background every time.

ColumnDescription
Scene nameName
DescriptionWhat it is used for
GroupsWhich groups can see this scene
ActionsEdit, reorder, delete

2.1 Add a Scene ​

Add scene

FieldRequiredDescription
Scene name✅For example "Code Review Scene"
Groups✅Select at least one; this determines who can see it
Scene description—Description of what it is for
Scene prompt—Injected into the conversation as an additional system instruction
Scene hint—The Markdown notice shown to the user when the scene is activated
Start a new session—Automatically opens a new session on activation, avoiding context bleed
Scene context—Context information injected via noReply
Status—Online / Offline

Tip · It is recommended to enable "Start a new session". When the same scene is applied repeatedly within the same session, contexts easily contaminate each other.

2.2 Edit and Delete ​

Edit scene

Delete scene

2.3 Ordering and Visibility ​

CapabilityDescription
OrderingAdjusts the order of scenes in the dropdown; frequently used scenes go first
PublicMakes the scene visible to all groups

3. Plugin Management ​

Plugin management list

ColumnDescription
NamePlugin name
DescriptionDescription of the functionality
VersionPlugin version
AuthorPlugin author
StatusRegistered / Installed / Disabled

3.1 Register a Plugin ​

On the list page, click "Register Plugin" and fill in the plugin metadata.

FieldRequiredDescription
Name✅For example my-plugin
Description—Description of the functionality
Version—For example 1.0.0
Author—Plugin author
Dependencies—Comma-separated, for example axios, lodash
Plugin code✅The TypeScript source code of the plugin

Note · Dependencies are automatically written into the npm dependency list of the user container by the platform. Registration only records metadata; it does not install anything.

3.2 Install and Uninstall ​

Plugin installed successfully

Uninstall plugin

ActionEffect
InstallWrites opencode.jsonc into the user container and pulls the npm dependencies
UninstallRemoves the configuration and the dependencies
Enable / DisableA temporary switch that does not affect the registration state
DeleteRemoves the plugin from the list

3.3 Show / Hide Disabled Items ​

Hide disabled

The list hides disabled plugins by default. Click "Show Disabled" to view all disabled items.

Show disabled


4. MCP Configuration ​

MCP configuration list

ColumnDescription
NameMCP name
SourceBuilt-in / System / User
TypeLocal (startup command) / Remote (URL)
StatusEnabled / Disabled
Connection statusConnected / Connection failed / Not connected / Awaiting authorization / Offline / Unknown

4.1 Built-in MCP ​

The platform ships with two public remote MCPs that work out of the box, with no API key:

NamePurposeAddress
context7Documentation searchhttps://mcp.context7.com/mcp
websearchWeb searchhttps://mcp.exa.ai/mcp?tools=web_search_exa

Private or paid MCPs have to be added by yourself.

4.2 Add an MCP ​

There are two editing methods, and the two are functionally equivalent.

Method 1 · Standard fields

Add MCP · standard fields

FieldRequiredDescription
Name✅For example my-mcp
Type✅Local / Remote
CommandRequired for localFor example npx -y @upstash/context7-mcp@latest
URLRequired for remoteFor example https://mcp.context7.com/mcp
Environment variables❌One KEY=value per line
Timeout❌In milliseconds, for example 30000

Method 2 · Source code (JSON)

Add MCP · source code

json
{
  "my-mcp": {
    "type": "local",
    "command": ["npx", "-y", "@upstash/context7-mcp@latest"],
    "enabled": true,
    "environment": {
      "CONTEXT7_API_KEY": "your-api-key"
    }
  }
}

4.3 Edit and Test ​

Edit MCP · standard fields

Edit MCP · source code

Test connection

4.4 Details ​

MCP details

The details fetch the tool list provided by that MCP in real time and show the fetch time.

StatusMeaningResolution
ConnectedCan be called normally—
Connection failedThe service is unreachableCheck the address, the credentials, and the network
Not connectedThe connection has not been established yetClick "Connect"
Awaiting authorizationAuthorization is requiredComplete the authorization as prompted

4.5 Delete ​

Delete MCP

Note · Starting, stopping, and modifying MCPs are hot-synced to all online user containers; no restart is needed.


5. Common Questions ​

SymptomCauseResolution
A user cannot see a sceneThe scene has no group assigned, or it is offlineEdit the scene to adjust its groups and status
The scene dropdown is emptyAll scenes are offlineCheck the status
The tool permission list is emptyThere is no online user containerConfirm that a user container is running
An MCP stays "Not connected""Connect" was never clicked, or the service is unreachableConnect manually and read the error message
A plugin cannot be installedThe dependency name is wrong or the network is unreachableCheck the dependency field
The user interface did not change after modifying an AI agentYou have to wait for the container to reload (about 20 seconds)Restarting the AI agent takes effect immediately
The MCP in the user's list has disappearedA user-created MCP is visible only to its ownerSee My MCP

PageContent
Model ProvidersConfiguration of the model layer
AssetsRepository binding and authorization for Skills and important documents

Released under Sogood Technology · Shenzhen Sogood Technology Co., Ltd.