skillshare icon indicating copy to clipboard operation
skillshare copied to clipboard

Is it possible to add support for mcp tools?

Open 7zq12lvm-b opened this issue 8 months ago • 6 comments

Editing each agent config files is quit a burden LoL

7zq12lvm-b avatar Mar 22 '26 06:03 7zq12lvm-b

Thanks for the suggestion! This has been requested before in #30, where I explained the architectural challenges — skills are atomic files that can be symlinked, but MCP configs are JSON entries embedded in larger config files with different schemas per tool.

That said, I've been rethinking this recently and exploring a non-destructive approach that stays true to skillshare's symlink philosophy.

runkids avatar Mar 23 '26 01:03 runkids

@runkids are you still thinking about MCP support?

salmonumbrella avatar May 15 '26 05:05 salmonumbrella

I did a quick pass over the current config/extras flow to see where MCP could fit without violating the architecture concern from #30.

Current relevant shape:

  • ExtraConfig / ExtraTargetConfig already model arbitrary resource groups, but targets are directories (path, mode, flatten, optional extension).
  • sync.SyncExtra() syncs files into a target directory. With extension, it still transforms one source file into one output file under that target directory.
  • TargetConfig has first-class skills and agents subkeys, but no generic structured-config resource type.

That means MCP support probably should not start as "sync extras into each agent config file". That would require a new JSON merge/apply engine, conflict policy, backup/rollback behavior, and per-tool schemas, which is the large maintenance surface called out in #30.

A narrower non-destructive path that seems compatible with the current architecture:

  1. Treat MCP servers as portable source definitions, e.g. one file per server under an extras/mcp/-style source directory.
  2. Add a render/preview layer first, not an apply layer: generate target-specific config snippets to stdout or a generated sidecar directory, but do not mutate the real tool config files.
  3. Keep target adapters explicit and small. Start with one target schema only, with tests for preserving env/args and rejecting machine-specific absolute paths unless explicitly allowed.
  4. Only after that shape is accepted, consider an opt-in apply mode with --dry-run default, backups, and clear conflict errors when the existing JSON already has the same server key.

So the first PR could avoid the hard part entirely: parser + renderer + docs/tests for one MCP target, no writes to live config files. That would answer the "editing each config is a burden" use case partially, while keeping the destructive JSON merge problem out of scope until the schema and UX are proven.

TIR44 avatar May 31 '26 11:05 TIR44

Could you share an update on the development status of this feature? At the moment, skillshare’s lack of support for plugins, MCP servers, and similar components significantly limits its use cases, forcing users to look for alternative solutions. I hope support for these features can be added soon.

Cassiel-girl avatar Sep 15 '26 18:09 Cassiel-girl

Update for everyone following this: MCP support shipped in v0.21.0, and plugins came with it. https://github.com/runkids/skillshare/releases/tag/v0.21.0

MCP. Define a server once and sync mcp writes it into each Agent's own config, in that Agent's format (JSON, JSONC, TOML or YAML):

skillshare mcp add                 # guided: URL, command, or pasted JSON
skillshare mcp import --from claude   # adopt what an Agent already has
skillshare sync mcp --dry-run      # preview
skillshare sync mcp                # apply

It covers 20 clients, including Claude Code, Codex, Cursor, VS Code, OpenCode, Gemini CLI, Copilot CLI, Cline, Goose and Windsurf, in global and project scope where the client supports it. Secrets stay out of the files: values are written as references to environment variables. Guide: https://skillshare.runkids.cc/docs/how-to/daily-tasks/sharing-mcp

@TIR44 your outline was close to where this landed. Servers are portable source definitions with a small adapter per client, there is a preview before any write, every write takes a backup you can restore, and an existing entry with the same name is reported as a conflict instead of being overwritten. Only the entries Skillshare manages are touched; the rest of each config file is left as it is.

@Cassiel-girl plugins are in the same release: keep a plugin's skills, hooks and MCP settings together and choose which tools receive it. https://skillshare.runkids.cc/docs/how-to/daily-tasks/sharing-plugins

The dashboard (skillshare ui) has an MCP page and a Plugins page if you would rather click than type.

Closing this since it is released. Please try it, and open a new issue for anything that does not fit your setup.

runkids avatar Sep 19 '26 18:09 runkids

MCP support shipped in v0.21 — see skillshare mcp. Thanks for the push on this!

runkids avatar Sep 21 '26 04:09 runkids