Add your description here
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file realtimex_cli_mcps-1.0.7.tar.gz.
File metadata
- Download URL: realtimex_cli_mcps-1.0.7.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea95c46ed0bf43979368725967c17fc0842c87a1829a5e7f9c262d23be9f0bb4
|
|
| MD5 |
c4c7ccd38ef1889342efc1bd819f2ddb
|
|
| BLAKE2b-256 |
dee7794b9c96d60745230934114573de1192ef6764d2ee634c0a0fc2c49cdc1d
|
File details
Details for the file realtimex_cli_mcps-1.0.7-py3-none-any.whl.
File metadata
- Download URL: realtimex_cli_mcps-1.0.7-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9889be015ea8f6b654ca83bbd4b9c2c658a402eef1172fc039de2e398efc7ce0
|
|
| MD5 |
ba4c719696bb7e6e85bf0a84f6a5feef
|
|
| BLAKE2b-256 |
b3d5b22970028032263302392e9fa7a1500552f5026aee7bb9b5dc55e0f60840
|