ai-factory-server
Local cloud server providing API access to skills and files for Claude.ai
When & Why to Use This Skill
AI Factory Server is a powerful local infrastructure tool designed to bridge the gap between Claude.ai and your local development environment. It provides a secure HTTP API that allows Claude to interact directly with your local file system, browse custom skills, and manage project-specific context. By utilizing a secure tunnel, it enables advanced agentic workflows such as local codebase analysis and persistent data storage, making it an essential utility for developers seeking to extend Claude's capabilities to their private workspace.
Use Cases
- Local Codebase Interaction: Enable Claude.ai to browse, read, and analyze your local project files for more accurate debugging, refactoring, and architectural advice.
- Custom Skill Deployment: Host and provide Claude with access to specialized local scripts and tools, effectively expanding the AI's functional toolkit.
- Persistent Context Management: Save and retrieve session data or long-term context locally, ensuring Claude maintains continuity across different conversations and projects.
- Secure Local Command Execution: Run whitelisted read-only commands on your local machine via Claude to automate information gathering and environment checks.
| name | ai-factory-server |
|---|---|
| description | Local cloud server providing API access to skills and files for Claude.ai |
| version | 1.0.0 |
AI Factory Server
Provides HTTP API access to your local file system, enabling Claude.ai to:
- Browse and read skills
- Access project files
- Execute read-only commands
- Save context data
Architecture
Express server (localhost:3456) → Tunnelmole → Claude.ai (web_fetch)
Security
- Auth token required (Bearer token)
- Path restrictions (only .claude-skills, .ai-factory, projects)
- Read-only by default
- Write only to .ai-factory directory
- Command whitelist for execution
API Endpoints
See reference/api-docs.md for complete API documentation.
Usage
Managed via ai-factory-tunnel skill:
ai-factory-tunnel start
ai-factory-tunnel status
ai-factory-tunnel stop
Requirements
- Node.js (v16+)
- npm or npx