{"id":28579636,"url":"https://github.com/pinkpixel-dev/datetime-mcp","last_synced_at":"2025-07-06T20:06:06.938Z","repository":{"id":296340086,"uuid":"961168147","full_name":"pinkpixel-dev/datetime-mcp","owner":"pinkpixel-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-30T05:26:47.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T06:54:40.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pinkpixel-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-05T22:42:19.000Z","updated_at":"2025-04-05T22:42:59.000Z","dependencies_parsed_at":"2025-05-30T06:54:49.554Z","dependency_job_id":"e0b7293e-38c0-4047-a191-59a551bd1243","html_url":"https://github.com/pinkpixel-dev/datetime-mcp","commit_stats":null,"previous_names":["pinkpixel-dev/datetime-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinkpixel-dev%2Fdatetime-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinkpixel-dev%2Fdatetime-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinkpixel-dev%2Fdatetime-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinkpixel-dev%2Fdatetime-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinkpixel-dev","download_url":"https://codeload.github.com/pinkpixel-dev/datetime-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinkpixel-dev%2Fdatetime-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259184767,"owners_count":22818271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T02:09:06.655Z","updated_at":"2025-06-11T02:09:12.312Z","avatar_url":"https://github.com/pinkpixel-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @pinkpixel/datetime-mcp MCP Server ⏰\n\n[![smithery badge](https://smithery.ai/badge/@pinkpixel-dev/datetime-mcp)](https://smithery.ai/server/@pinkpixel-dev/datetime-mcp)\n\nA simple MCP server that provides LLMs with the current date and time context based on the server's system clock.\n\nThis is a TypeScript-based MCP server that demonstrates a basic tool implementation for the Model Context Protocol.\n\n## Features ✨\n\n### Tools\n- **`get_current_datetime`**: Returns the current date and time of the server as an ISO 8601 formatted string (e.g., `2025-04-05T22:30:00.000Z`).\n  - Takes no input parameters.\n\n## Installation 🚀\n\nThere are two ways to install and configure this MCP server:\n\n### Installing via Smithery\n\nTo install datetime-mcp for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@pinkpixel-dev/datetime-mcp):\n\n```bash\nnpx -y @smithery/cli install @pinkpixel-dev/datetime-mcp --client claude\n```\n\n### 1. Installation from NPM (Recommended)\n\nInstall the package globally using npm:\n```bash\nnpm install -g @pinkpixel/datetime-mcp\n```\n\nThen, add the following configuration to your MCP client's settings file.\n\n```json\n{\n  \"mcpServers\": {\n    \"datetime\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@pinkpixel/datetime-mcp\"\n      ],\n      \"disabled\": false,\n      \"alwaysAllow\": [\n        \"get_current_datetime\"\n      ]\n    }\n  }\n}\n```\n*(Restart your MCP client application after updating the settings)*\n\n### 2. Local Development Setup\n\nIf you want to run the server directly from a cloned repository for development or testing:\n\n1.  Clone the repository:\n    ```bash\n    # git clone https://github.com/pinkpixel/datetime-mcp.git\n    cd datetime-mcp\n    ```\n2.  Install dependencies:\n    ```bash\n    npm install\n    ```\n3.  Build the server:\n    ```bash\n    npm run build\n    ```\n4.  Add the following configuration to your MCP client's settings file, **making sure to replace `/path/to/datetime-mcp` with the actual absolute path** to where you cloned the repository:\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"datetime-local\": {\n          \"command\": \"node\",\n          \"args\": [\"/path/to/datetime-mcp/build/index.js\"],\n          \"disabled\": false,\n          \"alwaysAllow\": [\n            \"get_current_datetime\"\n          ]\n        }\n        \n      }\n    }\n    ```\n    *(Restart your MCP client application after updating the settings)*\n\n### Debugging 🐞\n\nSince MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:\n\n```bash\nnpm run inspector\n```\n\nThe Inspector will provide a URL to access debugging tools in your browser.\n\n## License 📄\n\nMIT License - Copyright (c) 2025 Pink Pixel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinkpixel-dev%2Fdatetime-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinkpixel-dev%2Fdatetime-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinkpixel-dev%2Fdatetime-mcp/lists"}