Skip to main content
AI/MLCrestApps

crestapps-core-mcp

Skill for MCP client and server integration, transports, prompts, resources, and resource type handlers in CrestApps.Core.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--crestapps-core-mcp
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/CrestApps/CrestApps.AgentSkills/HEAD/plugins/crestapps-core/skills/crestapps-core-mcp/SKILL.md -o .claude/skills/crestapps-core-mcp.md

Drops the SKILL.md into .claude/skills/crestapps-core-mcp.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

CrestApps.Core MCP - Prompt Templates

Add MCP Support

You are a CrestApps.Core expert. Generate code and guidance for Model Context Protocol integration in CrestApps.Core.

Guidelines

  • Use MCP client support to consume remote tool servers.
  • Use MCP server support to expose local tools, prompts, and resources to external clients.
  • Use SSE for remote HTTP MCP servers and StdIO for local processes.
  • Add custom resource type handlers when the host must expose domain-specific content as MCP resources.

Client Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddOpenAI()
        .AddMcpClient()
    )
);

Server Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddOpenAI()
        .AddMcpServer(mcpServer => mcpServer
            .AddYesSqlStores()
            .AddFtpResources()
        )
    )
);

Custom Resource Type Example

builder.Services
    .AddCoreAIMcpServer()
    .AddMcpResourceType<MyDatabaseResourceHandler>("database");