Add Dockerfiles for the 17 sample MCP servers

* add Dockerfiles and update README.md definitions
This commit is contained in:
Jim Clark 2024-12-10 11:56:46 -08:00
commit 368e3b23ca
No known key found for this signature in database
GPG key ID: 73305B2338AAA7BE

View file

@ -54,6 +54,19 @@ Add to your Claude settings:
```
</details>
<details>
<summary>Using docker</summary>
```json
"mcpServers": {
"time": {
"command": "docker",
"args": ["run", "-i", "--rm", "ai/mcp-time"]
}
}
```
</details>
<details>
<summary>Using pip installation</summary>
@ -179,6 +192,15 @@ npx @modelcontextprotocol/inspector uv run mcp-server-time
3. "When it's 4 PM in New York, what time is it in London?"
4. "Convert 9:30 AM Tokyo time to New York time"
## Build
Docker build:
```bash
cd src/time
docker build -t ai/mcp-time .
```
## Contributing
We encourage contributions to help expand and improve mcp-server-time. Whether you want to add new time-related tools, enhance existing functionality, or improve documentation, your input is valuable.