Basic MCP Server Tool

by burrsutter

270 downloads
Not rated
GitHub

Description

# 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 ```…

About

# 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…

Details

Author
burrsutter
Downloads
270
Categories
Other

- Packaged with Maven
- Executed via jbang
- Configured through server_config.json
- Works with mcp‑cli client
- Requires OpenAI API key

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Basic MCP Server Tool
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository and run ./mvnw install to build. Install jbang (brew install jbang), then clone mcp‑cli, install uv (brew install uv), and run uv sync --reinstall in the mcp‑cli directory. Set the OPENAI_API_KEY environment variable, edit server_config.json to point to the jbang command, and finally run uv run mcp‑cli --server burrhello --provider openai --model gpt‑4o‑mini.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.