Skip to content

Conversation

@cs50victor
Copy link

@cs50victor cs50victor commented Jan 20, 2026

Summary

Adds mcpx as a builtin skill providing lightweight MCP tool access via CLI.

What mcpx provides:

  • On-demand tool discovery without loading all schemas upfront (zero token cost)
  • Daemon mode for stateful operations (browser automation, database transactions)
  • Simple CLI interface: mcpx server/tool '{"args": ...}'

Pain points addressed:

Issue Problem How mcpx helps
#882 MCP startup takes 2-3 minutes Daemon mode provides instant tool availability
#878 Tools show connected but not exposed Reliable discovery via mcpx / mcpx grep
#949 No way to prefer custom tools mcpx grep "*pattern*" enables tool selection

Changes

  • Added mcpxSkill to src/features/builtin-skills/skills.ts
  • Skill includes:
    • Quick reference for common commands
    • Daemon mode documentation for stateful operations
    • Decision tree for when to use daemon vs direct calls
    • Anti-patterns section

Test plan

  • bun run typecheck passes
  • Manual testing: invoke skill via /skill mcpx in OpenCode

Note

mcpx is available at: https://github.com/cs50victor/mcpx

Install: brew install cs50victor/tap/mcpx or bun install -g mcpx


Summary by cubic

Adds mcpx as a builtin skill to discover and invoke MCP tools via a simple CLI, with a daemon mode for stateful workflows. Improves tool availability and selection, addressing #882 (startup delay), #878 (tools not exposed), and #949 (tool preference).

  • New Features
    • Added mcpxSkill to builtin skills for on-demand MCP tool discovery without schema preload (zero token cost).
    • Supports daemon mode for persistent state (browser automation, database transactions).
    • Includes quick command reference, decision tree, and anti-patterns in the skill template.
    • Enables reliable tool search and selection via grep.

Written for commit 58a659c. Summary will update on new commits.

Adds mcpx as a builtin skill providing:
- On-demand MCP tool discovery without upfront token cost
- Daemon mode for stateful operations (browser, database)
- Clear decision tree for when to use daemon vs direct calls

Addresses pain points from:
- code-yeongyu#882: MCP startup delay (daemon provides instant availability)
- code-yeongyu#878: Tools not exposed despite connection (reliable discovery)
- code-yeongyu#949: No tool preference system (mcpx grep enables selection)
@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

All contributors have signed the CLA. Thank you! ✅
Posted by the CLA Assistant Lite bot.

@cs50victor
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jan 20, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Since this is your first cubic review, here's how it works:

  • cubic automatically reviews your code and comments on bugs and improvements
  • Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
  • Ask questions if you need clarification on any suggestion

@cs50victor cs50victor changed the title feat(skill): add mcpx builtin skill for MCP tool discovery feat(skill): enable advanced MCP tool use with mcpx Jan 20, 2026
@code-yeongyu
Copy link
Owner

Thank you for this contribution! I need some time to think about whether this approach aligns with the project direction. Will get back to you soon.

@code-yeongyu code-yeongyu self-assigned this Jan 24, 2026
@cs50victor
Copy link
Author

sounds good, i personally switched to using the cli for all mcps and haven't found a reason to switch back since.

@code-yeongyu
Copy link
Owner

Thank you for this contribution!

I've reviewed the PR and decided to close it for the following reasons:

  1. Architecture mismatch: The skills structure has been refactored to use separate files (skills/index.ts), while this PR adds the mcpx skill inline to skills.ts, making it incompatible with the current codebase.

  2. Conflicting state: The PR is in CONFLICTING status and would require significant rebasing to merge with the current dev branch.

  3. External dependency: mcpx is a third-party CLI tool that requires manual installation (brew or bun install -g), which adds friction for users. The project prefers native solutions.

  4. Progress on pain points:

  5. Alternative implementations: The project now has:

The mcpx CLI approach doesn't align with the project's direction of building native, integrated solutions rather than relying on external CLI tools.

Feel free to reopen if you'd like to discuss an alternative approach that integrates natively or if you have questions about the decision.

@cs50victor
Copy link
Author

understandable. Appreciate the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants