llmapi-cli
Command-line client and python development library for accessing LLM's OpenAPI :computer:
Links
README
From the repo.
LLMApi Cli
Talk to LLMs like ChatGPT in command line
Introduction
llmapi_cli is a command-line tool that can directly chat with chatgpt/gpt3 and more large language models(LLM), based on the llmapi-server interface.
At the same time llmapi_cli also provides Python module (LLMClient).
For more information visit: llmapi.io
Install
# install from pypi
python3 -m pip install llmapi_cli
# install locally
python3 setup.py install
Usage
# The first time you use this command,
# you need to specify parameters, this
# will be cached after successful connection.
#
# If you use your own llmapi-server:
llmapi_cli --host='http://127.0.0.1:5050' --bot=mock
#
# If you use api.llmapi.io (which is default host):
llmapi_cli --bot=mock --apikey='your apikey on llmapi.io'
# You can directly use this command again:
llmapi_cli
#
# Or change the bot type:
llmapi_cli --bot=gpt3
#
# Or redesignate params like first time.
Screenshot

Currently supported bot type
View llmapi-server for more information.
Warning: Currently for testing only
Collected info
- ★ 9 stars
- ⎇ 2 forks
- Language: Python
- Source updated: 2/4/2025
Config for your environment
Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "{MCP_ENDPOINT_URL}"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.