Skip to content

MCP client setup

This walks through wiring Skill Library MCP into Claude Code from nothing, verifying the three tools show up, and using them once. The same shape applies to any MCP client — only the registration command or config file changes (see Installation for the others).

The server needs Node.js 22 or newer. Confirm before you start:

Terminal window
node --version
# v22.x.x or higher

If you’re below 22, upgrade Node first — the package won’t run otherwise.

Add Skill Library MCP to Claude Code at user scope, so it’s available across all your projects:

Terminal window
claude mcp add skill-library --scope user -- npx -y skill-library-mcp

The part after -- is the command Claude Code will run to start the server: npx -y skill-library-mcp. The -y lets npx fetch the package without an interactive prompt.

List your configured MCP servers and check that skill-library is there:

Terminal window
claude mcp list

You should see skill-library in the output, pointing at npx -y skill-library-mcp.

Start Claude Code and check that the server’s three tools are available:

Terminal window
claude

Inside the session, you can list MCP tools (for example with /mcp). You should see all three from skill-library:

  • search_skill
  • load_skill
  • list_categories

If they’re listed, the handshake succeeded and the index built — you’re ready to use it.

Ask in plain language and let the assistant drive the tools:

“Browse the skill categories, then find and load a skill about writing good commit messages.”

Under the hood that’s list_categoriessearch_skill({ query: "writing good commit messages" })load_skill({ name: "<top result>" }). You’ll see the assistant call the tools and bring the skill’s content into the conversation. See Search and load a skill for the raw call-by-call version.

A few more things to check if the tools don’t show up:

  • “Tools missing or server failed to start” — re-check your Node version (node --version must be ≥ 22). An older Node is the most common cause; the ESM-only package won’t load on it.
  • No network on first run — the initial npx fetch needs internet. If you’re offline, either run it once while connected to populate the cache, or use the manual / local build and point the config at node dist/index.js.
  • Server registered but tools absent — fully restart the client so it re-reads its MCP config and re-spawns the server.
  • Usage — full reference for the three tools.
  • Configuration — install scopes, plugin vs. server, and the include_resources toggle.