← 返回
沟通协作 中文

Coala Client

How to use the coala-client CLI for chat with LLMs, MCP servers, and skills. Use when the user asks how to use coala, run coala chat, add MCP servers, import...
介绍如何使用 coala-client CLI 与 LLM、MCP 服务器及技能对话。当用户询问 coala 用法、运行 coala chat、添加 MCP 服务器或导入...时适用。
hubentu
沟通协作 clawhub v0.1.2 1 版本 99901.8 Key: 无需
★ 0
Stars
📥 1,017
下载
💾 8
安装
1
版本
#latest

概述

Coala Client

Part of the coala ecosystem. CLI for chat with OpenAI-compatible LLMs (OpenAI, Gemini, Ollama) and MCP (Model Context Protocol) servers. Supports importing CWL toolsets as MCP servers, importing skills.

Config paths

  • MCP config and toolsets: ~/.config/coala/mcps/
  • mcp_servers.json — server definitions
  • / — per-toolset dirs with run_mcp.py and CWL files
  • Skills: ~/.config/coala/skills/ (one subfolder per imported source)
  • Env: ~/.config/coala/env (optional; key=value for providers and MCP env)

Quick start

  1. Init (first time)

coala init — creates ~/.config/coala/mcps/mcp_servers.json and env.

  1. Set API key

e.g. export OPENAI_API_KEY=... or export GEMINI_API_KEY=.... Ollama needs no key.

  1. Chat

coala or coala chat — interactive chat with MCP tools.

coala ask "question" — single prompt with MCP.

  1. Options

-p, --provider (openai|gemini|ollama|custom), -m, --model, --no-mcp.

MCP: CWL toolsets

No API key needed for MCP import, list, or call — only for chat/ask with an LLM.

  • Import (creates toolset under ~/.config/coala/mcps// and registers server):

coala mcp-import or alias coala mcp ...

SOURCES: local .cwl files, a .zip, or http(s) URLs to a .cwl or .zip.

Requires the coala package where the MCP server runs (for run_mcp.py).

  • List

coala mcp-list — list server names.

coala mcp-list — print each tool’s schema (name, description, inputSchema).

  • Call

coala mcp-call . --args ''

Example: coala mcp-call gene-variant.ncbi_datasets_gene --args '{"data": [{"gene": "TP53", "taxon": "human"}]}'

Skills

  • Import (into ~/.config/coala/skills/, one subfolder per source):

coala skill

SOURCES: GitHub tree URL (e.g. https://github.com/owner/repo/tree/main/skills), zip URL, or local zip/dir.

  • In chat

/skill — list installed skills.

/skill — load skill from ~/.config/coala/skills// (e.g. SKILL.md) into context.

Chat commands

  • /help, /exit, /quit, /clear
  • /tools — list MCP tools
  • /servers — list connected MCP servers
  • /skill — list skills; /skill — load a skill
  • /model — show model info
  • /switch — switch provider

MCP on/off

  • All off: coala --no-mcp (or coala ask "..." --no-mcp).
  • One server off: remove its entry from ~/.config/coala/mcps/mcp_servers.json.
  • On: default when --no-mcp is not used; add or restore servers in mcp_servers.json.

Providers and env

Set provider via -p or env PROVIDER. Set keys and URLs per provider (e.g. OPENAI_API_KEY, GEMINI_API_KEY, OLLAMA_BASE_URL). Optional: put vars in ~/.config/coala/env.

coala config — print current config paths and provider/model info.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-03-29 10:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,748
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,630

Coala Client

hubentu
如何使用 coala-client CLI 与大模型、MCP 服务器和技能进行聊天。当用户询问如何使用 coala、运行 coala chat、添加MCP 服务器、导入等情形时使用。
★ 0 📥 278