Bld

Developer toolsTesting and QA

Pure java build tool for developers who don't like dealing with build tools.

Your AI app calls the Bld MCP server, which does the developer tools and testing and QA work and sends the result back to the chat.

About Bld

Bld is a community MCP server from rife2, filed in our directory under developer tools and testing and qa. Pure java build tool for developers who don't like dealing with build tools.

At a glance

Publisher
rife2 (community)
Runs
See the README for setup
Written in
Java
License
Apache-2.0
GitHub stars
324

How to set up Bld

  1. Follow the install steps in the Bld README; it is written in Java, so have that toolchain ready.
  2. Check the Bld README for keys or settings; the registry lists none that Bld requires.
  3. Add Bld to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Bld tools to confirm the connection.
  5. Run one read-only task with Bld first, and keep your app asking before each tool call until the results look right.

Bld compared with similar servers

  • Codex Bridge by Fanch-hui has fewer GitHub stars than Bld (324 against 324); both are community servers, and both run locally.
  • Neovim by bigcodegen has more GitHub stars than Bld (325 against 324); both are community servers, and both run locally.
  • Nim Language Server by nim-lang has fewer GitHub stars than Bld (321 against 324); both are community servers, and both run locally.

Before you connect Bld

  • Give Bld its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Bld tool call until you trust what it does with them.
  • Treat text that Bld fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Bld on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Bld

How marketing and sales teams put Bld to work, by company size. Pick the size closest to yours and start Bld on one use case.

Small business

  • A small business with a developer can use Bld to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Bld to explain and fix a marketing site issue without context switching between tools.
  • A small business can use Bld to test its booking or checkout flow after each update, so a broken button doesn't cost a week of sales.
  • Bld runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Bld to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Bld to keep scripts and automations documented and versioned as they change.
  • Marketing teams can run Bld on every landing page release, checking forms, tracking and copy before ads point at it.
  • Start Bld on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Bld with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Bld so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can plug Bld into release gates, so marketing pages meet the same quality bar as the product.
  • Bld is a community server, so have security review the code and pin a version before Bld touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Bld README

From rife2/bld on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

What is bld?

bld is a build tool that lets you write your build logic in pure Java.

bld was created because we're not really interested in build tools. We use them because we have to, but we'd rather just get on with coding the real stuff.

bld is designed with the following principles in mind:

  • tasks don't happen without you telling them to happen
  • no auto-magical behavior, task behavior is explicit and API-defined
  • managing libs yourself is fine, automating that is fine too, or mix and match
  • build logic is written in Java, with all the advantages of Java
  • standard collection of Java-centric tasks for common operations
  • bld is distributed as a single jar, if you have the jar, you have the build system

Designed for modern Java

bld requires Java 17 or later and supports the latest JDK releases. Your build logic stays concise and readable, and any Java IDE understands it. You get auto-completion and javadoc documentation, and you can split your build logic into multiple files and classes when you outgrow a single file.

Here is a complete bld file for a Java application using JUnit 5 for its tests. Nothing else is needed to be able to run it, test it and distribute it:

package com.example;

import rife.bld.Project;
import java.util.List;
import static rife.bld.dependencies.Repository.*;
import static rife.bld.dependencies.Scope.*;

public class MyAppBuild extends Project {
    public MyAppBuild() {
        pkg = "com.example";
        name = "my-app";
        mainClass = "com.example.MyApp";
        version = version(0,1,0);

        downloadSources = true;
        repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
        scope(test)
            .include(dependency("org.junit.jupiter", "junit-jupiter", version(6,1,3)))
            .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(6,1,3)));
    }

    public static void main(String[] args) {
        new MyAppBuild().start(args);
    }
}

NOTE: bld supports different ways to describe dependencies, dependency("org.junit.jupiter", "junit-jupiter", version(6,1,3)) can for instance also be written as dependency("org.junit.jupiter:junit-jupiter:6.1.3"). Which format you use, is a matter of personal taste.

Where does bld fit?

Maven and Gradle describe a build for the tool to execute. bld is ordinary Java that runs directly.

Maven Gradle bld
Language XML Groovy / Kotlin Java
IDE completion & refactoring limited with a plugin full, it's Java
Debugging attach to the JVM attach to the daemon the whole Java debugger: breakpoints, watches, ..
Extensions plugins plugins / DSL any Java jar, or a bld extension

Writing your build logic in the same language as your application (Java) reduces the cognitive load, and taking actions immediately without having to mentally construct a described plan makes it easier to reason about your build.

One jar, everything included

Out of the box, bld knows how to create, compile, test, document, run, package and publish your projects. Transitive dependencies are resolved and downloaded in parallel with live progress reporting, Maven bills of materials keep versions consistent across your dependency tree, builds run offline when you want them to, and your artifacts publish straight to Maven Central through the Sonatype Central Portal.

Modern Java deployment is covered as well, with first-class operations for Java modules, jmod, jlink runtime images, jpackage native installers, and annotation processing.

When you need more, there's a growing collection of extensions: Kotlin, Spring Boot, Checkstyle, PMD, SpotBugs, JaCoCo code coverage, ANTLR4, PIT mutation testing, TestNG, and many others. Writing your own extension is just writing Java code.

Ready for AI agents

Since version 3.0, bld can serve your build commands as Model Context Protocol (MCP) tools. AI coding agents get a structured interface to compile, test and run your project, with streamed command output and execution metadata instead of scraped terminal text. Your build stays explicit and API-defined, agents just get a first-class way to drive it.

./bld mcp install         # register the project with Claude Code
./bld mcp install cursor  # register with Cursor
./bld mcp install vscode  # register with VS Code

IDE support

Since version 2.0, bld comes with its own IntelliJ IDEA plugin:

  • detect bld projects and find their main Java class
  • quick access to open and edit the main Java class and wrapper properties of bld projects
  • list all the commands in bld projects in a side panel
  • execute one or multiple commands in the order they were selected
  • run bld commands from icons in the gutter of the build file
  • reload the commands in the bld project
  • automatically reload the commands and dependencies when the build sources or wrapper properties change
  • terminate currently running bld commands
  • bld console panel for command output with source code hyperlinking
  • display the bld dependency tree
  • toggle to run bld in offline or online mode
  • toggle to show the bld console when a command is executed
  • auto-save all open files before executing a bld command
  • convenient bld one-click cache invalidation
  • set bld commands to run before or after IDEA compilation
  • create custom bld command run configuration with options, JVM arguments, and before launch tasks
  • assign keyboard shortcuts to bld commands

Find out more

bld lets your build logic get out of the way so that you can focus on writing applications.

Get started immediately by installing bld through Homebrew, SDKMAN!, JBang, zip archive, or run it directly from its jar file.

brew install rife2/tools/bld    # using Homebrew
sdk install bld                 # using SDKMAN!
jbang com.uwyn.rife2:bld:3.0.1  # using JBang

If you merely want to create a new project, bld can also be used by executing this one-liner:

bash -c "$(curl -fsSL https://rife2.com/bld/create.sh)"

Or on Windows:

irm https://rife2.com/bld/create.ps1 | iex

If you have any questions, suggestions, ideas or just want to chat, feel free to post on the forums or to join us on Discord.

Read more in the full documentation and bld Javadocs.

Contributing

See CONTIBUTING.md for information about contributing to this project.

Questions about Bld

What is the Bld MCP server?

Pure java build tool for developers who don't like dealing with build tools. Bld is maintained by rife2 on GitHub at rife2/bld, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Bld MCP server?

Bld doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (rife2/bld). Like most servers, Bld ends with a command or URL you paste into your AI app's MCP config.

Does Bld need an API key?

The registry lists no required keys for Bld. Check the Bld README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Bld an official MCP server?

No. Bld is a community server maintained by rife2. Community servers can be excellent; read the code and the open issues before you give Bld access to company data.

What license is Bld under?

Bld is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Bld; the service it connects to has its own terms.