To register a MCP Server in GitHub Copilot for IntelliJ IDEA, change to Agent model, click the Tools icon and click Add More Tools...

Enter your MCP Server in the mcp.json configuration file. The following example shows an MCP Server packaged as a FAT jar which uses STDIO transport.

{
	"servers": {
	  "diskspace": {
		"type": "stdio",
		"command": "java",
		"args": ["-jar", "/Users/sdelamo/bin/diskspace-0.1-all.jar"]
	  }

	}
}

To register a MCP Server in Claude Desktop, click on Settings, click the Developer, and click Edit Config

Enter your MCP Server in the claude_desktop_config.json configuration file. The following example shows an MCP Server packaged as a FAT jar which uses STDIO transport.

{
  "mcpServers": {
    "diskspace": {
      "command": "java",
      "args": ["-jar", "/Users/sdelamo/bin/diskspace-0.1-all.jar"]
    }
  }
}

You can connect Claude Code to tools via MCP. You can use the claude mcp add command to add an MCP server.

claude mcp add --transport http micronautfun https://micronaut.fun/mcp

The previous command adds an entry in the mcpServers of the project:

"mcpServers": {
   "micronautfun": {
     "type": "http",
     "url": "https://micronaut.fun/mcp"
   }
},

These commands modify the vi $HOME/.claude.json configuration file.

You can list your project MCP servers with the claude mcp list command.

OSS-Fuzz aims to make common open source software more secure and stable by combining modern fuzzing techniques with scalable, distributed execution.

Micronaut is using this great initiative by Google.

In this video, I created a Micronaut application built with Gradle. I pushed it to a GitHub repository and I set up a continuous integration server with GitHub Actions

Collection of links to Model Context Protocol (MCP) resources, including videos, articles, and tools.

The Model Context Protocol (MCP) was open sourced by Anthropic in November 2024 to provide users and developers with an easy way to extend the capabilities of AI-powered apps by integrating them with data sources and applications.

Model Context Protocol (MCP)

Courses

Anthropic Academy

Courses

Videos

Why MCP really is a big deal with Tim Berglund

MCP Java SDK

Spring

Spring AI MCP

MCP Server Spring Boot Starter Documentation

This session shows how to build an MCP (Model Context Protocol) server in Java.

We first discuss how to build an MCP server with Java without any framework, and then compare what the frameworks (Spring Boot, Micronaut, and Quarkus) offer.

We will implement an MCP server with each framework. The MCP server will expose custom tools that can be accessed by MCP clients.

You will learn how to test your implementation using the MCP Inspector tool and connect to your MCP server with Claude as a client.

Target Audience

Developers interested in creating an MCP (Model Context Protocol) server in Java.

Elevator Pitch

MCP allows you to expose reusable tools and resources to build agentic microservices. Doing this takes us beyond basic LLM chatbots to dynamic, problem-solving systems that deliver real value in real professional settings. In this session, you will learn how to build your first MCP server.

The following snippet shows how to get the Git commit hash in a Gradle build file using the Gradle Kotlin DSL.

fun String.execute(): String {
    val process = ProcessBuilder(*this.split(" ").toTypedArray())
        .directory(project.rootDir)
        .redirectErrorStream(true)
        .start()
    return process.inputStream.bufferedReader().readText().trim()
}
val commitHash = "git rev-parse --verify HEAD".execute()

There is no command in the Finder that will let you create a new blank file at your current location. But you can create a Shortcut that will let you do this each time easily. The Shortcut needs to use both JavaScript and shell scripting to get the job done.