Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • TxtAi Memory Vector Server
  • Remote MCP Server
  • MCP SSH Server
  • ERPNext MCP Server
  • mcp-server-asana
Back to MCP Servers
Integrated MCP Server

Integrated MCP Server

Public
patelnav/my-tools-mcp

Integrated MCP server with VSCode extension offering real-time tool discovery, secure command-line documentation retrieval, and seamless React-based WebView UI for enhanced developer workflow and workspace tool management.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Integrated MCP Server

MCP Server

Unlock the full potential of Integrated MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

MCP Tools Documentation

A VSCode/Cursor extension that provides an integrated MCP server and UI panel for retrieving and displaying command-line tool documentation. The extension automatically detects tools in your workspace and provides their documentation through a WebView panel.

Core Features

  • šŸ”„ Built-in MCP Server

    • Express + SSE server (ports 54321-54421)
    • Secure origin validation
    • Automatic port selection
    • Connection management and cleanup
    • Real-time event streaming
  • šŸ” Tool Discovery

    • Package scripts (npm, yarn, pnpm)
    • Local binaries (node_modules/.bin)
    • Global tools (git, npm, yarn, pnpm)
    • Monorepo workspace support
  • šŸ“š Documentation Retrieval

    • Help command execution (-h, --help)
    • Version information fetching
    • Secure command validation
    • Error handling
  • šŸ’» VS Code Integration

    • React-based WebView panel
    • Status bar integration
    • Command palette support
    • Workspace path detection

Architecture

1. VS Code Extension (Backend)

Extension Host (src/extension.ts)
ā”œā”€ā”€ Activates when VS Code starts
ā”œā”€ā”€ Creates MCP Server
│   └── Express + SSE Server (54321-54421 port range)
└── Creates WebView Panel

2. MCP Server (Middle Layer)

MCP Server (src/server/*)
ā”œā”€ā”€ SSE Event Stream
│   ā”œā”€ā”€ Real-time tool discovery updates
│   ā”œā”€ā”€ Documentation streaming
│   └── Connection state management
│
└── Tool Discovery System
    ā”œā”€ā”€ path-scanner.ts
    │   └── Finds tools in workspace (bin/, node_modules/.bin)
    └── package-scanner.ts
        └── Scans package.json for available tools

3. WebView Panel (Frontend)

React WebView (src/panel/*)
ā”œā”€ā”€ UI Components
│   └── Shows available tools and their docs
│
└── SSE Client
    ā”œā”€ā”€ Requests available tools
    └── Streams tool documentation

Project Structure

my-tools-mcp/
ā”œā”€ā”€ src/                      # Source code
│   ā”œā”€ā”€ extension.ts          # Extension entry point
│   ā”œā”€ā”€ env.ts               # Environment configuration
│   ā”œā”€ā”€ server/              # Built-in MCP server
│   │   ā”œā”€ā”€ index.ts         # Server setup and SSE handling
│   │   └── controllers/     # Tool discovery and execution
│   │       ā”œā”€ā”€ docs/        # Documentation controllers
│   │       ā”œā”€ā”€ path-scanner.ts    # Tool discovery
│   │       └── package-scanner.ts # Package.json scanning
│   ā”œā”€ā”€ panel/              # WebView UI (React)
│   │   ā”œā”€ā”€ index.tsx      # WebView entry point
│   │   ā”œā”€ā”€ App.tsx        # Main React component
│   │   └── components/    # UI components
│   ā”œā”€ā”€ types/             # Shared TypeScript types
│   └── lib/               # Shared utilities
ā”œā”€ā”€ dist/                  # Compiled output
└── src/__tests__/        # Test files

Development Setup

  1. Install dependencies:
pnpm install
  1. Start development:
# Start webpack in watch mode pnpm run dev # Or build for production pnpm run build
  1. Launch the extension:
  • Press F5 in VSCode to start debugging
  • The extension will start both the MCP server and WebView panel

Usage

  1. Open the command palette (Cmd/Ctrl + Shift + P)
  2. Type "MCP Tools" and select the command
  3. The WebView panel will open and display available tools
  4. Select a tool to view its documentation

Technical Details

Tool Discovery

  • Package Scripts

    • Automatically detects npm/yarn/pnpm scripts
    • Shows script source and working directory
    • Supports monorepo workspaces
    • Validates script existence
  • Binary Tools

    • Finds tools in node_modules/.bin
    • Detects global tools (git, npm, yarn, pnpm)
    • Validates tool existence and permissions
    • Handles path resolution

Documentation Retrieval

  • Executes help commands (-h, --help)
  • Fetches version information
  • Handles command execution errors
  • Validates tool names and arguments
  • Implements proper timeouts

SSE Communication

  • Real-time tool discovery updates
  • Secure origin validation
  • Connection management and cleanup
  • Error handling and reporting
  • Automatic reconnection support
  • Event-based streaming
  • Bi-directional message passing

Security Features

  • Tool name validation
  • Command injection prevention
  • Origin validation for SSE connections
  • Proper error handling and reporting
  • Resource cleanup
  • Connection state management

Testing

The extension includes comprehensive tests:

  • Integration tests for server functionality
  • VS Code extension tests
  • Tool discovery tests
  • Security validation tests
  • SSE communication tests

License

ISC

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • TxtAi Memory Vector Server
    TxtAi Memory Vector Server

    Model Context Protocol server offering advanced semantic search, persistent memory management, tag-b...

    Added May 30, 2025
  • Remote MCP Server
    Remote MCP Server

    Remote Model Context Protocol server with Cloudflare Workers and Xano integration offering tool mana...

    Added May 30, 2025
  • MCP SSH Server
    MCP SSH Server

    Secure Model Context Protocol (MCP) SSH server enabling remote command execution, file and directory...

    Added May 30, 2025
  • ERPNext MCP Server
    ERPNext MCP Server

    Model Context Protocol server enabling seamless integration with ERPNext via API, offering authentic...

    Added May 30, 2025
  • mcp-server-asana
    mcp-server-asana

    Enables seamless interaction with Asana API via Model Context Protocol, providing advanced task, pro...

    22 tools
    Added May 30, 2025