โ† Back to list
alexanderjamesmcleod

mcp-server

by alexanderjamesmcleod

Ideas that make sense. Products that make cents. ๐Ÿ’ก๐Ÿ’ฐ An autonomous AI development platform.

โญ 0๐Ÿด 0๐Ÿ“… Jan 8, 2026

SKILL.md


name: mcp-server description: Model Context Protocol server exposing AI Factory tools to Claude Desktop version: 1.0.0 type: mcp-server author: AI Factory

AI Factory MCP Server

Revolutionary AI-native integration - Exposes your entire AI Factory through the Model Context Protocol, enabling Claude Desktop to directly access skills, files, and tools.

๐ŸŽฏ What This Does

This MCP server creates a native bridge between Claude Desktop and your AI Factory, giving Claude:

  • โœ… Direct access to all 45+ skills
  • โœ… Read/write file operations
  • โœ… Project management
  • โœ… Context saving/loading
  • โœ… Analytics access
  • โœ… Search capabilities

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Claude Desktop  โ”‚ 
โ”‚   (macOS/Win)    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚ MCP Protocol (stdio)
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  This MCP Server โ”‚ โ† You are here!
โ”‚  (Node.js)       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚ Direct file access
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   AI Factory     โ”‚
โ”‚  ~/.claude-skillsโ”‚
โ”‚  ~/.ai-factory   โ”‚
โ”‚  ~/projects      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“‹ Available Tools

Skills Management

  • skills_list - List all available skills with descriptions
  • skill_read - Read complete skill content (SKILL.md or script)
  • skill_execute - Execute read-only skill commands

File Operations

  • file_read - Read any file from AI Factory directories
  • file_write - Write files to .ai-factory/ directory
  • directory_list - List directory contents

Context Management

  • context_save - Save project context (JSON)
  • context_load - Load saved project context

Project Operations

  • project_list - List all projects
  • project_init - Initialize new project

Analytics & Favorites

  • analytics_get - Get usage analytics
  • favorites_list - List favorite skills
  • favorites_add - Add skill to favorites
  • search_skills - Search for skills by keyword

๐Ÿš€ Installation

Step 1: Install Dependencies

cd ~/.claude-skills/core/mcp-server.skill
npm install

Step 2: Configure Claude Desktop

On macOS:

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ai-factory": {
      "command": "node",
      "args": [
        "/home/alex/.claude-skills/core/mcp-server.skill/scripts/start.js"
      ]
    }
  }
}

On Windows:

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "ai-factory": {
      "command": "node",
      "args": [
        "\\\\wsl.localhost\\Ubuntu\\home\\alex\\.claude-skills\\core\\mcp-server.skill\\scripts\\start.js"
      ]
    }
  }
}

Step 3: Restart Claude Desktop

Close and reopen Claude Desktop. The MCP server will start automatically.

๐Ÿ’ก Usage Examples

List All Skills

You: "List all my AI Factory skills"

Claude Desktop: 
[Calls skills_list tool]
"You have 45 skills available:
- task-manager: Personal task and TODO management
- time-tracker: Track time spent on projects
- bridge: Context sharing between Claude instances
..."

Read a Skill

You: "Show me the task-manager skill"

Claude Desktop:
[Calls skill_read with skill_name: "task-manager"]
"Here's the task-manager skill:
[displays complete SKILL.md content]"

Execute a Skill

You: "What tasks do I have today?"

Claude Desktop:
[Calls skill_execute with skill_name: "task-manager", command: "list today"]
"You have 3 tasks for today:
1. [HIGH] Complete documentation
2. [MED] Review code
3. [LOW] Update changelog"

Save a Design

You: "Save this design as feature-spec.md"

Claude Desktop:
[Calls file_write with path and content]
"Design saved to ~/.ai-factory/designs/feature-spec.md"

Search for Skills

You: "Find skills related to testing"

Claude Desktop:
[Calls search_skills with query: "test"]
"Found 3 skills:
- test-generator: Generate tests from code
- test-runner: Execute test suites
- api-test: Test API endpoints"

๐Ÿ”’ Security Features

Read Restrictions

  • Only allows reading from approved directories:
    • .claude-skills/
    • .ai-factory/
    • projects/
  • Path traversal protection (.. not allowed)

Write Restrictions

  • Can only write to .ai-factory/ directory
  • Cannot modify skills or projects
  • Cannot access system files

Execution Restrictions

  • Only read-only commands allowed
  • Whitelist: help, status, list, show, check, get, view, info, summary, report
  • 5 second timeout on all executions

๐Ÿ› Troubleshooting

Server Not Starting

# Check if Node.js is installed
node --version  # Should be v16+

# Test the server manually
cd ~/.claude-skills/core/mcp-server.skill
node scripts/start.js
# Should output: "โœ… AI Factory MCP Server ready"
# Press Ctrl+C to stop

Claude Desktop Not Seeing Tools

  1. Check config file location:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Verify path in config is correct:

    # Test the path
    node /path/from/config/start.js
    
  3. Restart Claude Desktop completely

  4. Check logs:

    • macOS: ~/Library/Logs/Claude/mcp*.log
    • Windows: %APPDATA%\Claude\logs\mcp*.log

Permission Errors

# Make sure script is executable
chmod +x ~/.claude-skills/core/mcp-server.skill/scripts/start.js

# Check ownership
ls -la ~/.claude-skills/core/mcp-server.skill/

Tools Not Working

  • Check that directories exist:

    ls -la ~/.claude-skills/core/
    ls -la ~/.ai-factory/
    ls -la ~/projects/
    
  • Verify skill names are correct:

    ls ~/.claude-skills/core/ | grep task
    

๐Ÿ“Š How It Works

MCP Protocol Flow

1. Claude Desktop starts โ†’ Launches MCP server process
2. MCP server connects via stdio (standard input/output)
3. Claude Desktop requests: "What tools are available?"
4. MCP server responds: "Here are 16 tools..."
5. User asks: "List my skills"
6. Claude Desktop decides: "I'll use the skills_list tool"
7. Claude calls: tools/call with name="skills_list"
8. MCP server reads ~/.claude-skills/core/
9. MCP server returns: JSON with all skills
10. Claude Desktop shows: Formatted response to user

Why This is Better Than REST API

FeatureMCP ServerREST API
SetupOne config fileTunnel + URL sharing
AuthBuilt-in (stdio)Token management
DiscoveryAutomaticManual
IntegrationNative ClaudeExternal tool
PerformanceDirect (no HTTP)Network latency
SecurityProcess isolationNetwork exposure

๐ŸŽฏ Next Steps

Extend with More Tools

You can easily add more tools by editing scripts/start.js:

// Add to tools/list handler:
{
  name: 'my_custom_tool',
  description: 'Does something awesome',
  inputSchema: {
    type: 'object',
    properties: {
      param1: { type: 'string' }
    },
    required: ['param1']
  }
}

// Add to tools/call handler:
case 'my_custom_tool': {
  const { param1 } = args;
  // Your logic here
  return {
    content: [{ type: 'text', text: 'Result!' }]
  };
}

Package as Product

This MCP server can be packaged and sold:

  • Bundle with installer
  • Add licensing
  • White-label for enterprises
  • Create marketplace listing

Build More MCP Servers

Create specialized MCP servers:

  • bmad-mcp - BMAD agent orchestration
  • skill-factory-mcp - Automated skill generation
  • analytics-mcp - Deep analytics tools
  • git-mcp - Git operations via MCP

๐ŸŒŸ The Impact

Before MCP Server:

You โ†” Claude.ai (chat) โ†” Manual copy/paste โ†” Claude Code
Time: Minutes per operation

After MCP Server:

You โ†” Claude Desktop โ†” MCP Server โ†” Your Files
Time: Seconds per operation

Result: 10x faster collaboration! ๐Ÿš€

๐Ÿ“š References

๐ŸŽ‰ You Did It!

You now have a production-ready MCP server that:

  • โœ… Exposes all AI Factory capabilities
  • โœ… Works with Claude Desktop
  • โœ… Follows official MCP protocol
  • โœ… Is secure by design
  • โœ… Can be extended infinitely
  • โœ… Is packageable as a product

Welcome to the future of AI-native development! ๐Ÿš€

Score

Total Score

50/100

Based on repository quality metrics

โœ“SKILL.md

SKILL.mdใƒ•ใ‚กใ‚คใƒซใŒๅซใพใ‚Œใฆใ„ใ‚‹

+20
โ—‹LICENSE

ใƒฉใ‚คใ‚ปใƒณใ‚นใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

0/10
โ—‹่ชฌๆ˜Žๆ–‡

100ๆ–‡ๅญ—ไปฅไธŠใฎ่ชฌๆ˜ŽใŒใ‚ใ‚‹

0/10
โ—‹ไบบๆฐ—

GitHub Stars 100ไปฅไธŠ

0/15
โ—‹ๆœ€่ฟ‘ใฎๆดปๅ‹•

3ใƒถๆœˆไปฅๅ†…ใซๆ›ดๆ–ฐใŒใ‚ใ‚‹

0/10
โ—‹ใƒ•ใ‚ฉใƒผใ‚ฏ

10ๅ›žไปฅไธŠใƒ•ใ‚ฉใƒผใ‚ฏใ•ใ‚Œใฆใ„ใ‚‹

0/5
โœ“Issue็ฎก็†

ใ‚ชใƒผใƒ—ใƒณIssueใŒ50ๆœชๆบ€

+5
โœ“่จ€่ชž

ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐ่จ€่ชžใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5
โ—‹ใ‚ฟใ‚ฐ

1ใคไปฅไธŠใฎใ‚ฟใ‚ฐใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

0/5

Reviews

๐Ÿ’ฌ

Reviews coming soon