Skip to main content

Agent Skills MCP Server

Project description

Agent Skills MCP Server

MCP Server for Agent Skills.

Features

  • Dynamic Skill Discovery: Automatically discovers and loads skills from configurable directories
  • Environment-based Configuration: Configure skill search paths via environment variables
  • Global and Project-level Skills: Support for both system-wide and project-specific skills
  • YAML Frontmatter Validation: Validates skill metadata and structure
  • Duplicate Detection: Prevents duplicate tool names across different skill sources

Configuration

Environment Variables

Configure skill discovery paths and tool naming using environment variables:

  • GLOBAL_SKILLS_PATH: Comma-separated list of global skill directories (default: ~/.skills/)
  • PROJECT_SKILLS_PATH: Comma-separated list of project-level skill directories (default: .skills/)
  • MCP_SERVER_NAME_PREFIX: Optional prefix to prepend to tool names in the tool description prompt (e.g., with this mcp server configured as skills you may prefix "skills_", the tool will be referenced as "skills_skills" in tool description)

Example:

export GLOBAL_SKILLS_PATH="~/.skills/,~/.config/opencode/skills"
export PROJECT_SKILLS_PATH=".skills/,./.opencode/skills"
export MCP_SERVER_NAME_PREFIX="<this-mcp-name>_"

Default Paths

If no custom paths are configured, the server will search in these default locations:

  • ./.skills (project-level)
  • ~/.skills (global)

Usage

  1. Create skill directories in your configured paths and add skills
  2. [Optional] Set environment variables, e.g. GLOBAL_SKILLS_PATH, MCP_SERVER_NAME_PREFIX, MCP_TYPE, MCP_PORT
  3. Start the MCP server: uvx --from agent-skills-mcp-gkzhb agent-skills

Skill Format

Skills are defined in SKILL.md files with YAML frontmatter:

---
name: my-skill
description: Description of what this skill does (minimum 10 characters)
license: MIT
allowed_tools: ["tool1", "tool2"]
metadata:
  category: "utility"
---

# Skill Content

Your skill instructions and documentation go here.

Development

Copy .env.example to .env and customize the configuration:

cp .env.example .env

Run the development server:

uv run main.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_skills_mcp_gkzhb-0.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file agent_skills_mcp_gkzhb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: agent_skills_mcp_gkzhb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_skills_mcp_gkzhb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2bae5e85e94c5af8950291c6f42a854e80080cc68002354a7c080c68d8faa52a
MD5 130d4a92a67d3b4320f9b54505d1e45f
BLAKE2b-256 c4274f1d2e6b88a5417c36f9a5ce87932b4d2163963878651d0a6bc4d03f2b91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page