跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Containerize MCP Server

技能 已验证 活跃

Containerize an R-based MCP (Model Context Protocol) server using Docker. Covers mcptools integration, port exposure, stdio vs HTTP transport, and connecting Claude Code to the containerized server. Use when deploying an R MCP server without requiring a local R installation, creating a reproducible MCP server environment, running MCP servers alongside other containerized services, or distributing an MCP server to other developers.

目的

To provide a robust and reproducible method for deploying R MCP servers in containerized environments, simplifying distribution and integration with other services.

功能

  • Dockerfile creation for R MCP servers
  • Docker Compose configuration for MCP server deployment
  • Integration with mcptools and R package management
  • Connection guidance for Claude Code (stdio and HTTP)
  • Custom tool loading within the container

使用场景

  • Deploying R MCP servers without local R installations
  • Creating reproducible MCP server environments
  • Running MCP servers alongside other containerized services
  • Distributing MCP servers to other developers

非目标

  • Managing R package development beyond installation in the container
  • Advanced Dockerfile optimization for production environments
  • Troubleshooting general R or Docker installation issues

工作流

  1. Create Dockerfile for MCP Server
  2. Create docker-compose.yml
  3. Build and Start the Docker container
  4. Connect Claude Code to the Container
  5. Verify Connection
  6. Add Custom MCP Tools

实践

  • Containerization
  • Reproducible Environments
  • DevOps Workflows

先决条件

  • R MCP server implementation
  • Docker installed and running
  • Optional: Additional R packages
  • Optional: Transport mode configuration

安装

/plugin install agent-almanac@pjt222-agent-almanac

质量评分

已验证
100 /100
about 23 hours ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码

类似扩展

Optimize Docker Build Cache

99

Optimize Docker build times using layer caching, multi-stage builds, BuildKit features, and dependency-first copy patterns. Applicable to R, Node.js, and Python projects. Use when Docker builds are slow due to repeated package installations, when rebuilds reinstall all dependencies on every code change, when image sizes are unnecessarily large, or when CI/CD pipeline builds are a bottleneck.

技能
pjt222

Build Custom Mcp Server

100

Build a custom MCP (Model Context Protocol) server that exposes domain-specific tools to AI assistants. Covers server implementation in Node.js or R, tool definitions, transport configuration, and testing with Claude Code. Use when you need to expose custom functionality beyond what mcptools provides, when building specialized domain-specific AI integrations, or when wrapping existing APIs or services as MCP tools.

技能
pjt222

Create Multistage Dockerfile

99

Create multi-stage Dockerfiles that separate build and runtime environments for minimal production images. Covers builder/runtime stage separation, artifact copying, scratch/distroless/alpine targets, and size comparison. Use when production images are too large, when build tools are included in the final image, when you need separate dev and prod images from one Dockerfile, or when deploying to constrained environments like edge or serverless.

技能
pjt222

Create Dockerfile

98

Create general-purpose Dockerfiles for Node.js, Python, Go, Rust, and Java projects. Covers base image selection, dependency installation, user permissions, COPY patterns, ENTRYPOINT vs CMD, and .dockerignore. Use when containerizing an application for the first time, creating a consistent build/runtime environment, preparing an app for cloud deployment or Docker Compose, or when no existing Dockerfile is present in the project.

技能
pjt222

Docker Development

98

Docker and container development agent skill and plugin for Dockerfile optimization, docker-compose orchestration, multi-stage builds, and container security hardening. Use when: user wants to optimize a Dockerfile, create or improve docker-compose configurations, implement multi-stage builds, audit container security, reduce image size, or follow container best practices. Covers build performance, layer caching, secret management, and production-ready container patterns.

技能
alirezarezvani

Azure Deploy

100

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.

技能
microsoft