Install Devopness MCP Server on Gemini CLI
This guide walks you through installing and configuring the Devopness MCP server on Gemini CLI by Google.
Prerequisites
- Gemini CLI installed on your machine
- A Devopness account with a Personal Access Token
How Devopness integrates with Gemini CLI
Devopness provides a remote MCP server that Gemini CLI connects to through its native HTTP support. Once configured, the Devopness tools become available in your Gemini CLI sessions.
Configure the MCP server
Option A: Edit the settings file
- Open the Gemini CLI settings file at
~/.gemini/settings.json - Add the following configuration, replacing
YOUR_PERSONAL_ACCESS_TOKENwith your Devopness Personal Access Token:
{
"mcpServers": {
"devopness": {
"httpUrl": "https://mcp.devopness.com/mcp/",
"headers": {
"Authorization": "Bearer YOUR_PERSONAL_ACCESS_TOKEN"
}
}
}
}
- Save the file
tip
You can also create a project-level configuration by placing a .gemini/settings.json file in your project root directory.
Option B: Use the CLI command
Run the following command, replacing YOUR_PERSONAL_ACCESS_TOKEN with your Devopness Personal Access Token:
gemini mcp add \
--transport http \
--header "Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN" \
-s user \
devopness \
https://mcp.devopness.com/mcp/
Activate and verify the connection
- Start or restart Gemini CLI
- Run the
/mcpcommand to check the server status - The output displays all configured servers with their connection state: CONNECTED, CONNECTING, or DISCONNECTED
- Verify that the Devopness server shows as CONNECTED and its tools are listed
Use the MCP server
In a Gemini CLI session, try a prompt such as:
- "List my Devopness projects"
- "Show the servers in my production environment"
- "Deploy my application to staging"
Troubleshooting
- Server not connecting: Test the MCP server endpoint independently with
curl https://mcp.devopness.com/mcp/to verify connectivity. - Authentication errors: Verify that your Personal Access Token is correct and has not expired.
- Debug mode: Run Gemini CLI with
--debugfor verbose output, or press F12 to open the debug console in interactive mode. - Configuration priority: When both
httpUrlandurlare set,httpUrltakes priority. UsehttpUrlfor the Devopness MCP server.