Rolecraft logo

Rolecraft

Organization
rolecraft-sh

The security-first skill manager for AI agents — every install runs a security scan. Manage skills & MCP servers across 87 agents. Zero-dependency CLI.

Publisherrolecraft-sh
Repositoryrolecraft
LanguageJavaScript
Forks
43
Stars
83
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Rolecraft exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    83 stars and 43 forks from the linked repository.


Quick Start

bash
# Try without installing
npx rolecraft --help

# Install globally (npm, pnpm, yarn, bun)
npm install -g rolecraft

# Install a skill (local, GitHub, GitLab, SSH, npm)
rolecraft install ./my-skill --cursor

# Install a skill WITH its MCP servers
rolecraft install ./postgres-rules --cursor

# Detect all agents and install a skill to every one
rolecraft setup user/repo

Requirements: Node.js >= 20

Why zero dependencies? Every dependency is a supply-chain risk. rolecraft uses only Node.js built-ins (fs, path, crypto, https) — no node_modules surprises.

Full install guide → · Getting Started →


Features

  • Zero dependencies — 401.6 kB, only Node.js built-ins
  • Any source — local folder, GitHub/GitLab/SSH URL, npm package
  • 87 agents — opencode, claude-code, cursor, copilot, aider, oh-my-pi, and more
  • No registry required — works fully without a marketplace
  • Security scoring — static analysis on every install: prompt injection, command injection, obfuscated code, credential harvesting. Scores 0–100
  • CI-ready — lockfile-based re-install (rolecraft ci), --yes flag, --dry-run
  • MCP + Skills — install skills and their MCP servers in a single command
  • Shell completions — bash, zsh, fish auto-completion
  • Profile system — save, apply, and share multi-agent configurations

Full feature list → · Comparison vs skills (Vercel) →


Security

Every install is automatically scanned with static analysis that detects prompt injection, command injection, obfuscated code, and credential harvesting. Scores 0–100:

  • 90+ → SAFE, install proceeds
  • 70–89 → REVIEW, prompts for confirmation
  • <70 → DANGER, blocked unless --yes
bash
rolecraft install ./my-skill              # auto-scanned
rolecraft install ./my-skill --yes        # force install even if DANGER

→ Full security documentation


Commands

CommandDescription
rolecraft install <source>Install a skill (local, GitHub, npm, SSH)
rolecraft listShow all installed skills
rolecraft setup [<source>]Detect agents, optionally install to all
rolecraft search <query>Search GitHub for skills (TUI with --interactive)
rolecraft remove <slug>Uninstall a skill
rolecraft mcp install <source>Install an MCP server
rolecraft doctorRun system health check
rolecraft test <skill-path>Test a skill quality with built-in assertions

→ Full CLI Reference · All commands →


Node.js API

rolecraft exposes a programmatic API for your own scripts and tools:

js
import { install, list, search, doctor } from 'rolecraft'

const result = await install('./my-skill', { global: true })
const skills = await list()
const results = await search('code-review')
const health = await doctor()

All API functions return plain objects (no side-effects).

→ Full API Reference


Development

bash
git clone https://github.com/rolecraft-sh/rolecraft.git && cd rolecraft
npm install                # sets up the pre-commit hook automatically
npm link                   # rolecraft CLI runs from local checkout
npm run lint               # syntax + Biome checks
npm test                   # 1164+ tests, 0 fails expected

A pre-commit hook runs lint automatically on every commit. Zero-runtime-dependency policy is preserved — Biome and VitePress are devDependencies only.

→ Contributing guide


Support


Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.


⭐ If rolecraft makes your AI agent workflow easier, consider starring the repo.
It helps others discover the project and shows that the community finds it useful.


License

MIT

Use Rolecraft MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Rolecraft is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Rolecraft as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Rolecraft MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "rolecraft": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Rolecraft MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Rolecraft MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Rolecraft to help me with this task?
Rolecraft
Sure. I read it.
Here is what I found using Rolecraft.

Frequently asked questions

What is the Rolecraft MCP server used for?

Rolecraft is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Rolecraft MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Rolecraft with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Rolecraft MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Rolecraft connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Rolecraft MCP to TypingMind?

Rolecraft runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Rolecraft MCP provide in TypingMind?

Rolecraft exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Rolecraft MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Rolecraft requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇