Purpose
Skill Ninja MCP Server is an MCP (Model Context Protocol) server used to search, install, and manage AI agent skills (Agent Skills, i.e., skill definitions that exist in the form of SKILL.md files). It is intended for users using MCP-compatible clients, helping them discover, obtain, and maintain agent skills in their local environment.
Main Capabilities
- Search skills: Search for available agent skills from GitHub repositories; search results list the source name of each skill.
- Install and manage skills: Provides tools to install, localize, and uninstall skills. During installation, it attempts to fetch the original SKILL.md from the source repository; if the source file cannot be parsed or downloaded, it uses the local index to generate a minimal file and reports this fallback behavior in the result.
- Workspace analysis: The workspace can be analyzed to generate personalized recommendations.
- Duplicate name handling: If multiple sources publish skills with the same name, the optional source field can be passed in skillNinja_install or skillNinja_localize to distinguish them. The installed skill list records the source, and the server refuses to overwrite an installed skill with a skill of the same name from a different source. If some skill names match multiple different skills, the install, localize, and uninstall processes stop and require an exact skill name, rather than selecting the first match.
- Security restrictions: Tools that modify the workspace only run within trusted workspace root directories. By default, the current working directory is trusted only when it appears to be a project root directory. One or more trusted root directories can be set via the environment variable SKILL_NINJA_TRUSTED_WORKSPACES, with multiple root directories separated by the operating system path separator. Any request located outside the trusted root directories is rejected before any read, write, or delete occurs.
- Network timeouts: GitHub API and raw content fetching use bounded timeouts, thereby returning control in the event of network failure instead of letting the MCP server hang indefinitely.
Usage
It can be used with MCP-compatible clients such as Claude Desktop, Cursor, and VS Code, and can also be run directly via npx.
Configuration examples:
- Claude Desktop: The configuration file is located at
~/.claude/claude_desktop_config.json. - VS Code: The configuration file is located at
%APPDATA%\Code\User\mcp.json(mcp.json).
Applicable Scenarios
Suitable for users who need to centrally discover, install, and maintain AI agent skills in an MCP client, especially in scenarios where they want to obtain skills from GitHub, receive personalized recommendations by workspace, and safely manage workspace files within a controlled scope.
Limitations
- Workspace-changing tools can only operate within trusted root directories, and requests outside the scope are rejected; when additional locations are needed, they must be explicitly configured via SKILL_NINJA_TRUSTED_WORKSPACES.
- When the source SKILL.md cannot be obtained, what is installed is a minimal file generated based on the local index, and its functionality may not be fully consistent with the source file.
- Skills with the same name require the source to be explicitly specified, and will not overwrite installed skills with the same name from a different source; when some names match multiple skills, an exact skill name must be provided.
- The license is CC BY-NC-SA 4.0; see the repository's LICENSE file for details.