Deployment: Dockerfile and Smithery config#45
Deployment: Dockerfile and Smithery config#45cameroncooke merged 4 commits intogetsentry:mainfrom smithery-ai:smithery/config-ma3b
Conversation
|
@calclavia Thanks for this and for adding my MCP to your registry. Given the nature of my MCP server and the fact that it needs access to the user's local file system and require Xcode and its command-line tools and therefore a macOS host to run how will this work as a remote server on your platform? |
In that case I'd recommend claiming it and marking it as local (on the settings page). If it's local we don't run it in a hosted fashion and it'll be just a listing. |
@calclavia I'm not seeing an option to claim? |
Ah, there was a bug on our end. Just fixed it. Can you try: https://smithery.ai/server/@cameroncooke/XcodeBuildMCP again? |
|
@calclavia I've claimed and marked the server as local only, do you want to revise this PR, assuming we don't need a docker file now? |
It's fine to keep a Dockerfile! In the future, when we support local, we'll likely be using the Dockerfile |
There was a problem hiding this comment.
Pull Request Overview
This pull request adds deployment support for the MCP server on Smithery by introducing a new Dockerfile for packaging and a Smithery configuration file. Additionally, the README has been updated with installation instructions and a badge.
- Added a Dockerfile to configure a multi-stage build for runtime.
- Created a Smithery configuration file with a commandFunction for server startup.
- Updated README with installation instructions for Smithery.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| smithery.yaml | New configuration file for defining the server startup command |
| README.md | Added instructions for installing the server via Smithery |
| Dockerfile | Introduces a multi-stage Docker build for packaging the server |
Comments suppressed due to low confidence (1)
smithery.yaml:12
- [nitpick] Consider adding inline documentation or a comment explaining the commandFunction to help maintainability in case additional configuration options are later introduced.
(config) => ({ command: 'xcodebuildmcp', args: [], env: {} })
| @@ -0,0 +1,38 @@ | |||
| # Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config | |||
| # Use a small base image with Node.js LTS | |||
| FROM node:lts-alpine AS build | |||
There was a problem hiding this comment.
Consider pinning the Node.js LTS image version (e.g., node:18.17.0-alpine) to improve build reproducibility.
| FROM node:lts-alpine AS build | |
| FROM node:18.17.0-alpine AS build |
This PR adds files for deploying your MCP server on Smithery. After deployment, users can use your server over streamable HTTP (hosted on Smithery) without needing to install any dependencies.
Changes
Server Details
@cameroncooke/XcodeBuildMCPAction Items