Skip to content

Add fastMCP4J - Java MCP Framework #2

Description

@tersePrompts

Summary

I'd like to suggest adding fastMCP4J to the awesome list. While this repository focuses on DotNET MCP resources, I noticed the Community SDKs section already includes Rust and Go entries, so a Java framework might be relevant for developers looking for MCP tools across languages.

Proposed Entry

fastMCP4J - A lightweight Java framework for building MCP servers using annotation-driven development. Enables building fully functional MCP servers in ~5 lines of code with built-in tools like @McpMemory, @mcptodo, @McpPlanner, @McpFileRead, @McpFileWrite, @McpBash, and @mcptelemetry.

Key Features

  • Minimal - Only 12 dependencies (vs 50+ for Spring AI)
  • Fast - <500ms cold start, ~64MB memory footprint
  • Simple - Annotation-driven, zero framework lock-in
  • Built-in tools - Memory, Todo, Planner, File operations, Bash, Telemetry
  • Hooks - @McpPreHook, @McpPostHook for AOP-style interceptors
  • Async support - Reactive streams with progress reporting

Quick Example

```java
@MCPSERVER(name = "MyServer", version = "1.0")
@McpMemory
@mcptodo
@McpPlanner
@McpFileRead
@McpFileWrite
public class MyServer {
@mcptool(description = "Calculate")
public int add(int a, int b) {
return a + b;
}

public static void main(String[] args) {
    FastMCP.server(MyServer.class).stdio().run();
}

}
```

Suggested Location

Under the `## SDKs > ### Community` section, alongside Rust and Go entries:

```markdown

  • fastMCP4J - A lightweight Java framework for building MCP servers using annotation-driven development
    ```

Let me know if this would be a valuable addition!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions