Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b2e4368
Fix: Include code snippets with inline file references in chat responses
rupeshkumar-555 Mar 31, 2026
7c76e7a
feat: Add ToolPipe MCP Server integration (#307784)
rupeshkumar-555 Apr 4, 2026
bb28bfe
Merge branch 'main' into feat/307784-toolpipe-mcp-integration
rupeshkumar-555 Apr 4, 2026
18d968d
fix: Enable sessions-e2e workflow trigger
rupeshkumar-555 Apr 4, 2026
70d3c0a
fix: address code review feedback for ToolPipe MCP Server integration
rupeshkumar-555 Apr 4, 2026
20a513f
feat: add localization and test coverage for ToolPipe MCP integration
rupeshkumar-555 Apr 4, 2026
5852fc7
Fix #308421: Use terminal theme background for composition view inste…
rupeshkumar-555 Apr 8, 2026
20791a1
Fix #305740: avoid sync subprocess wait in TS node path resolution
rupeshkumar-555 Apr 9, 2026
5b7f4b2
Fix: Restore concurrency configuration to sessions-e2e workflow
rupeshkumar-555 Apr 16, 2026
bb44685
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 16, 2026
e9a0f07
Fix: Remove duplicate on key from sessions-e2e workflow
rupeshkumar-555 Apr 16, 2026
5fec07e
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 16, 2026
a536c62
Apply Copilot code review suggestions
rupeshkumar-555 Apr 16, 2026
f519142
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 16, 2026
d310bfc
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
b13a0bf
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
fc08e21
fix: Resolve remaining Copilot code review feedback for PR #310772
rupeshkumar-555 Apr 16, 2026
287d4e1
fix: Use consistent 2-space indentation in toolpipe-mcp-server/packag…
rupeshkumar-555 Apr 17, 2026
ee450dc
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
d731fa9
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
ac730f6
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
0baab7f
docs(toolpipe): replace transient MCP example URL
rupeshkumar-555 Apr 17, 2026
e17e41b
Merge branch 'main' into fix/sessions-e2e-concurrency
rupeshkumar-555 Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .github/workflows/sessions-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Sessions E2E Tests

# on:
# pull_request:
# branches:
# - main
# - 'release/*'
# paths:
# - 'src/vs/sessions/**'
# - 'scripts/code-sessions-web.*'

# just commenting "on" property causes emails to be sent to everyone
on: workflow_dispatch
on:
pull_request:
branches:
- main
- 'release/*'
paths:
- 'src/vs/sessions/**'
- 'scripts/code-sessions-web.*'
workflow_dispatch:
Comment on lines +3 to +11
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enabling this workflow for every pull request (without a paths filter) can significantly increase CI load/runtime, since Sessions E2E appears relatively heavy. If the intent is to run only when Sessions-related files change, consider restoring a paths: filter (similar to the commented-out block) or otherwise narrowing when it triggers.

Copilot uses AI. Check for mistakes.
Comment thread
rupeshkumar-555 marked this conversation as resolved.

permissions:
contents: read
Expand Down
Empty file added PR_305961_FINAL_VERIFICATION.md
Empty file.
1 change: 1 addition & 0 deletions build/gulpfile.extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const compilations = [
'extensions/references-view/tsconfig.json',
'extensions/search-result/tsconfig.json',
'extensions/simple-browser/tsconfig.json',
'extensions/toolpipe-mcp-server/tsconfig.json',
'extensions/tunnel-forwarding/tsconfig.json',
'extensions/typescript-language-features/web/tsconfig.json',
'extensions/typescript-language-features/tsconfig.json',
Expand Down
220 changes: 220 additions & 0 deletions extensions/toolpipe-mcp-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# ToolPipe MCP Server Extension

This VS Code extension provides seamless integration with **ToolPipe MCP Server**, giving you access to 120+ developer utilities through the Model Context Protocol (MCP).

## Features

### ✨ 120+ Developer Utilities

ToolPipe MCP Server provides comprehensive developer tools organized into five categories:

#### 🔧 Code Tools
- JavaScript/TypeScript: Formatting, minification, code review, AST analysis
- Python: Code formatting, linting, syntax checking
- SQL: Query formatting, optimization, validation
- CSS/SCSS/LESS: Formatting, minification, validation
- HTML: Formatting, validation, optimization

#### 📊 Data Tools
- JSON: Formatting, validation, transformation, schema analysis
- CSV: Parsing, formatting, conversion to JSON/XML
- XML: Formatting, validation, transformation
- YAML: Formatting, validation, conversion
- Encoding: Base64 encode/decode, hex conversion, URL encoding
- Generators: UUID generation, random data generation

#### 🔒 Security Tools
- Hash Generation: MD5, SHA-1, SHA-256, SHA-512, HMAC
- JWT: Decode and validate JWT tokens
- SSL/TLS: Certificate validation and analysis
- Security Headers: Analysis and validation
- Password Generation: Secure password creation

#### 🌐 API Tools
- HTTP Client: Make HTTP requests with custom headers
- OpenAPI: Spec generation and documentation
- Webhook Testing: Webhook URL generation and testing
- API Documentation: Auto-generate from code comments
- REST Builder: Interactive REST API builder

#### 🚀 DevOps Tools
- Docker: Docker Compose generation, container commands
- GitHub Actions: Workflow generation and validation
- Nginx: Configuration generation and validation
- Kubernetes: YAML generation and validation
- Environment: System information and diagnostics

## Installation

1. Install this extension from the VS Code Marketplace
2. Reload VS Code
3. The extension will be automatically activated

## Configuration

### Quick Start (Remote Mode)

To use ToolPipe with a remote server, configure the URL of your MCP server:

```json
{
"toolpipeMcpServer.enabled": true,
"toolpipeMcpServer.mode": "remote",
"toolpipeMcpServer.remoteUrl": "https://example.com/mcp"
}
```

Replace `https://example.com/mcp` with your actual ToolPipe server URL.

### Advanced Configuration

#### Using Local Server

To run ToolPipe locally (requires Node.js and npm):

```bash
npm install -g @cosai-labs/toolpipe-mcp-server
```

Then configure VS Code:

```json
{
"toolpipeMcpServer.enabled": true,
"toolpipeMcpServer.mode": "local",
"toolpipeMcpServer.localCommand": "npx",
"toolpipeMcpServer.localArgs": ["@cosai-labs/toolpipe-mcp-server"]
}
```

#### Disabling the Extension

To disable ToolPipe integration:

```json
{
"toolpipeMcpServer.enabled": false
}
```

## Usage with AI Assistants

Once configured, ToolPipe tools are automatically available to:
- **Copilot Chat**: Use `/explain` or chat tools to access utilities
- **Claude Desktop**: Via MCP server connection
- **Cursor/Windsurf**: Integrated through MCP protocol
- **Cline**: Via MCP server endpoints

## Configuration Reference

### Settings

| Setting | Type | Default | Description |
|---------|------|---------|-------------|
| `toolpipeMcpServer.enabled` | boolean | `true` | Enable/disable the extension |
| `toolpipeMcpServer.mode` | string | `remote` | Connection mode: `remote` or `local` |
| `toolpipeMcpServer.remoteUrl` | string | `` (empty) | Remote server URL |
| `toolpipeMcpServer.localCommand` | string | `npx` | Command for local server |
| `toolpipeMcpServer.localArgs` | array | `["@cosai-labs/toolpipe-mcp-server"]` | Arguments for local server |
Comment thread
rupeshkumar-555 marked this conversation as resolved.

## Direct MCP Configuration

You can also configure ToolPipe directly in your `.vscode/mcp.json`:

### Remote Server (HTTP)
```json
{
"mcp": {
"servers": {
"toolpipe": {
"type": "http",
"url": "https://example.com/mcp"
}
}
}
}
```

### Local Server (Stdio)
```json
{
"mcp": {
"servers": {
"toolpipe": {
"type": "stdio",
"command": "npx",
"args": ["@cosai-labs/toolpipe-mcp-server"]
}
}
}
}
```

## Examples

### JSON Formatting with Copilot Chat
```
@copilot Format this JSON:
{
"name":"John",
"age":30
}
```
Copilot will use ToolPipe's JSON formatting tool automatically.

### Code Review
```
@copilot Can you review this TypeScript code?
[paste code]
```
ToolPipe's code review tools will be available in the context.

### Hash Generation
```
@copilot Generate SHA-256 hash of "my-password"
```
ToolPipe provides instant hash generation.

## Troubleshooting

### Server not connecting
1. Check if the extension is enabled in settings
2. For remote mode: verify internet connection
3. For local mode: ensure Node.js and npm are installed
4. Check VS Code's output panel for error messages

### Tools not appearing in chat
1. Reload VS Code window (Cmd+Shift+P → "Developer: Reload Window")
2. Verify the MCP server started successfully by checking the Extension Host or Developer Tools logs for error messages
3. Restart Copilot Chat

### Local server not starting
```bash
# Test if the package is installed
npx @cosai-labs/toolpipe-mcp-server --help

# Install globally if needed
npm install -g @cosai-labs/toolpipe-mcp-server
```

## Links

- **npm**: https://www.npmjs.com/package/@cosai-labs/toolpipe-mcp-server
- **GitHub**: https://github.com/COSAI-Labs/make-money-30day-challenge/tree/master/products/mcp-server
- **MCP Protocol**: https://modelcontextprotocol.io/
- **VS Code Docs**: https://code.visualstudio.com/docs

## License

MIT - See LICENSE file for details

## Contributing

Contributions are welcome! Please submit issues and pull requests to the VS Code repository.

## Support

For issues with:
- **ToolPipe Server**: https://github.com/COSAI-Labs/make-money-30day-challenge/issues
- **VS Code Integration**: https://github.com/microsoft/vscode/issues
- **MCP Protocol**: https://github.com/modelcontextprotocol/specification/issues
97 changes: 97 additions & 0 deletions extensions/toolpipe-mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"name": "toolpipe-mcp-server",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "^1.97.0"
},
"categories": [
"Other",
"Developer Tools"
],
Comment on lines +1 to +14
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package.json mixes tabs and spaces for indentation (e.g. engines vs other top-level fields), which is inconsistent with other built-in extensions and will create noisy diffs. Please reformat to a consistent indentation style (typically 2 spaces in extensions/*/package.json).

Copilot uses AI. Check for mistakes.
"keywords": [
"mcp",
"model-context-protocol",
"developer-tools",
"utilities",
"json",
"formatting",
"linting"
],
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode"
},
"bugs": {
"url": "https://github.com/microsoft/vscode/issues"
},
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"mcpServerDefinitionProviders": [
{
"id": "toolpipe",
"label": "%mcpServerDefinition.label%"
}
],
"configuration": [
{
"title": "%configuration.title%",
"properties": {
"toolpipeMcpServer.enabled": {
"type": "boolean",
"default": true,
"description": "%configuration.enabled.description%"
},
"toolpipeMcpServer.mode": {
"type": "string",
"enum": [
"remote",
"local"
],
"default": "remote",
"description": "%configuration.mode.description%"
},
"toolpipeMcpServer.remoteUrl": {
"type": "string",
"default": "",
"description": "%configuration.remoteUrl.description%"
},
"toolpipeMcpServer.localCommand": {
"type": "string",
"default": "npx",
"description": "%configuration.localCommand.description%"
},
"toolpipeMcpServer.localArgs": {
"type": "array",
"default": [
"@cosai-labs/toolpipe-mcp-server"
],
"description": "%configuration.localArgs.description%"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"pretest": "npm run compile && npm run lint",
"test": "vscode-test",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.0.0",
"typescript": "~5.3.0"
}
}
11 changes: 11 additions & 0 deletions extensions/toolpipe-mcp-server/package.nls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"displayName": "ToolPipe MCP Server",
"description": "Integrates ToolPipe MCP Server - 120+ developer utilities via Model Context Protocol",
"configuration.title": "ToolPipe MCP Server",
"configuration.enabled.description": "Enable ToolPipe MCP Server integration",
"configuration.mode.description": "ToolPipe connection mode: 'remote' for cloud-hosted server, 'local' for npm-based server",
"configuration.remoteUrl.description": "Remote URL for ToolPipe MCP Server (HTTPS endpoint). Provide your own server URL, for example: https://example.com/mcp",
"configuration.localCommand.description": "Command to run local ToolPipe server (e.g., 'npx' or full path)",
"configuration.localArgs.description": "Arguments for local ToolPipe server command",
"mcpServerDefinition.label": "ToolPipe MCP Server"
}
Loading