---
slug: "quarkus-quarkus-mcp-server-basic-tool"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/burrsutter/quarkus-mcp-server-basic-tool@main/README.md"
repo: "https://github.com/burrsutter/quarkus-mcp-server-basic-tool"
source_file: "README.md"
branch: "main"
---
# Basic MCP Server Tool

## Packaging and running the application

The application can be packaged using:

git clone this repository

```
./mvnw install
```

jbang provides the CLI execution 

```
brew install jbang
```

## mcp-cli

```
git clone https://github.com/chrishayuk/mcp-cli
```

```
brew install uv
```


```
cd mcp-cli
```

```
uv sync --reinstall
```

Create env var for OPENAI_API_KEY (note: it is much longer)

https://platform.openai.com/api-keys

```
export OPENAI_API_KEY=sk-proj-GzT9guXBFr7lee1m_blah
```

Edit server_config.json

```
{
  "mcpServers": {
    "burrhello": {
      "command": "jbang",
      "args": [
        "--java",
        "21",
        "--quiet",
        "org.acme:basic-tool:1.0.0-SNAPSHOT:runner"
     ]
   }
  }
}
```

```
uv run mcp-cli --server burrhello --provider openai --model gpt-4o-mini
```

