MCP Server for skill4agent - Search and install AI skills via Model Context Protocol
@skill4agent/mcp-server
中文 | English
MCP (Model Context Protocol) Server for skill4agent - Search, view, and install AI skills in AI conversations.
Features
Provides the following capabilities through the MCP protocol:
- 🔍 Search Skills - Search AI skills by keyword, with optional category filtering
- 📄 Get Details - View complete skill documentation (SKILL.md)
- 📦 Installation Info - Get download links and installation commands for skills
Installation
npm install -g @skill4agent/mcp-server
Or run directly with npx:
npx @skill4agent/mcp-server
Usage in AI Applications (Claude Desktop, etc.)
Add the following to your Claude Desktop configuration file:
{
"mcpServers": {
"skill4agent": {
"command": "npx",
"args": ["-y", "@skill4agent/mcp-server"]
}
}
}
To use a custom API endpoint, add the env configuration:
{
"mcpServers": {
"skill4agent": {
"command": "npx",
"args": ["-y", "@skill4agent/mcp-server"],
"env": {
"SKILL4AGENT_API_URL": "https://your-custom-domain.com/api/mcp"
}
}
}
}
Available Tools
search_skills
Search for AI skills.
Parameters:
keyword(required): Search keywordcategories(optional): Category filter, supports both English and Chineselimit(optional): Limit the number of results, default is 10, maximum is 100
Example:
{
"keyword": "React",
"categories": ["Frontend Development"],
"limit": 5
}
get_skill
Get detailed information about a specific skill.
Parameters:
skillId(required): Skill ID, obtained from thesearch_skillstool results
Example:
{
"skillId": "frontend-design--anthropics-skills"
}
install_skill
Get installation information for a skill.
Parameters:
skillId(required): Skill IDlanguage(optional): Language version,original(English) ortranslated(Chinese), default isoriginal
Example:
{
"skillId": "frontend-design--anthropics-skills",
"language": "translated"
}
Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| SKILL4AGENT_API_URL | skill4agent API endpoint | https://skill4agent.com/api/mcp |
Local Development
# Install dependencies
npm install
# Build
npm run build
# Development mode (hot reload)
npm run dev
# Run directly
node dist/index.js
Project Structure
@skill4agent/mcp-server/
├── src/
│ ├── index.ts # Entry point
│ ├── server.ts # MCP Server main logic
│ ├── api/
│ │ └── client.ts # API client
│ └── tools/
│ ├── search.ts # search_skills tool
│ ├── detail.ts # get_skill tool
│ └── install.ts # install_skill tool
├── package.json
├── tsconfig.json
└── README.md
Related Links
License
MIT