The application can be packaged using:
git clone this repository
./mvnw install
jbang provides the CLI execution
brew install jbang
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
Seamless access to top MCP servers powering the future of AI integration.