@swoft/workspace-mcp-server
v1.0.4
Published
SWOFT Workspace MCP Server with integrated Virtual Filesystem - Complete AI-native workspace management
Maintainers
Readme
SWOFT Workspace MCP Server - Unified Package
🎯 The One Package to Rule Them All!
This consolidated package combines:
- ✅ MCP Server (Claude Desktop/Code integration)
- ✅ Virtual Filesystem (JSON ↔ MongoDB)
- ✅ 25 VFS Scripts (GTD, auto-setup, monitoring)
- ✅ 12 CLI Commands
- ✅ Script Execution via MCP
📖 See UNIFIED-PACKAGE-GUIDE.md for complete documentation.
Installation
Global Installation
npm install -g @swoft/workspace-mcp-serverLocal Development
npm install
npm run buildClaude Desktop Integration
Using Claude MCP CLI
# Add to Claude Desktop
claude mcp add swoft-workspace npx @swoft/workspace-mcp-server
# List connected servers
claude mcp list
# Remove if needed
claude mcp remove swoft-workspaceManual Configuration
Add to your Claude Desktop settings (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"swoft-workspace": {
"command": "node",
"args": ["dist/server.js"],
"cwd": "/Users/derick/projects/professional/swoft/swoft-workspace-platform/packages/mcp-server",
"env": {
"NODE_ENV": "development"
}
}
}
}Note: Replace the cwd path with your actual project path if different.
Features
Resources (Query Operations)
workspace-context- Current workspace structure and projectsteam-composition- Team member profiles and rolesproject-portfolio- Customer projects and revenue trackingbusiness-canvas/{customerId}- Business model canvasesswoft-vfs/{path}- Virtual filesystem navigationcodebase-architecture/{projectPath}- Architecture analysis
Tools (Command Operations)
search_domain_knowledge- Search for domain concepts and patternsquery_repository_intelligence- Git repository investigationvalidate_recursive_domain_model- Domain model validationassess_business_intelligence- Business metrics assessment
Development
# Build
npm run build
# Development with watch
npm run dev
# Start server
npm startTroubleshooting
Connection Issues
- Ensure Claude Desktop is restarted after configuration changes
- Check that the server builds successfully:
npm run build - Test server startup:
npx @swoft/workspace-mcp-server - Verify connection:
claude mcp listshould show ✓ Connected
Common Problems
- Server not found: Run
npm run buildfirst - Permission errors: Check file permissions on dist/server.js
- Connection failed: Restart Claude Desktop after config changes
License
Private - Internal use only
