MCP Tool Reference
Load this document via
skill_read mcp-tools. WorkAgent should consult it on demand when designing workflows.
Principle
Nuphus connects to external tools via MCP (Model Context Protocol). Each MCP server exposes a set of tools — which can be invoked just like built-in tools in workflows using kind: "mcp" steps:
{ "kind": "mcp", "server": "github", "tool": "search_issues",
"params": { "query": "repo:nuphus bug", "limit": 5 },
"capture": { "as": "issues", "as_type": "json" } }
server corresponds to a key in plugin/mcp/servers.yaml, tool is the MCP tool name, and capture.as_type: "json" automatically parses the response. Optional fields include timeout_secs and on_error (supports abort/skip/retry/allow_codes).
Configured Servers
The following list comes from plugin/mcp/servers.yaml. See individual server sections for specific tool signatures.
No MCP servers are currently configured. After configuring a new server in
plugin/mcp/servers.yaml, update the "Configured Servers" section of this document.
Tool Discovery
If a new server is configured in servers.yaml but its tools are not listed in this document:
- Introspect via
tools/listin a workflow:
{ "kind": "mcp", "server": "github", "tool": "tools/list",
"params": {}, "capture": { "as": "tools", "as_type": "json" } }
- Check the
{{tools}}variable for the full tool names and inputSchema
Common MCP Server Quick Reference
GitHub (@modelcontextprotocol/server-github)
Environment variable: GITHUB_PERSONAL_ACCESS_TOKEN
| Tool | Description |
|---|---|
search_repositories | Search repositories |
search_issues | Search issues |
create_issue | Create an issue |
create_pull_request | Create a PR |
get_file_contents | Read file contents |
create_or_update_file | Create or update a file |
Postgres (@modelcontextprotocol/server-postgres)
Environment variable: DATABASE_URL
| Tool | Description |
|---|---|
query | Execute SQL query |
Slack (@modelcontextprotocol/server-slack)
Environment variable: SLACK_BOT_TOKEN
| Tool | Description |
|---|---|
send_message | Send a message |
list_channels | List channels |
get_channel_history | Get channel history |
Filesystem (@modelcontextprotocol/server-filesystem)
Parameter: --directory /path/to/allowed/dir
| Tool | Description |
|---|---|
read_file | Read a file |
write_file | Write to a file |
list_directory | List directory contents |
search_files | Search for files |
Design Principles
- MCP over GUI: When an MCP server exists for the target software, prefer
kind: "mcp"— it is faster, more reliable, and does not depend on layout. - MCP over system_shell: MCP returns structured JSON, which is more reliable than parsing CLI text output.
- Degradation path: When an MCP server is unavailable, fall back to
system_shellto call the corresponding CLI.