Orchard Core MCP Client - Prompt Templates
Configure MCP Clients
You are an Orchard Core expert. Generate admin, configuration, and recipe guidance for connecting Orchard Core to external MCP servers through the CrestApps MCP client features.
Guidelines
- Use
CrestApps.OrchardCore.AI.Mcp for remote MCP servers over SSE.
- Use
CrestApps.OrchardCore.AI.Mcp.Stdio for local MCP servers over standard input/output.
- Remote SSE connections are managed under Artificial Intelligence → MCP Connections.
- Sensitive secrets are encrypted at rest using ASP.NET Core Data Protection.
- Do not export encrypted values and do not commit plaintext secrets.
Feature Overview
| Transport |
Feature ID |
Description |
| SSE |
CrestApps.OrchardCore.AI.Mcp |
Connect to remote MCP servers over HTTP/SSE |
| Stdio |
CrestApps.OrchardCore.AI.Mcp.Stdio |
Connect to local MCP servers over stdin/stdout |
Enable the SSE MCP Client
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Mcp"
],
"disable": []
}
]
}
Add a Remote MCP Connection via Admin UI
- Navigate to Artificial Intelligence → MCP Connections.
- Click Add Connection.
- Under Server Sent Events (SSE), click Add.
- Enter:
- Display Text
- Endpoint such as
https://localhost:1234/
- Authentication method
- Save the connection.
SSE Authentication Types
| Type |
Description |
Anonymous |
No authentication |
ApiKey |
Sends an API key using a configurable header and optional prefix |
Basic |
Uses HTTP basic authentication |
OAuth2ClientCredentials |
Uses OAuth 2.0 client credentials |
OAuth2PrivateKeyJwt |
Uses a private key JWT client assertion |
OAuth2Mtls |
Uses mTLS with a client certificate |
CustomHeaders |
Sends raw headers as JSON |
SSE Recipe Example
{
"steps": [
{
"name": "McpConnection",
"connections": [
{
"DisplayText": "Example server",
"Properties": {
"SseMcpConnectionMetadata": {
"Endpoint": "https://localhost:1234/",
"AuthenticationType": "ApiKey",
"ApiKeyHeaderName": "Authorization",
"ApiKeyPrefix": "Bearer",
"ApiKey": "your-api-key-here"
}
}
}
]
}
]
}
Enable the Local MCP Client
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Mcp",
"CrestApps.OrchardCore.AI.Mcp.Stdio"
],
"disable": []
}
]
}
Add a Local MCP Connection via Admin UI
- Navigate to Artificial Intelligence → MCP Connections.
- Click Add Connection.
- Under Standard Input/Output (Stdio), click Add.
- Enter:
- Display Text:
Global Time Capabilities
- Command:
docker
- Command Arguments:
["run", "-i", "--rm", "mcp/time"]
- Save the connection.
Local Client Recipe Example
{
"steps": [
{
"name": "McpConnection",
"connections": [
{
"DisplayText": "Global Time Capabilities",
"Properties": {
"StdioMcpConnectionMetadata": {
"Command": "docker",
"Arguments": [
"run",
"-i",
"--rm",
"mcp/time"
]
}
}
}
]
}
]
}
Assign MCP Connections to AI Experiences
After creating a connection, assign it where needed:
- AI Profiles: select connections under the Capabilities tab.
- AI Templates: select connections under the Capabilities tab for profile-source templates.
- Chat Interactions: select connections under the Capabilities area of the interaction editor.
Security Notes
- Sensitive values such as API keys, client secrets, private keys, and certificates are encrypted at rest.
- Sensitive values are not exported in deployment packages.
- Do not commit raw secrets in recipes.
- Use secure secret storage for production deployments.
Best Practices
- Use SSE for remote MCP services shared across environments.
- Use Stdio for local tools, containers, and offline utilities.
- Give connections descriptive names so editors can choose correctly.
- Prefer standard authentication types over custom headers unless required.
1---2name: orchardcore-ai-mcp-client3description: Skill for configuring CrestApps MCP client connections in Orchard Core. Covers SSE and standard input/output transports, authentication, recipes, and assigning MCP connections to AI experiences. Use this skill when requests mention Orchard Core MCP Client, Configure MCP Clients, Feature Overview, Enable the SSE MCP Client, Add a Remote MCP Connection via Admin UI, SSE Authentication Types, or closely related Orchard Core implementation, setup, extension, or troubleshooting work. Strong matches include work with CrestApps.OrchardCore.AI.Mcp, CrestApps.OrchardCore.AI.Mcp.Stdio, CrestApps.OrchardCore.AI, ApiKey, OAuth2ClientCredentials, OAuth2PrivateKeyJwt, OAuth2Mtls, CustomHeaders. It also helps with Add a Remote MCP Connection via Admin UI, SSE Authentication Types, SSE Recipe Example, plus the code patterns, admin flows, recipe steps, and referenced examples captured in this skill.4license: Apache-2.05---67# Orchard Core MCP Client - Prompt Templates89## Configure MCP Clients1011You are an Orchard Core expert. Generate admin, configuration, and recipe guidance for connecting Orchard Core to external MCP servers through the CrestApps MCP client features.1213### Guidelines14- Use `CrestApps.OrchardCore.AI.Mcp` for remote MCP servers over SSE.15- Use `CrestApps.OrchardCore.AI.Mcp.Stdio` for local MCP servers over standard input/output.16- Remote SSE connections are managed under **Artificial Intelligence → MCP Connections**.17- Sensitive secrets are encrypted at rest using ASP.NET Core Data Protection.18- Do not export encrypted values and do not commit plaintext secrets.1920### Feature Overview2122| Transport | Feature ID | Description |23|-----------|-----------|-------------|24| SSE | `CrestApps.OrchardCore.AI.Mcp` | Connect to remote MCP servers over HTTP/SSE |25| Stdio | `CrestApps.OrchardCore.AI.Mcp.Stdio` | Connect to local MCP servers over stdin/stdout |2627### Enable the SSE MCP Client2829```json30{31 "steps": [32 {33 "name": "Feature",34 "enable": [35 "CrestApps.OrchardCore.AI",36 "CrestApps.OrchardCore.AI.Mcp"37 ],38 "disable": []39 }40 ]41}42```4344### Add a Remote MCP Connection via Admin UI45461. Navigate to **Artificial Intelligence → MCP Connections**.472. Click **Add Connection**.483. Under **Server Sent Events (SSE)**, click **Add**.494. Enter:50 - **Display Text**51 - **Endpoint** such as `https://localhost:1234/`52 - **Authentication** method535. Save the connection.5455### SSE Authentication Types5657| Type | Description |58|------|-------------|59| `Anonymous` | No authentication |60| `ApiKey` | Sends an API key using a configurable header and optional prefix |61| `Basic` | Uses HTTP basic authentication |62| `OAuth2ClientCredentials` | Uses OAuth 2.0 client credentials |63| `OAuth2PrivateKeyJwt` | Uses a private key JWT client assertion |64| `OAuth2Mtls` | Uses mTLS with a client certificate |65| `CustomHeaders` | Sends raw headers as JSON |6667### SSE Recipe Example6869```json70{71 "steps": [72 {73 "name": "McpConnection",74 "connections": [75 {76 "DisplayText": "Example server",77 "Properties": {78 "SseMcpConnectionMetadata": {79 "Endpoint": "https://localhost:1234/",80 "AuthenticationType": "ApiKey",81 "ApiKeyHeaderName": "Authorization",82 "ApiKeyPrefix": "Bearer",83 "ApiKey": "your-api-key-here"84 }85 }86 }87 ]88 }89 ]90}91```9293### Enable the Local MCP Client9495```json96{97 "steps": [98 {99 "name": "Feature",100 "enable": [101 "CrestApps.OrchardCore.AI",102 "CrestApps.OrchardCore.AI.Mcp",103 "CrestApps.OrchardCore.AI.Mcp.Stdio"104 ],105 "disable": []106 }107 ]108}109```110111### Add a Local MCP Connection via Admin UI1121131. Navigate to **Artificial Intelligence → MCP Connections**.1142. Click **Add Connection**.1153. Under **Standard Input/Output (Stdio)**, click **Add**.1164. Enter:117 - **Display Text**: `Global Time Capabilities`118 - **Command**: `docker`119 - **Command Arguments**: `["run", "-i", "--rm", "mcp/time"]`1205. Save the connection.121122### Local Client Recipe Example123124```json125{126 "steps": [127 {128 "name": "McpConnection",129 "connections": [130 {131 "DisplayText": "Global Time Capabilities",132 "Properties": {133 "StdioMcpConnectionMetadata": {134 "Command": "docker",135 "Arguments": [136 "run",137 "-i",138 "--rm",139 "mcp/time"140 ]141 }142 }143 }144 ]145 }146 ]147}148```149150### Assign MCP Connections to AI Experiences151152After creating a connection, assign it where needed:153154- **AI Profiles**: select connections under the **Capabilities** tab.155- **AI Templates**: select connections under the **Capabilities** tab for profile-source templates.156- **Chat Interactions**: select connections under the **Capabilities** area of the interaction editor.157158### Security Notes159160- Sensitive values such as API keys, client secrets, private keys, and certificates are encrypted at rest.161- Sensitive values are not exported in deployment packages.162- Do not commit raw secrets in recipes.163- Use secure secret storage for production deployments.164165### Best Practices166167- Use SSE for remote MCP services shared across environments.168- Use Stdio for local tools, containers, and offline utilities.169- Give connections descriptive names so editors can choose correctly.170- Prefer standard authentication types over custom headers unless required.