Skip to content

Commit 605413c

Browse files
authored
Revise MCP server setup instructions (#20)
* Revise MCP server setup instructions Updated MCP server configuration instructions in README. * Update README with corrected URLs Resoved merge conflicts * Revise VS Code connection instructions for MCP Updated the instructions for connecting from VS Code, including changes to the steps for opening the Command Palette and configuring the MCP server.
1 parent d11d7ad commit 605413c

1 file changed

Lines changed: 36 additions & 22 deletions

File tree

README.md

Lines changed: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,42 @@ Once the server is running, you can connect to it from MCP-compatible tools like
6767

6868
1. **Install the GitHub Copilot Chat extension** in VS Code (if not already installed)
6969

70-
2. **Open VS Code Settings** (File > Preferences > Settings or `Ctrl+,`)
71-
72-
3. **Search for "MCP"** in the settings search bar
73-
74-
4. **Find "Chat > MCP: Servers"** and click "Edit in settings.json"
75-
76-
5. **Add your MCP server configuration** to the `github.copilot.chat.mcp.servers` object:
77-
78-
```json
79-
{
80-
"github.copilot.chat.mcp.servers": {
81-
"csla-mcp": {
82-
"type": "http",
83-
"url": "http://localhost:8080"
84-
}
85-
}
86-
}
87-
```
88-
89-
> **Note:** If you mapped the Docker container to a different port (e.g., `-p 9000:8080`), use that port in the URL: `http://localhost:9000`
90-
91-
6. **Restart VS Code** to apply the changes
70+
2. **Open the Command Palette**
71+
- Press `Ctrl+Shift+P` (Windows/Linux) or `Cmd+Shift+P` (Mac)
72+
73+
3. **Run:**
74+
- MCP: Open User Configuration
75+
76+
4. **In the `mcp.json` file that opens, add your server configuration:**
77+
78+
- Add your server there:
79+
80+
```json
81+
{
82+
"servers": {
83+
"csla-mcp": {
84+
"type": "http",
85+
"url": "http://localhost:8080"
86+
}
87+
}
88+
}
89+
```
90+
91+
> This is the equivalent of `.vscode/mcp.json`, but applies globally.
92+
93+
5. **Start the MCP server:**
94+
95+
- In the mcp.json editor tab:
96+
- Click **Start** above your server block
97+
- Wait for status to show **Running** and tools to be discovered
98+
99+
> **Note:** If you mapped the Docker container to a different port (e.g., `-p 9000:8080`), use that port in the URL: `http://localhost:9000`
100+
101+
6. **Verify CSLA MCP tools are enabled**
102+
103+
- In the Copilot Chat window, click "Configure Tools"
104+
- In the list, visually confirm that **csla-mcp** is listed and checked
105+
- This ensures the CSLA MCP tools are available for chat sessions
92106

93107
7. **Verify the connection**: Open GitHub Copilot Chat and you should now be able to use the CSLA MCP tools in your conversations. The server provides two tools:
94108
- `Search` - Search CSLA code examples and documentation

0 commit comments

Comments
 (0)