MCP for Beginners

Documentation at Your Fingertips

Supercharge your VS Code experience with instant access to documentation for React, OpenAI, AWS, TypeScript, Express, Vercel, and Supabase through Cline.

What is MCP?

The Model Context Protocol (MCP) supercharges Cline by creating a direct pipeline to the exact documentation you need, when you need it. Unlike typical AI assistants that rely on general knowledge, MCP connects Cline to specialized local servers tailored to your development stack.

Why MCP Makes Developers More Productive

MCP transforms your workflow by eliminating documentation hunting across multiple platforms. When building complex applications that leverage technologies like OpenAI's Whisper, AWS services, TypeScript, and more, MCP ensures Cline focuses exclusively on the tools in your development ecosystem.

  • Context-Aware Assistance: MCP directs Cline to focus solely on the technologies you're using, eliminating irrelevant suggestions
  • Up-to-Date Documentation: Access the latest documentation directly from official sources, not outdated training data
  • Offline Capable: Once cached, documentation remains available even without internet access
  • Time-Saving Integration: Get framework-specific answers directly in your coding environment without switching contexts
  • Stack-Specific Solutions: Receive guidance that perfectly aligns with your actual tech stack configuration

Real Developer Impact

Developers report cutting project completion time by 30% when using MCP-enabled Cline. Instead of context switching between documentation sites, Stack Overflow, and GitHub issues, you get authoritative answers instantly in your workflow.

For multi-technology projects combining React, AWS services, TypeScript, and APIs like OpenAI, MCP creates a powerful ally that understands your entire technology ecosystem at once, eliminating the typical friction of juggling documentation across different platforms.

Extended Capabilities

MCP servers provide Cline with additional tools and resources that extend its capabilities.

Local Processing

MCP runs locally on your machine, making it secure and responsive even without internet access.

Custom Tools

Create custom tools tailored to your specific project needs and workflows.

Installation

Prerequisites

  • VS Code with Cline extension installed
  • Node.js (v14+) and npm (v6+)

Step 1: Clone the repository

git clone https://github.com/mgesteban/mcp-server-starter.git
cd mcp-server-starter

Step 2: Install dependencies

npm install

Step 3: Configure Environment Variables

Create a .env file in the root directory:

REACT_API_KEY=your_react_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
AWS_ACCESS_KEY=your_aws_access_key_here
AWS_SECRET_KEY=your_aws_secret_key_here
TYPESCRIPT_API_KEY=your_typescript_api_key_here
EXPRESS_API_KEY=your_express_api_key_here
VERCEL_API_KEY=your_vercel_api_key_here
SUPABASE_API_KEY=your_supabase_api_key_here

The location of your MCP settings file depends on your platform:

  • VS Code: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Claude desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)

Step 4: Start the MCP Server

npm start

Step 5: Connect to VS Code

  1. Open VS Code
  2. Install the Cline extension if you haven't already
  3. Configure the MCP server in VS Code:
    • Open VS Code settings
    • Navigate to Cline extension settings
    • Add the MCP server configuration:
    {
      "cline.mcpSettings": {
        "mcpServers": {
          "boardbreeze": {
            "command": "node",
            "args": ["path/to/mcp-server-starter/src/server.js"],
            "env": {
              "CLINE_SECRET": "your_secret_here",
              "REACT_API_KEY": "your_react_api_key_here",
              "OPENAI_API_KEY": "your_openai_api_key_here",
              "AWS_ACCESS_KEY": "your_aws_access_key_here",
              "AWS_SECRET_KEY": "your_aws_secret_key_here",
              "TYPESCRIPT_API_KEY": "your_typescript_api_key_here",
              "EXPRESS_API_KEY": "your_express_api_key_here",
              "VERCEL_API_KEY": "your_vercel_api_key_here",
              "SUPABASE_API_KEY": "your_supabase_api_key_here"
            },
            "disabled": false,
            "autoApprove": []
          }
        }
      }
    }
  4. Start using the MCP server with Cline in VS Code

How to Use MCP with Cline

Basic Usage

Once the MCP server is connected to Cline, you can access the documentation tools by asking Cline to use them. Here's how you can interact with Cline to use an MCP server:

I need help with React hooks. Can you find some documentation for me?

I'll fetch the React documentation about hooks for you. Let me access that information through the MCP server.

use_mcp_tool: docsHelper.get_docs
Parameters: {"type": "react", "path": "hooks"}

Here's the documentation about React hooks...

Can you show me how to use AWS Lambda functions?

I'll get you information about AWS Lambda functions through the MCP server.

use_mcp_tool: docsHelper.get_docs
Parameters: {"type": "aws", "path": "lambda"}

Here's documentation about AWS Lambda functions...

Documentation Tools

Documentation Type Description Available Paths
React React.js documentation and best practices hooks, components, context, effects, etc.
OpenAI OpenAI API documentation and implementation guides overview, whisper, audio, assistants, models, chat
AWS AWS service documentation and implementation guides s3, lambda, api-gateway, eventbridge, amplify, etc.
TypeScript TypeScript language and API documentation overview, interfaces, types, classes, functions, etc.
Express Express.js framework documentation overview, routing, middleware, error-handling, etc.
Vercel Vercel deployment and configuration guides overview, deployments, cli, functions, nextjs, etc.
Supabase Supabase documentation for database, auth, storage, and more overview, database, auth, storage, functions, etc.

Example Use Cases

1. Instant Documentation Access

Ask Cline for documentation on specific topics without leaving your editor:

User: How do I use AWS S3 presigned URLs?

Cline: I'll fetch that information for you using the MCP server.

[Cline uses the MCP tool to fetch AWS documentation about presigned URLs and presents the information directly in the conversation]

2. Technical Problem Solving

Get help with technical issues using up-to-date documentation:

User: I'm getting a 404 error with my Vercel deployment. Any ideas?

Cline: Let me check the Vercel documentation for common 404 error causes.

[Cline uses the MCP tool to fetch Vercel troubleshooting information and provides specific solutions based on official documentation]

3. Learning New Technologies

Quickly get up to speed with unfamiliar technologies:

User: I need to implement authentication with Supabase. Where should I start?

Cline: Let me get you started with Supabase authentication.

[Cline uses the MCP tool to fetch Supabase auth documentation and provides a step-by-step guide based on official resources]

4. Code Implementation Guidance

Get accurate code examples directly from documentation:

User: How do I create a TypeScript interface that extends another interface?

Cline: Let me show you how to extend interfaces in TypeScript.

[Cline uses the MCP tool to fetch TypeScript documentation about interfaces and provides specific examples with explanation]

Frequently Asked Questions

MCP provides access to the most current documentation directly from official sources. Unlike Cline's built-in knowledge which may be outdated, MCP tools fetch real-time information. Plus, it works even when you're offline once the documentation is cached.

For most documentation tools, you'll need an internet connection as MCP fetches documentation from official sources. However, once fetched, some documentation may be cached locally for offline access in future sessions.

Yes! MCP servers are designed to be extensible. You can contribute by adding more documentation sources to your project. Check the GitHub repository for contribution guidelines and examples of how to add new documentation sources.

  1. Check that the MCP server is running (you should see a message in the terminal)
  2. Verify that your MCP settings file is correctly configured
  3. Restart VS Code or the Claude desktop app
  4. Check the logs in the terminal where the MCP server is running
  5. If issues persist, check the GitHub repository for known issues or file a new one