A comprehensive Model Context Protocol (MCP) server that provides seamless integration with Float.com - the resource management and project planning platform. This server exposes Float's complete API as MCP tools, enabling AI assistants like Claude to interact with Float for project management, resource allocation, time tracking, and team coordination.
- π₯ People Management - Full CRUD operations for team members
- π Project Management - Projects, phases, tasks, and milestones
- β±οΈ Time Tracking - Logged time, timesheets, and billable hours
- π Resource Allocation - Team member assignments and scheduling
- π― Task Management - Project tasks, dependencies, and workflows
- π’ Organization - Departments, roles, accounts, and permissions
- π Time Off - PTO requests, approvals, and holiday management
- π Reports - Time reports, utilization, and project analytics
- π Rate Limiting - Built-in API rate limiting with exponential backoff
- π‘οΈ Type Safety - Full TypeScript support with Zod schema validation
- π Comprehensive Logging - Detailed logging for debugging and monitoring
- β‘ Performance - Optimized for fast response times and efficient API usage
- π§ͺ Testing - Comprehensive integration test suite
- π³ Docker Support - Ready-to-deploy Docker container
- Node.js 22.0.0 or later
- Float.com account with API access
- Valid Float API key
For DXT-compatible environments, download the latest DXT package:
π¦ Download Float MCP Extension (.dxt)
Install the .dxt file through your DXT-compatible application.
# Using npm
npm install
# Using yarn
yarn installCreate a .env file in the project root:
# Float API Configuration
FLOAT_API_KEY=your_float_api_key_here
FLOAT_API_BASE_URL=https://api.float.com/v3
# Optional: Enable debug logging
LOG_LEVEL=info# Build the project
npm run build
# Start the MCP server
npm start
# For development with auto-reload
npm run devAfter installing the DXT extension, configure your Float API key in the extension settings. The extension will handle the MCP server configuration automatically.
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"float-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"FLOAT_API_KEY=YOURAPIKEY",
"-e",
"LOG_LEVEL=debug",
"ghcr.io/asachs01/float-mcp:latest"
]
}
}
}The Float MCP server provides 4 optimized decision-tree tools that efficiently replace 246+ granular tools while maintaining complete functionality:
Consolidates all CRUD operations for core entities with decision tree routing:
manageEntity({
entity_type: "people" | "projects" | "tasks" | "clients" | "departments" | "roles" | "accounts" | "statuses",
operation: "list" | "get" | "create" | "update" | "delete" | "get-current-account" | "bulk-update-account-permissions",
// ... entity-specific parameters
})Replaces: All CRUD tools for people, departments, roles, accounts, projects, tasks, clients, and statuses (~120 tools)
Handles all project-specific workflow operations:
manageProjectWorkflow({
workflow_type: "phases" | "milestones" | "project-tasks" | "allocations",
operation: "list" | "get" | "create" | "update" | "delete" | "complete" | "archive" | "bulk-create" | "reorder",
// ... workflow-specific parameters
})Replaces: Project phases, milestones, project tasks, allocations, dependencies, bulk operations (~60 tools)
Manages all time-related operations with comprehensive reporting:
manageTimeTracking({
tracking_type: "logged-time" | "timeoff" | "public-holidays" | "team-holidays",
operation: "list" | "get" | "create" | "update" | "delete" | "approve" | "reject" | "bulk-create",
report_type?: "person-summary" | "project-summary" | "timesheet" | "billable-analysis",
// ... time-specific parameters
})Replaces: Logged time, time off, holidays, approvals, timesheets, summaries (~45 tools)
Comprehensive reporting and analytics engine:
generateReport({
report_type: "time-report" | "project-report" | "people-utilization-report" | "capacity-report" | "budget-report",
// Advanced filtering and grouping options
group_by?: "person" | "project" | "client" | "department" | "date" | "week" | "month",
include_details?: boolean,
// ... extensive reporting parameters
})Replaces: All reporting tools with advanced analytics, grouping, filtering (~20 tools)
- π₯ Massive Efficiency: 246+ tools β 4 optimized tools (98.4% reduction)
- π§ AI-Friendly: Decision tree parameters instead of tool proliferation
- β‘ Better Performance: Consolidated API calls and reduced overhead
- π Full Compatibility: Zero functionality loss, complete backward compatibility
- π οΈ Easier Maintenance: Centralized logic with consistent patterns
All original 246+ granular tools remain available for backward compatibility:
- Reports:
get-time-report,get-project-report,get-people-utilization-report - Analytics:
get-person-logged-time-summary,get-project-logged-time-summary
| Variable | Description | Required | Default |
|---|---|---|---|
FLOAT_API_KEY |
Your Float API key | β Yes | - |
FLOAT_API_BASE_URL |
Float API base URL | β No | https://api.float.com/v3 |
LOG_LEVEL |
Logging level (error, warn, info, debug) |
β No | info |
MAX_RETRIES |
Maximum API retry attempts | β No | 3 |
REQUEST_TIMEOUT |
API request timeout (ms) | β No | 30000 |
- Log in to your Float account
- Go to Settings > API > Personal Access Tokens
- Click Generate New Token
- Copy the API key
- Add it to your
.envfile
// List all projects
const projects = await listProjects({});
// Get a specific project
const project = await getProject({ project_id: 12345 });
// Create a new person
const person = await createPerson({
name: 'John Doe',
email: '[email protected]',
department_id: 1,
});
// Schedule an allocation
const allocation = await createAllocation({
project_id: 12345,
people_id: 67890,
start_date: '2024-01-15',
end_date: '2024-01-31',
hours: 8,
});// Get team utilization report
const utilization = await getPeopleUtilizationReport({
start_date: '2024-01-01',
end_date: '2024-12-31',
});
// Bulk create project tasks
const tasks = await bulkCreateProjectTasks({
project_id: 12345,
tasks: [
{ name: 'Design Phase', start_date: '2024-01-01' },
{ name: 'Development Phase', start_date: '2024-01-15' },
],
});
// Process time off request
await createTimeOff({
people_ids: [67890],
timeoff_type_id: 1,
start_date: '2024-02-01',
end_date: '2024-02-05',
status: 1, // Pending approval
});
await approveTimeOff({
timeoff_id: 123,
approved_by: 456,
notes: 'Approved for vacation',
});# Run all tests
npm test
# Run integration tests (requires API key)
npm run test:integration
# Run tests with coverage
npm run test:coverage
# Run specific test suites
npm run test:integration:mock # Mock API responses
npm run test:integration:real # Real API calls (use with caution)For integration tests with real API calls:
# .env.test
FLOAT_API_KEY=flt_your_test_api_key
TEST_REAL_API=true
TEST_MOCK_MODE=false# Build the image
docker build -t float-mcp .
# Run the container
docker run -d \
--name float-mcp \
-e FLOAT_API_KEY=your_float_api_key_here \
-p 3000:3000 \
float-mcpversion: '3.8'
services:
float-mcp:
build: .
environment:
- FLOAT_API_KEY=your_float_api_key_here
- LOG_LEVEL=info
ports:
- '3000:3000'
restart: unless-stoppedAPI Key Issues
Error: Unauthorized (401)
# Solution: Check your API key format and validityRate Limiting
Error: Too Many Requests (429)
# Solution: The server automatically handles rate limiting with exponential backoffConnection Issues
Error: Network timeout
# Solution: Check your internet connection and Float API statusEnable detailed logging:
LOG_LEVEL=debugThis will show all API requests/responses and internal operations.
We welcome contributions! Please see our Contributing Guidelines for details.
# Clone the repository
git clone https://github.com/asachs01/float-mcp.git
cd float-mcp
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# Edit .env with your Float API key
# Run in development mode
npm run dev# Run linting
npm run lint
# Format code
npm run format
# Type checking
npm run typecheck- API Documentation - Complete API reference
- Tool Reference - Detailed tool documentation
- Usage Guide - Usage patterns and examples
- Integration Testing - Testing guide
- Claude Integration - Claude Desktop setup
- β Complete Float API Coverage - All Float v3 endpoints implemented
- β Production Ready - Full error handling, rate limiting, and logging
- β Well Tested - Comprehensive integration test suite
- β Type Safe - Full TypeScript with Zod validation
- β Docker Ready - Production-ready containerization
- β MCP Compatible - Full Model Context Protocol compliance
- Float API v4 Support - When released by Float
- Enhanced Caching - Optional Redis caching layer
- Webhook Support - Real-time Float event notifications
- Bulk Operations - Enhanced bulk import/export tools
- Custom Reports - Advanced reporting and analytics
- Multi-tenant Support - Multiple Float account support
This project is licensed under the MIT License - see the LICENSE file for details.
- π Documentation: See the docs directory
- π Bug Reports: GitHub Issues
- π¬ Discussions: GitHub Discussions
float mcp model-context-protocol project-management resource-management time-tracking typescript api-integration claude ai-tools
Built with β€οΈ for the Float and MCP communities