@bldbl/mcp

@bldbl/mcp

Official MCP client for integrating AI assistants with Buildable projects.

8
Stars
7
Forks
8
Watchers
1
Issues
@bldbl/mcp enables AI assistants like Claude and GPT to directly interact with Buildable projects using the Model Context Protocol (MCP). It provides full project context, smart task management, real-time progress tracking, and facilitates seamless communication between AI and human developers. TypeScript support and CLI tools ensure robust integration, making it ready for platforms like Claude Desktop and Cursor AI. The tool simplifies AI-driven project management and collaboration in software development.

Key Features

Full project context retrieval
Automated and autonomous task management
Discussion creation for seamless human-AI collaboration
Real-time project progress tracking
Comprehensive TypeScript type definitions
CLI interface for Claude Desktop integration
Easy installation via Smithery or npm
Support for multiple AI assistants (Claude, GPT, Cursor AI)
API key-based secure access
Minimal configuration with auto-detection of API URLs

Use Cases

Enabling AI assistants to understand and manage software project structure
Automating the breakdown and assignment of development tasks
Tracking and updating project progress in real time
Facilitating human and AI collaboration through discussions
Integrating AI-driven planning and decision-making into development workflows
Managing complex software development with automated progress and blocker tracking
Onboarding AI assistants to work within Buildable-powered projects
Providing type-safe APIs for robust integration in TypeScript projects
Enhancing developer productivity with AI-assisted insights and recommendations
Implementing seamless handoff between human developers and AI collaborators

README

@bldbl/mcp

Official MCP client for Buildable - AI-powered development platform that makes any project buildable

npm version License: MIT smithery badge

This package enables AI assistants (Claude, GPT, etc.) to work directly with Buildable projects using the Model Context Protocol (MCP). AI assistants can get project context, manage tasks, track progress, and communicate with human developers.

🌟 What is Buildable?

Buildable (bldbl.dev) is an AI-powered development platform that makes any project buildable. It provides:

  • AI-Generated Build Plans: Comprehensive project roadmaps with implementation details
  • Smart Task Management: Automated task breakdown with dependencies and priorities
  • AI Assistant Integration: Direct integration with Claude, GPT, and other AI assistants
  • Real-time Collaboration: Seamless human-AI collaboration on complex projects
  • Progress Tracking: Live monitoring of development progress and blockers

🚀 Features

  • Full Project Integration: Get complete project context, plans, and task details
  • Autonomous Task Management: Start, update progress, and complete tasks
  • Human Collaboration: Create discussions for questions and blockers
  • Real-time Progress Tracking: Live updates and status monitoring
  • Type-Safe API: Full TypeScript support with comprehensive type definitions
  • Claude Desktop Ready: CLI interface for seamless Claude Desktop integration

📦 Installation

Installing via Smithery

To install @bldbl/mcp for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @buildable/bldbl-mcp --client claude

Manual Installation

bash
npm install @bldbl/mcp

🚀 Quick Start

Step 1: Install the MCP Server

bash
npm install -g @bldbl/mcp

Step 2: Get Your Buildable API Key

  1. Go to bldbl.dev and create an account
  2. Create or select a project
  3. Go to Project SettingsAI AssistantsGenerate API Key

Step 3: Configure Your AI Assistant

🤖 For Claude Desktop:

Add this to your Claude Desktop config file (~/.config/claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "buildable": {
      "command": "npx",
      "args": ["-y", "@bldbl/mcp"],
      "env": {
        "BUILDABLE_API_KEY": "bp_your_api_key_here",
        "BUILDABLE_PROJECT_ID": "your-project-id",
        "BUILDABLE_AI_ASSISTANT_ID": "claude-desktop"
      }
    }
  }
}

Minimal setup - only API URL is auto-detected.

✨ For Cursor AI:

Option 1: One-Click Setup (Recommended)

  1. Go to your project on bldbl.dev
  2. Navigate to Integrations
  3. Click "Add to Cursor" - Done! 🎉

Option 2: Manual Configuration Add this to your Cursor AI config file:

json
{
  "mcpServers": {
    "buildable": {
      "command": "npx",
      "args": ["-y", "@bldbl/mcp"],
      "env": {
        "BUILDABLE_API_KEY": "bp_your_api_key_here",
        "BUILDABLE_PROJECT_ID": "your-project-id",
        "BUILDABLE_AI_ASSISTANT_ID": "cursor-ide"
      }
    }
  }
}

Minimal setup - only API URL is auto-detected.

Step 4: Start AI-Powered Development!

Once configured, your AI assistant has access to these powerful tools:

  • 🏗️ get_project_context - Understand your entire project structure
  • 📋 get_next_task - Find what to work on next based on priorities
  • ▶️ start_task - Begin working on a specific task
  • 📊 update_progress - Report detailed progress updates
  • complete_task - Mark tasks finished with comprehensive notes
  • 💬 create_discussion - Ask questions when you need human input
  • 🔍 health_check - Verify connection to Buildable

💡 Example AI Conversation:

You: "What should I work on next in my project?"

AI: *calls get_project_context & get_next_task*
    "I see you're building a React dashboard app. The next 
     high-priority task is 'Implement user authentication'. 
     Should I start working on it?"

You: "Yes, go ahead!"

AI: *calls start_task*
    "Perfect! I'm starting the authentication task. I'll use 
     NextAuth.js with GitHub OAuth. Let me break this down:
     1. Install dependencies
     2. Set up NextAuth config  
     3. Create login/logout components
     4. Add protected routes
     
     I'll update you on progress as I work!"

[AI works and calls update_progress periodically]

AI: *calls update_progress*
    "Progress update: 75% complete! I've implemented:
     ✅ NextAuth.js configuration
     ✅ GitHub OAuth provider setup  
     ✅ Login/logout components
     🔄 Currently working on: Protected route middleware
     
     Should I continue with the remaining work?"

🔧 Advanced Configuration

Environment Variables

3 environment variables are recommended for proper AI assistant tracking:

bash
export BUILDABLE_API_KEY="bp_your_api_key_here"           # Your API key (required)
export BUILDABLE_PROJECT_ID="your-project-id"             # Target project (required)
export BUILDABLE_AI_ASSISTANT_ID="my-ai-assistant"        # AI Assistant ID (recommended)

# Optional (has smart default):
# export BUILDABLE_API_URL="https://bldbl.dev/api"        # API endpoint (default)

Why AI Assistant ID matters: This helps you track which AI assistant is doing what work in your project dashboard.

CLI Usage

You can also run the MCP server directly:

bash
# Install globally and use bldbl command
npm install -g @bldbl/mcp
bldbl

# Or run with npx (no installation needed)
npx @bldbl/mcp

Multiple Projects

To work with multiple Buildable projects, create different MCP server configs:

json
{
  "mcpServers": {
    "buildable-frontend": {
      "command": "npx",
      "args": ["-y", "@bldbl/mcp"],
      "env": {
        "BUILDABLE_API_KEY": "bp_frontend_key_here",
        "BUILDABLE_PROJECT_ID": "frontend-project-id",
        "BUILDABLE_AI_ASSISTANT_ID": "claude-frontend"
      }
    },
    "buildable-backend": {
      "command": "npx", 
      "args": ["-y", "@bldbl/mcp"],
      "env": {
        "BUILDABLE_API_KEY": "bp_backend_key_here",
        "BUILDABLE_PROJECT_ID": "backend-project-id",
        "BUILDABLE_AI_ASSISTANT_ID": "claude-backend"
      }
    }
  }
}

🛠️ API Reference

BuildPlannerMCPClient

The main client class for interacting with Buildable projects.

Constructor

typescript
new BuildPlannerMCPClient(config: BuildPlannerConfig, options?: ClientOptions)

Config Parameters:

  • apiUrl: Buildable API URL (defaults to 'https://bldbl.dev/api')
  • apiKey: Your Buildable API key (starts with 'bp_')
  • projectId: Target project ID
  • aiAssistantId: Unique identifier for your AI assistant
  • timeout: Request timeout in milliseconds (default: 30000)

Options:

  • retryAttempts: Number of retry attempts (default: 3)
  • retryDelay: Delay between retries in ms (default: 1000)

Methods

getProjectContext(): Promise<ProjectContext>

Get complete project context including plan, tasks, and recent activity.

getNextTask(): Promise<NextTaskResponse>

Get the next recommended task to work on based on dependencies and priority.

startTask(taskId: string, options?: StartTaskOptions): Promise<StartTaskResponse>

Start working on a specific task with optional approach and timing estimates.

updateProgress(taskId: string, progress: ProgressUpdate): Promise<ProgressResponse>

Update progress on the current task with detailed status information.

completeTask(taskId: string, completion: CompleteTaskRequest): Promise<CompleteTaskResponse>

Mark a task as completed with detailed completion information.

createDiscussion(discussion: CreateDiscussionRequest): Promise<DiscussionResponse>

Create a discussion/question for human input when you need guidance.

healthCheck(): Promise<{status: string, timestamp: string}>

Check connectivity and health of the Buildable API.

disconnect(): Promise<void>

Properly disconnect and cleanup the client connection.

🔐 Authentication

  1. Generate API Key: Go to your Buildable project → AI Assistant tab → Generate API Key
  2. Secure Storage: Store your API key securely (environment variables recommended)
  3. Key Format: API keys start with bp_ followed by project and random identifiers

🐛 Error Handling

The client includes comprehensive error handling:

typescript
try {
  const context = await client.getProjectContext();
} catch (error) {
  if (error.code === 'UNAUTHORIZED') {
    console.error('Invalid or expired API key');
  } else if (error.code === 'PROJECT_NOT_FOUND') {
    console.error('Project not found or access denied');
  } else {
    console.error('API error:', error.message);
  }
}

🔄 Development Workflow

Typical AI assistant workflow with Buildable:

  1. Initialize - Connect to Buildable with API key
  2. Get Context - Understand the project structure and current state
  3. Find Work - Get the next priority task
  4. Start Task - Begin working with approach and estimates
  5. Progress Updates - Regular progress reports with details
  6. Ask Questions - Create discussions for blockers or decisions
  7. Complete Task - Finish with comprehensive completion notes
  8. Repeat - Continue with next tasks

📊 Usage Statistics

typescript
// Get usage statistics for your AI assistant
const stats = await client.getUsageStats();
console.log(`Tasks completed: ${stats.tasksCompleted}`);
console.log(`Average completion time: ${stats.avgCompletionTime}min`);
console.log(`Success rate: ${stats.successRate}%`);

⚡ CLI Usage

Once installed, you can use the CLI in several ways:

bash
# Run directly with npx (no installation needed)
npx @bldbl/mcp

# Or install globally and use the bldbl command
npm install -g @bldbl/mcp
bldbl

# For Claude Desktop, use the bldbl command in your config

Environment Variables Required:

  • BUILDABLE_API_URL - Your Buildable API URL
  • BUILDABLE_API_KEY - Your API key (starts with 'bp_')
  • BUILDABLE_PROJECT_ID - Target project ID
  • BUILDABLE_AI_ASSISTANT_ID - Unique assistant identifier

🧪 Testing

The package includes comprehensive test utilities:

typescript
import { createTestClient } from '@bldbl/mcp/test';

// Create a test client with mock responses
const testClient = createTestClient({
  mockProject: {
    id: 'test-project',
    title: 'Test Project'
  }
});

// Use in your tests
await testClient.startTask('test-task-id');

🔗 Links

🏗️ Built With

  • TypeScript - Type-safe development
  • Model Context Protocol (MCP) - Standardized AI assistant communication
  • Node.js - Runtime environment
  • REST API - Simple and reliable communication

📄 License

Copyright © 2025 Buildable Team. All rights reserved.

This software is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited.


Made with ❤️ by the Buildable team

Buildable is a commercial AI-powered development platform. Visit bldbl.dev to get started.

🆘 Support


Built with ❤️ by the BuildPlanner team

Star History

Star History Chart

Repository Owner

Repository Details

Language TypeScript
Default Branch main
Size 6,997 KB
Contributors 3
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
66.91%
JavaScript
30.92%
Dockerfile
2.17%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Weblate MCP Server

    Weblate MCP Server

    Seamlessly connect AI assistants to Weblate for translation management via the Model Context Protocol.

    Weblate MCP Server enables AI assistants and clients to directly manage Weblate translation projects through the Model Context Protocol (MCP). It integrates with the Weblate REST API, allowing natural language interaction for project and translation management. The tool offers multiple transport options including HTTP, SSE, and STDIO, and is optimized for large language model workflows. Full support for project, component, and translation operations is provided, with a focus on type safety and flexible environment configuration.

    • 9
    • MCP
    • mmntm/weblate-mcp
  • MCP Linear

    MCP Linear

    MCP server for AI-driven control of Linear project management.

    MCP Linear is a Model Context Protocol (MCP) server implementation that enables AI assistants to interact with the Linear project management platform. It provides a bridge between AI systems and the Linear GraphQL API, allowing the retrieval and management of issues, projects, teams, and more. With MCP Linear, users can create, update, assign, and comment on Linear issues, as well as manage project and team structures directly through AI interfaces. The tool supports seamless integration via Smithery and can be configured for various AI clients like Cursor and Claude Desktop.

    • 117
    • MCP
    • tacticlaunch/mcp-linear
  • dbt MCP Server

    dbt MCP Server

    Bridge dbt projects and AI agents with rich project context.

    dbt MCP Server provides an implementation of the Model Context Protocol for dbt projects, enabling seamless integration between dbt and AI agents. It allows agents to access and understand the context of dbt Core, dbt Fusion, and dbt Platform projects. The tool supports connection to external AI products and offers resources for building custom agents. Documentation and examples are provided to facilitate adoption and integration.

    • 420
    • MCP
    • dbt-labs/dbt-mcp
  • Remote-MCP

    Remote-MCP

    A type-safe, bidirectional system for remote Model Context Protocol communication.

    Remote-MCP provides a simple and secure way to enable remote access to and centralized management of model contexts using the Model Context Protocol. It bridges local MCP clients with remote MCP servers, supporting a modular architecture via tRPC over HTTP. The tool allows integration both as a client and a server, catering to real-time remote access needs ahead of the official MCP roadmap.

    • 200
    • MCP
    • ssut/Remote-MCP
  • Plane MCP Server

    Plane MCP Server

    Enables LLMs to manage Plane.so projects and issues via the Model Context Protocol.

    Plane MCP Server provides a standardized interface to connect large language models with Plane.so project management APIs. It enables LLMs to interact directly with project and issue data, supporting tasks such as listing projects, retrieving detailed information, creating and updating issues, while prioritizing user control and security. Installation is streamlined through tools like Smithery, and configuration supports multiple clients including Claude for Desktop.

    • 32
    • MCP
    • kelvin6365/plane-mcp-server
  • Kanboard MCP Server

    Kanboard MCP Server

    MCP server for seamless AI integration with Kanboard project management.

    Kanboard MCP Server is a Go-based server implementing the Model Context Protocol (MCP) for integrating AI assistants with the Kanboard project management system. It enables users to manage projects, tasks, users, and workflows in Kanboard directly via natural language commands through compatible AI tools. With built-in support for secure authentication and high performance, it facilitates streamlined project operations between Kanboard and AI-powered clients like Cursor or Claude Desktop. The server is configurable and designed for compatibility with MCP standards.

    • 15
    • MCP
    • bivex/kanboard-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results