realtimex-cli-mcps
A brief description of your project.
Installation
pip install realtimex-cli-mcps
Usage
run-cli-as-mcps
Using as an MCP with UVX
To run your CLI as an MCP server using uvx with a specific configuration, you can define it in your mcpServers configuration. Here's an example based on your provided setup:
{
"mcpServers": {
"realtimex-cli-mcps": {
"command": "uvx",
"args": [
"--from",
"realtimex-cli-mcps",
"run-cli-as-mcps"
],
"env": {
"OPENAI_API_KEY": "",
"OPENAI_BASE_URL": "",
"TOOL_PACKAGES": "[{\"name\": \"ansiweather@latest\"}, {\"name\": \"doctranslate_translate\"}]"
}
}
}
}
{
"mcpServers": {
"realtimex-cli-mcps": {
"command": "uvx",
"args": [
"--from",
"realtimex-cli-mcps",
"run-cli-as-mcps"
],
"env": {
"OPENAI_API_KEY": "",
"OPENAI_BASE_URL": "",
"TOOL_PACKAGES": "[{\"cmd\": [\"uvx\", \"cowsay\"], \"doc_str\": \"\", \"help_cmd\": [\"uvx\", \"cowsay\", \"-h\"], \"name\": \"cowsay\"}]"
}
}
}
}
{
"mcpServers": {
"realtimex-cli-mcps": {
"command": "uvx",
"args": [
"--from",
"realtimex-cli-mcps",
"run-cli-as-mcps"
],
"env": {
"OPENAI_API_KEY": "",
"OPENAI_BASE_URL": "",
"TOOL_PACKAGES": "[{\"name\": \"ansiweather@latest\"}, {\"cmd\": [\"npx\", \"-y\", \"weather-cli\", \"weather\"], \"doc_str\": \"Usage\\n $ weather <input>\\n\\n Options\\n --city, -c City you want to lookup weather for (add state code after city name if city exists in multiple places)\\n --country, -C Country you want to lookup weather for\\n --scale, -s Weather scale. Defaults to Celcius\\n --help Show this help message\\n --version Display version info and exit\\n config Set the default location and scale\\n\\n Examples\\n $ weather -c Dhaka -C Bangladesh\\n Dhaka, Bangladesh\\n Condition: Partly Cloudy\\n Temperature: 32\\u00b0C\\n\\n $ weather config -c Dhaka -C Bangladesh -s F\\n Default location set to Dhaka, Bangladesh and scale to F\", \"help_cmd\": [], \"name\": \"weather-cli\"}, {\"cmd\": [\"uvx\", \"cowsay\"], \"doc_str\": \"\", \"help_cmd\": [\"uvx\", \"cowsay\", \"-h\"], \"name\": \"cowsay\"}, {\"name\": \"doctranslate_translate\"}]"
}
}
}
}
This configuration tells uvx how to launch your realtimex-cli-mcps as an MCP server, specifying the exact command, arguments (including the Git repository for the source), and environment variables like TOOL_PACKAGES which defines the available tools for your MCP server.
Development
- Clone the repository:
git clone https://github.com/your-username/realtimex-cli-mcps.git
- Install the dependencies:
pip install -e .
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for realtimex-cli-mcps 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| realtimex_cli_mcps-1.0.8.tar.gz | 9.3 kB | Without provenance | Details for realtimex_cli_mcps-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| realtimex_cli_mcps-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for realtimex_cli_mcps-1.0.8-py3-none-any.whl |
Total release size: 24.9 kB
Release files / realtimex_cli_mcps-1.0.8.tar.gz
| Download URL | realtimex_cli_mcps-1.0.8.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
555334f1a7870146c95da8e5bc0c6c6797416d28e5867a5e3ca11fedf44a1f38
|
|
BLAKE2b-256 checksum How to use checksums |
a96cdf7bf41b3c5482c72c43adc833b9175cf1371202ee96b86f99f37d018347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / realtimex_cli_mcps-1.0.8-py3-none-any.whl
| Download URL | realtimex_cli_mcps-1.0.8-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae801ca9137efb18a0e158343313acc2931f9c925f4b61460eca339ce802ddb7
|
|
BLAKE2b-256 checksum How to use checksums |
339304530564fd5860e0852964b7ec5dd175ca397ed132f7c5ac191c08a75686
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for realtimex-cli-mcps 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.