Mcp
Install Devopness MCP Server on OpenCode
This guide walks you through installing and configuring the Devopness MCP server on Opencode by Anoma.ly.
Prerequisites
- OpenCode installed on your machine
- An active Devopness account
How Devopness integrates with OpenCode
Devopness provides a remote MCP server that OpenCode connects to through its native HTTP support. Once configured, the Devopness tools become available in your OpenCode CLI sessions.
Installation
- Open your terminal and run
opencode mcp add - Follow the interactive prompts to add your Devopness MCP server to your OpenCode config:
- Location choose the location
Global - Enter MCP server name Enter MCP name, we recommend
devopness - Select MCP server type Choose
remote - Enter MCP server URL Enter MCP URL, use
https://mcp.devopness.com/mcp/ - Does this server require OAuth authentication? Choose the option
yes - Do you have a pre-registered client ID? Choose the option
no
- run
opencode mcp authand choose thedevopnessoption - Will open a browser window for you to authenticate with your Devopness account, and upon successful authentication, you will be redirected back to your terminal.
- Restart your terminal
- You are now authenticated with your Devopness account and can use the Devopness MCP server with your OpenCode CLI sessions.
You can check if your MCP server is configured correctly by running opencode mcp list, will show a message like this:
MCP servers
✓ devopness connected (OAuth)
https://mcp.devopness.com/mcp/Activate and verify the connection
- Start opencode
- Run the
/mcpcommand to check the server status - Type in the popup
devopness - Verify that the Devopness server shows as devopness connected
Use the MCP server
In a OpenCode 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: Ensure the
urluses thehttps://prefix and the JSON syntax is valid. - Authentication errors: Closes the OpenCode session and run
opencode mcp auth, and choose thedevopnessoption to authenticate again. - Wrong credentials: Run
opencode mcp logoutand choose thedevopnessoption to remove your credentials and authenticate again.