CommunityWriting & Editinggithub.com

mrpulor-gh/nuphus

Nuphus — Local-first AI agent with real desktop execution and dual-device real-time sync.

What is nuphus?

Nuphus is a local-first AI agent designed for real desktop execution and dual-device real-time synchronization. It leverages the Model Context Protocol (MCP) to connect with external tools, enabling the agent to perform tasks like searching GitHub issues, querying databases, sending Slack messages, and managing files through structured MCP tool calls. Its workflow designer prioritizes MCP over GUI and shell-based methods for reliability and structured data handling. The skill supports configuring MCP servers via a YAML file, and provides a fallback to system shell commands when MCP servers are unavailable. Currently, no MCP servers are pre-configured; users must define them in `plugin/mcp/servers.yaml` and update the documentation accordingly.

Works with~Claude Code~Codex CLI~Cursor
npx skills add mrpulor-gh/nuphus

Installed? Explore more Writing & Editing skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

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:

  1. Introspect via tools/list in a workflow:
{ "kind": "mcp", "server": "github", "tool": "tools/list",
  "params": {}, "capture": { "as": "tools", "as_type": "json" } }
  1. 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

ToolDescription
search_repositoriesSearch repositories
search_issuesSearch issues
create_issueCreate an issue
create_pull_requestCreate a PR
get_file_contentsRead file contents
create_or_update_fileCreate or update a file

Postgres (@modelcontextprotocol/server-postgres)

Environment variable: DATABASE_URL

ToolDescription
queryExecute SQL query

Slack (@modelcontextprotocol/server-slack)

Environment variable: SLACK_BOT_TOKEN

ToolDescription
send_messageSend a message
list_channelsList channels
get_channel_historyGet channel history

Filesystem (@modelcontextprotocol/server-filesystem)

Parameter: --directory /path/to/allowed/dir

ToolDescription
read_fileRead a file
write_fileWrite to a file
list_directoryList directory contents
search_filesSearch 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_shell to call the corresponding CLI.

Related Skills