You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix relative paths to reference correct documentation files
- Update pkg.go.dev links to use valid version format
- Ensure all internal links point to existing files
Resolves linkspector issues identified in CI.
Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/ai-coder/mcp-server.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Coder's MCP server enables AI assistants to interact with Coder workspaces and i
12
12
-**Agent Activity**: Monitor AI agent operations and history
13
13
14
14
> [!NOTE]
15
-
> See our [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2@latest/codersdk/toolsdk#pkg-variables) for a complete list of tools included in the MCP server.
15
+
> See our [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2/codersdk/toolsdk#pkg-variables) for a complete list of tools included in the MCP server.
16
16
17
17
## Architecture
18
18
@@ -27,6 +27,7 @@ Coder provides two MCP server modes to support different AI assistant architectu
27
27
The local MCP server runs on your machine and communicates with AI assistants through standard input/output. This mode is ideal for desktop applications and local development tools.
28
28
29
29
**Automatic Configuration**:
30
+
30
31
```sh
31
32
# First authenticate with Coder
32
33
coder login https://coder.example.com
@@ -37,6 +38,7 @@ coder exp mcp configure cursor
37
38
```
38
39
39
40
**Manual Server Start**:
41
+
40
42
```sh
41
43
# Start MCP server for manual configuration
42
44
coder exp mcp server
@@ -49,6 +51,7 @@ coder exp mcp server
49
51
The HTTP MCP server runs on your Coder deployment and provides web-based access for browser-based AI assistants.
50
52
51
53
**Enable HTTP MCP Server**:
54
+
52
55
```sh
53
56
# Enable experimental features
54
57
CODER_EXPERIMENTS="oauth2,mcp-server-http" coder server
@@ -66,6 +69,7 @@ CODER_EXPERIMENTS="oauth2,mcp-server-http" coder server
66
69
The Coder MCP server exposes a comprehensive set of tools through the Model Context Protocol. These tools are automatically available to any connected AI assistant.
67
70
68
71
### Workspace Tools
72
+
69
73
-`list_workspaces` - List all accessible workspaces
70
74
-`create_workspace` - Create new workspaces from templates
71
75
-`start_workspace` - Start stopped workspaces
@@ -74,21 +78,24 @@ The Coder MCP server exposes a comprehensive set of tools through the Model Cont
74
78
-`get_workspace_status` - Check workspace status and resource usage
75
79
76
80
### Command Execution Tools
81
+
77
82
-`execute_command` - Run commands in workspace terminals
-`list_processes` - List running processes in workspaces
80
85
81
86
### File System Tools
87
+
82
88
-`read_file` - Read file contents from workspaces
83
89
-`write_file` - Write files to workspace file systems
84
90
-`list_directory` - List directory contents
85
91
86
92
### Template and Resource Tools
93
+
87
94
-`list_templates` - List available workspace templates
88
95
-`get_template_info` - Get detailed template information
89
96
-`list_template_versions` - List template version history
90
97
91
-
For the complete and up-to-date list of available tools, see the [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2@latest/codersdk/toolsdk#pkg-variables).
98
+
For the complete and up-to-date list of available tools, see the [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2/codersdk/toolsdk#pkg-variables).
The Coder MCP server provides access to a comprehensive set of tools. See the [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2@latest/codersdk/toolsdk#pkg-variables) for the complete list of available tools.
115
+
The Coder MCP server provides access to a comprehensive set of tools. See the [toolsdk documentation](https://pkg.go.dev/github.com/coder/coder/v2/codersdk/toolsdk#pkg-variables) for the complete list of available tools.
0 commit comments