# Coder (Remote Dev) MCP for AI Agents AI Agent Connect

> Coder (Remote Dev) connects your remote development infrastructure to your AI agent. It lets you manage workspaces, monitor deployment health, and handle AI Bridge sessions using natural language. Instead of toggling between multiple dashboards, you can check build statuses, retrieve SSH configurations, and audit AI-assisted development workflows directly from your chat interface. It's built for teams using Coder to scale remote dev environments.

## Overview
- **Category:** loved-by-devs
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_X1DE2rbvHJCSwP1lim38BmobcfpCklD913nroJvx/ai-agent-connect
- **Tags:** remote-development, workspace-management, coder, ai-bridge, infrastructure-as-code

## Description

Managing a fleet of remote development environments usually means jumping between different tabs to check build statuses, verify SSH configurations, and monitor workspace health. This Connector changes that by letting your AI agent do the heavy lifting for you. You can ask your agent to pull deployment stats or find specific workspace logs without ever opening a browser. It handles the nitty-gritty of infrastructure management, like listing active AI Bridge sessions or checking for platform updates, so you can stay focused on the actual code. Whether you're trying to troubleshoot a stuck workspace or audit how your team is using AI models, this connection gives you a direct line to your Coder deployment. It's one of the many specialized tools available in the Vinkius catalog that brings your dev infrastructure into your primary workspace. You get a unified way to handle user management, license tracking, and workspace configurations through a single chat interface.

## Tools

### get_agent_debug_magicsock
Get Tailscale magicsock debug info from the local agent. This helps you troubleshoot network connectivity issues quickly.

### get_app_auth_redirect
Redirect to a URI with an encrypted API key. Use this to handle secure authentication flows.

### list_ai_clients
List connected AI Bridge clients. This helps you see which devices or apps are active.

### list_ai_models
List available AI models. This shows which models your team can use in their workspaces.

### list_chats
List user chat sessions. Use this to see all active conversations in the AI Bridge.

### list_groups
List all groups in your organization. This helps you see how teams are segmented.

### list_licenses
List enterprise licenses. Use this to track your seat count and subscription status.

### list_org_provisioner_daemons
List active provisioner daemons. This helps you see the health of the backend systems creating workspaces.

### list_org_roles
List assignable roles in an organization. This shows the different permission levels available to users.

### list_user_secrets
List user secrets for your account. This allows you to manage the keys and tokens stored for your team.

### list_users
List all users in your deployment. This gives you a complete view of your platform's user base.

### check_auth
Verify if a user has the correct permissions to perform actions. This ensures your agent only touches what it's allowed to.

### list_workspaces
List all workspaces in your Coder deployment. This is the primary way to see all active dev environments.

### create_chat_message
Send a message to an existing chat session. Use this to interact with active AI Bridge conversations.

### create_chat
Start a brand new AI chat session. This lets your agent initiate fresh conversations with the AI Bridge.

### create_group
Create a group in an organization. This helps organize users into specific teams or departments.

### create_organization
Create a new organization in your Coder deployment. Use this to set up new company structures.

### create_user_secret
Create a user secret for secure data storage. This is useful for managing API keys or other sensitive items.

### create_user_task
Create a long-running AI task for a user. This allows you to offload heavy processing to the background.

### create_user_token
Create a user token for authentication. Use this to grant specific access to your Coder resources.

### create_user
Create a new user in your system. This lets you onboard new team members to your dev environments.

### create_workspace_port_share
Create a port share for a workspace. Use this to expose specific ports for web development or testing.

### create_workspace
Create a new workspace for a user. This sets up a fresh remote development environment.

### delete_license
Delete an enterprise license from your account. Use this to clean up unused seats or subscriptions.

### delete_user
Delete a user from your organization. This removes their access and associated data from the platform.

### download_file
Download a file by its unique ID. Use this to move data from the remote workspace to your local machine.

### get_agent_connection
Get DERP and connection details for an agent. This is essential for diagnosing VPN or proxy connection issues.

### get_agent_containers
List running containers and devcontainers. This shows you exactly what processes are active in a workspace.

### get_agent_debug_logs
Get the last 10MiB of agent logs from the local API. This is a go-to for debugging agent-specific failures.

### get_agent_debug_manifest
Retrieve the startup manifest from the server via the local agent API. It's useful for checking the initial environment state.

### get_agent_external_auth
Get external authentication tokens for the agent. Use this to manage third-party identity providers.

### get_agent_logs
Stream logs from a specific agent in real-time. This allows you to watch agent activity as it happens.

### get_ai_session_threads
Get threads for an AI session. Use this to navigate through different conversation branches.

### get_api_root
Get basic API information about your Coder instance. This helps you confirm the endpoint structure.

### get_app_host
Get the base host for applications. Use this to find where your remote apps are currently hosted.

### get_appearance
Get dashboard branding and banners. This lets you see how the platform is customized.

### get_audit_logs
Get a paginated list of audit logs. This is essential for security teams to track all platform actions.

### get_build_info
Get Coder build info for your deployment. Use this to verify the version of the software you're running.

### get_chat_messages
Get messages for a specific chat session. Use this to read the history of an AI Bridge conversation.

### get_deployment_config
Get deployment configuration details. This shows how your infrastructure is currently set up.

### get_deployment_stats
Get deployment statistics for your environment. This helps you monitor the overall health of your fleet.

### get_external_auth_device
Initiate device-based OAuth for your users. This provides a secure way for users to log in.

### get_insights_daus
Get Daily Active User stats. Use this to track how many people are actually using the platform.

### get_insights_templates
Get usage data for templates. This helps you see which dev environments are most popular.

### get_insights_user_activity
Get activity duration per user. Use this to understand how your team spends their time in workspaces.

### get_notifications_inbox
List user notifications from the platform. This ensures you don't miss important system alerts.

### get_notifications_settings
Get global notification settings. Use this to see how alerts are configured for the platform.

### get_notifications_templates
List available notification templates. This shows the different types of alerts you can send.

### get_prebuild_settings
Get prebuild settings for your deployments. This shows the configuration used before a workspace starts.

### get_ssh_config
Get SSH configuration for your instance. Use this to get the credentials needed for terminal access.

### get_update_check
Check for Coder updates. Use this to see if there is a newer version available for your deployment.

### get_user_profile
Get a user profile from the system. This retrieves basic info about a specific account.

### get_workspace_acl
Get workspace ACLs to see permissions. This is vital for auditing who can access which environments.

### get_workspace_build_logs
Get logs for a specific workspace build. Use this to see why a workspace failed to provision.

### get_workspace_build_params
List parameters used for a specific build. This helps you check the exact inputs for a workspace creation.

### get_workspace_build
Get details of a specific build. Use this to track the progress of a pending workspace.

### get_workspace
Get metadata for a specific workspace. This provides a high-level overview of a user's environment.

### list_ai_interceptions
List AI interceptions from your sessions. Use this to audit how the AI is interacting with your data.

### list_ai_sessions
List active AI Bridge sessions. Use this to see who is currently interacting with AI tools.

### list_external_auth
List linked external accounts like GitHub. This shows how users are connecting to your organization.

### list_org_members
List members of an organization. Use this to see everyone who has access to your company's resources.

### list_org_provisioner_jobs
List jobs for the organization provisioners. Use this to track the queue of pending environment creations.

### list_organizations
List all organizations in your account. This is useful for multi-tenant management.

### list_tasks
Manage long-running AI tasks. Use this to see the status of background AI operations.

### list_template_examples
List starter template examples. This helps you see what kind of dev environments are available.

### list_template_versions
List versions for a specific template. Use this to see the history of environment blueprints.

### list_templates
List all templates in your deployment. This shows the blueprints available for new workspaces.

### list_user_tokens
List user tokens for your account. Use this to manage the session keys for different users.

### list_workspace_port_shares
List port shares for a specific workspace. This shows all active external connections for a dev environment.

### login_user
Authenticate a user with email and password. Use this to sign in and gain access to the platform.

### register_agent_log_source
Register a new log source for your agents. This helps in centralizing logs for better troubleshooting.

### send_agent_logs
Send logs from your agent to the server. This ensures your logs are captured for remote debugging.

### update_agent_app_status
Update the status of an application on the agent. Use this to signal if a remote service is healthy.

### update_appearance
Update dashboard branding and banners. This lets you change the look and feel of the platform.

### update_organization
Update an organization's details. Use this to change company names or primary settings.

### update_prebuild_settings
Update prebuild settings for your fleet. Use this to change global configuration for new workspaces.

### update_user_profile
Update a user profile. Use this to change user details like names or emails.

### update_workspace_acl
Update workspace ACLs to change permissions. Use this to grant or revoke access to specific environments.

### update_workspace_autostart
Update workspace autostart schedule. Use this to control when remote environments wake up.

### update_workspace_autoupdates
Update workspace autoupdates schedule. This manages when remote environments pull the latest updates.

### upload_file
Upload a file as a tar or zip. Use this to move large files into your remote workspace.

### add_license
Add an enterprise license to your account. Use this to increase your seat count.

### auth_workspace_agent
Authenticate an agent using cloud provider identity. This connects your workspace agents to your cloud accounts.

### cancel_workspace_build
Cancel a pending or running build. Use this to stop a workspace from provisioning if something is wrong.

## Prompt Examples

**Prompt:** 
```
Show me the current Coder deployment statistics and build info.
```

**Response:** 
```
I've retrieved the deployment data for your Coder instance:

| Metric | Value |
| :--- | :--- |
| **Active Workspaces** | 12 |
| **Active Sessions** | 8 |
| **Current Build** | v2.10.2 |

Would you like me to check for any available updates or pull the logs for the latest build?
```

**Prompt:** 
```
List all active AI Bridge sessions and their available models.
```

**Response:** 
```
I found **3 active AI Bridge sessions** currently running.

**Available Models:**
* GPT-4o
* Claude 3.5 Sonnet
* Llama 3

Would you like to see the thread history for a specific session?
```

**Prompt:** 
```
Get the SSH configuration for my Coder instance.
```

**Response:** 
```
I've fetched the SSH configuration for your instance:

* **Hostname Prefix:** `coder.`
* **Suffix:** `.dev`
* **Port:** 22

You can use these details to configure your local SSH client for direct workspace access.
```

## Capabilities

### Monitor deployment health
Get real-time build info and deployment stats for your entire fleet.

### Manage AI Bridge sessions
List active sessions and see which models are currently available for use.

### Retrieve environment configs
Fetch SSH details and workspace parameters to quickly set up local access.

### Audit AI workflows
Inspect threads and interceptions from AI sessions to see how tools are being used.

### Manage remote workspaces
Create, update, and delete workspaces and user profiles through your chat client.

## Use Cases

### Debugging a failed workspace build
A DevOps engineer notices a workspace is stuck. They ask their agent to use get_workspace_build_logs and get_workspace_build_params to identify the error without opening a terminal.

### Auditing AI Bridge activity
A platform lead wants to see how many models are active. They ask their agent to list_ai_sessions and list_ai_clients to get a snapshot of current AI usage.

### Quickly provisioning dev environments
A new hire needs a workspace. An admin asks the agent to create_user and then create_workspace using a specific template to get them started in seconds.

### Managing organization permissions
A security officer needs to check access rights. They ask the agent to get_workspace_acl for a specific group to ensure the principle of least privilege is met.

## Benefits

- Get real-time visibility into your infrastructure health by using get_deployment_stats to monitor your entire fleet from one chat window.
- Reduce the time spent on manual setup by using create_workspace and create_user to onboard new team members through natural language.
- Audit your team's AI usage more effectively by pulling data from list_ai_models and list_ai_interceptions to see which tools are active.
- Troubleshoot connectivity issues much faster by using get_agent_logs and get_agent_debug_magicsock to find the root cause of agent failures.
- Streamline your security audits by using get_audit_logs and get_workspace_acl to see exactly who has access to which remote environments.
- Manage your subscription and seat count easily by using list_licenses and add_license to keep your organization's resources organized.

## How It Works

The bottom line is that you get full control over your Coder infrastructure through a single chat interface.

1. Subscribe to the Coder (Remote Dev) MCP on Vinkius.
2. Enter your Coder URL and Session Token in your AI client.
3. Ask your agent to list workspaces, check build logs, or manage users.

## Frequently Asked Questions

**Can I use the Coder (Remote Dev) MCP to manage my workspaces?**
Yes, you can use it to create, update, and delete workspaces directly from your chat. This allows you to provision environments for your team using only natural language.

**How does the Coder (Remote Dev) MCP help with deployment monitoring?**
It lets your agent pull real-time deployment stats and build info. You can check the health of your entire fleet and see the status of pending builds without leaving your chat.

**Can the Coder (Remote Dev) MCP list AI Bridge sessions?**
Yes, it can list all active AI Bridge sessions and the models currently available. This is great for auditing how your team is utilizing AI tools across the organization.

**Is the Coder (Remote Dev) MCP suitable for DevOps engineers?**
It is specifically designed for DevOps and Platform teams. It helps them manage the infrastructure, users, and licenses of a Coder deployment through a unified AI interface.

**Can I use the Coder (Remote Dev) MCP to audit AI session logs?**
Yes, you can fetch threads and interceptions from AI sessions. This provides a clear audit trail of how AI is interacting with your workspace data.

**How do I connect my Coder deployment to my AI agent?**
You just need to subscribe to the Connector and provide your Coder URL and Session Token. Once connected, your agent can perform all the infrastructure actions listed in the catalog.

**Can I check the health and usage of my Coder deployment?**
Yes. Use the `get_deployment_stats` tool to retrieve workspace and session statistics, providing a clear overview of your infrastructure's current state.

**How do I see which AI models are available in my Coder instance?**
Simply run the `list_ai_models` tool. It will return a list of all AI models currently configured and available through the Coder AI Bridge.

**Can I view logs for a specific workspace agent to debug issues?**
Yes! Use the `get_agent_logs` tool with the target `agent_id`. This allows you to stream and inspect logs directly from the remote environment.