Guides Orchard Core MCP integration: choosing client (remote SSE or local stdio), server (opt-in tool exposure), FTP/SFTP resource modules, and WebMCP browser-side tools. Covers admin screens, permissions, recipe steps, and deployment.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Model Context Protocol is an open standard for connecting LLM applications to tools and data. The CrestApps.OrchardCore.AI.Mcp package lets Orchard Core act as an MCP client (use tools hosted elsewhere) and as an MCP server (offer Orchard Core tools, prompts, and resources to other AI apps).
| Goal | Feature ID | Skill |
|---|---|---|
| Call tools on a remote MCP server over HTTP | CrestApps.OrchardCore.AI.Mcp | orchardcore-ai-mcp-client |
| Run a local MCP server process (for example Docker) | CrestApps.OrchardCore.AI.Mcp.Stdio | orchardcore-ai-mcp-client |
| Let IDEs and AI apps call Orchard Core tools, prompts, resources | CrestApps.OrchardCore.AI.Mcp.Server | orchardcore-ai-mcp-server |
| Expose FTP/FTPS files as MCP resources | CrestApps.OrchardCore.AI.Mcp.Resources.Ftp | orchardcore-ai-mcp-resources |
| Expose SFTP files as MCP resources | CrestApps.OrchardCore.AI.Mcp.Resources.Sftp | orchardcore-ai-mcp-resources |
Give tools to AI agents in the user's browser (document.modelContext), and let the AI chat use the open page's tools | CrestApps.OrchardCore.AI.WebMcp | orchardcore-ai-webmcp |
All MCP features depend on CrestApps.OrchardCore.AI. The client feature also depends on CrestApps.OrchardCore.Resources, and the stdio and resource features depend on the client and server features respectively. Install the packages in the web/startup project.
McpServerOptions.Tools / ExposeAllTools.OpenId authentication for the server in production; None is for local development only.AccessAITool_{name} or AccessAnyAITool).Under Artificial Intelligence > Model Context Protocol:
| Screen | Feature | Permission |
|---|---|---|
| MCP Hosts | MCP Client | ManageMcpConnections |
| Prompts | MCP Server | ManageMcpPrompts |
| Resources | MCP Server | ManageMcpResources |
The MCP server fields of Settings > Artificial Intelligence (its section of the Authentication card and the Exposed tools card) need ManageMcpServerSettings. Calling the server in OpenId mode needs AccessMcpServer when RequireAccessPermission is true. All three lists render through Orchard Core's AdminList shape (McpConnections, McpPrompts, McpResources); see orchardcore-admin-lists.
| Step | Root array | Notes |
|---|---|---|
McpConnection | Connections | Source (sse or stdio) is required for a new connection |
McpPrompt | Prompts | Prompt.Name is the key; messages use role user or assistant |
McpResource | Resources | Source is the resource type; Resource.Uri may be the path portion |
With OrchardCore.Deployment enabled, the MCP Connections, MCP Prompts and MCP Resources deployment steps appear under Artificial Intelligence in the deployment-plan editor and export in the same shape the recipe steps import (secrets blanked). With CrestApps Recipes (CrestApps.OrchardCore.Recipes) enabled, all three recipe steps have JSON schemas, so the JSON import editor and the recipe-step-schema MCP resource validate them.
Connect to a remote MCP server and expose Orchard Core's own content search to MCP clients:
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.AI",
"CrestApps.OrchardCore.AI.Agent",
"CrestApps.OrchardCore.AI.Mcp",
"CrestApps.OrchardCore.AI.Mcp.Server"
],
"disable": []
},
{
"name": "McpConnection",
"Connections": [
{
"Source": "sse",
"DisplayText": "Remote tools server",
"Properties": {
"SseMcpConnectionMetadata": {
"Endpoint": "https://mcp-tools.example.com/",
"AuthenticationType": "Anonymous"
}
}
}
]
}
]
}
Then allow the tools for MCP clients in appsettings.json (or on the Exposed tools card):
{
"OrchardCore": {
"CrestApps": {
"AI": {
"McpServer": {
"AuthenticationType": "OpenId",
"RequireAccessPermission": true,
"Tools": [ "searchForContentItems", "getContentItemById" ]
}
}
}
}
}
An AI provider connection and a chat deployment are also needed before profiles can use the remote tools; see orchardcore-ai-connections and orchardcore-ai-providers. More end-to-end samples are in references/ai-mcp-examples.md.
ExposeAllTools: true, after upgrading.McpServerOptions is refreshed live through IOptionsMonitor<T>; code reading it through IOptions<T> must switch.AdminList shape; whole-row template overrides only apply to the List layout.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, model-context-protocol, mcp-client, mcp-server, webmcp
/crestapps-orchardcore:orchardcore-ai-mcpfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job