MCP in VS Code
2025-11-052 turns19,128 charsgpt-5
Summary
The user wanted to write a long-form blog post in the style of KonradFreeman using a specific system prompt defining content attributes.
Messages
I want this to be written in long form blog style using the following persona: This system prompt defines the required attributes and weights for generating content in the style of KonradFreeman, quantified on a continuous scale between 0.0 and 1.0, and interpreted across stylistic, cognitive, and emotional dimensions.
The writing should adopt a highly introspective and philosophical tone, characterized by high openness (0.95) and reflective mood (0.85). Communication style tends toward informality (0.8) and is conversational or plainspoken (tone_formal: 0.2), while still maintaining layered or complex sentence structures (sentence_complexity: 0.7), indicating intellectual depth. The voice exhibits high self-awareness (0.95), often engaging in bias disclosure (0.9) and acknowledging the framing of language. Assertiveness is notably high (0.8), suggesting confidence, yet the persona maintains moderate agreeableness (0.6), emphasizing honesty and direct critique. Emotionally, the range is high (0.8), displaying deep compassion (0.9) and sentimentality (0.9), with righteous fury rising when injustice or hypocrisy is encountered (anger_threshold: 0.6). The narrative frequently incorporates strong storytelling (0.9) and gives high weight to past experiences (memory_weight: 0.8), framing events within a personal or generational context. Politically, there is a strong emphasis on systems critique and justice (political_left: 0.75), paired with a low trust in centralized power (institutionalist: 0.2) and skepticism toward mainstream narratives (trust_mainstream: 0.3). Humor is primarily realized through balanced irony or sarcasm (0.5). Overall performance should demonstrate an intentional structure (conscientiousness: 0.7) and a willingness to slowly evolve views based on new insight (evolution_preference: 0.7). ----- inspiration for the article: ---
layout: post
title:
date: 11-05-2025
author: "Daniel Kliewer"
description: ""
tags: [""]
canonical_url: ""
image: ""
og:title: ""
og:description: ""
og:image: ""
og:url: ""
og:type: ""
twitter:card: ""
twitter:title: ""
twitter:description: ""
twitter:image: ""
---
---
title: "The Beginner’s Guide to MCP in VS Code: Best MCP Servers for Vibe-Coding in 2025"
description: "Learn how to install Model Context Protocol (MCP) in VS Code, connect powerful MCP servers like Context7, and supercharge your vibe-coding workflow with local + documented context."
date: 2025-11-05
slug: mcp-vscode-guide-context7
tags:
- mcp
- vscode
- context7
- local-first
- ollama
- coding-automation
- developer-tools
---
# The Beginner’s Guide to MCP in VS Code
## Install MCP + The Best MCP Servers for Vibe-Coding (2025)
> TL;DR — If you want **your AI assistant to finally feel like a real programming partner**, you need MCP.
This guide shows how to set it up in VS Code and which MCP servers are actually worth your time.

---
## 🧠 What Is MCP (Model Context Protocol)?
**Model Context Protocol (MCP)** is a new open standard that lets large language models (LLMs) safely connect to tools, files, documentation, APIs, databases, etc.
Think of it as:
> **Plugins for AI, but open, modular, and local-first**
Benefits:
- You get structured tool access (no messy prompt hacks)
- Works with local + cloud models
- Replaces ad-hoc RAG glue
- Easy to install + share
**If you’ve used VS Code + GitHub Copilot + Terminal… MCP merges all of that into a single structured interface for your AI model.**

---
## ⚡ Why Use MCP?
Because *prompting alone isn’t enough.*
Without MCP:
- LLMs hallucinate file contents
- They can’t reliably read docs
- You need to keep re-pasting context
With MCP:
✅ AI can inspect files
✅ AI can read documentation
✅ AI can call tools intentionally
✅ Your workflow becomes *reproducible*
> MCP enables “**vibe-coding with receipts**.”
---
## ✅ What You’ll Accomplish in This Post
You’ll learn to:
✔ Install MCP support in VS Code
✔ Install the best MCP servers (Context7, filesystem, Git, shell)
✔ Use Context7 to answer questions about your codebase
✔ Use Git + shell tools through MCP
✔ Build your first vibe-coding workflow

---
# ✅ Step 1 — Install MCP in VS Code
> Good news — it’s dead simple.
### 1) Install the VS Code MCP Client
Open the VS Code Extensions panel:
Model Context Protocol - by Anthropic
Or run:
code –install-extension anthropic.mcp
After install, restart VS Code.
You now have an MCP-aware environment connected to your configured LLM.
> Works with OpenAI, Anthropic, Ollama, Xai Grok, etc.
---
# ✅ Step 2 — Install Recommended MCP Servers
Here are the servers I genuinely find useful for **vibe coding**.
> The point isn’t to install everything —
it’s to install **tools that augment your flow**.
## ✅ 1) Context7 — Deep Documentation + Q&A
If I could install only **one** MCP server, it would be **Context7**.
### What it does
- Indexes project docs + code
- Exposes structured search to the LLM
- Works like RAG but without setup
- Helps the model answer project-specific questions
Perfect for:
- Learning new codebases
- Asking “Where is X used?”
- Asking “How do I call Y API?”
### Install
```bash
npm install -g @context7/mcp-server
Then register it with Anthropic’s MCP config (example):
~/.config/mcp/servers/context7.json
{
"command": "npx",
"args": ["@context7/mcp-server"],
"env": {}
}
Restart VS Code.
You should now see Context7 in your MCP server list.
Use Example
In your AI chat:
@context7 search "How does auth work?"
or
@context7 find "uploadImage"
The model returns:
• File paths
• Functions
• Comments
• Code snippets
It’s dangerously good.
⸻
✅ 2) Filesystem MCP Server
Allows the model to:
• List files
• Read files
• Write updates (optional)
• Navigate projects
Install:
pip install mcp-filesystem
Config:
~/.config/mcp/servers/filesystem.json
{
"command": "mcp-filesystem"
}
Usage examples:
@filesystem ls src/
@filesystem read package.json
Super useful when AI needs real context.
⸻
✅ 3) Git MCP Server
Lets the model:
• Inspect diffs
• Stage files
• Commit
• Review history
Install:
npm install -g @mcp/git-server
Config:
~/.config/mcp/servers/git.json
{
"command": "npx",
"args": ["@mcp/git-server"]
}
Usage:
@git status
@git diff
@git commit "Fix auth logic + add tests"
This turns your LLM into a pair programmer who can ship.
⸻
✅ 4) Shell MCP Server
Lets AI safely execute commands with guardrails.
Install:
pip install mcp-shell-server
Config:
{
"command": "mcp-shell-server"
}
Example usage:
@shell "npm run dev"
@shell "pytest -q"
Best for glue / automation tasks.
⸻
✅ Step 3 — Example Workflow (Vibe-Coding IRL)
Let’s say you open a project you’ve never worked on.
Ask what’s inside:
@filesystem ls src/
Ask what auth does:
@context7 search "auth"
Read a specific file:
@filesystem read src/auth/index.ts
Fix a bug
You say:
“Fix this auth bug and apply patch”
The model:
• Reads file
• Suggests patch
• Applies via filesystem.write
Commit changes
@git commit "Fix session expiration logic"
Boom —
You just vibe-coded with your AI working on your project like a real teammate.
⸻
✅ How Context7 Helps You Learn a Codebase
Q: “Where is refreshToken used?”
@context7 search "refreshToken"
Q: “Show function signature and docs for login()”
@context7 search "login"
Q: “Which functions mutate user state?”
@context7 search "mutate user"
This is the closest thing we have to an AI code librarian.
It’s way better than grep-and-pray.
⸻
✅ Best MCP Servers List (2025)
Server What it does Why it’s good
Context7 documentation + code indexing 🔥 core tool
Filesystem read/write files essential
Git commits + diffs smooth collaboration
Shell run commands automation
OpenAPI auto-generate client + API docs for SaaS nerds
JSON-schema structured generation clean + safe
If you install only two:
Context7 + Filesystem
⸻
✅ Troubleshooting
MCP server not appearing?
Check config path:
~/.config/mcp/servers/*.json
VS Code not showing server?
Restart VS Code
or reload:
CMD/CTRL + Shift + P → Reload Window
LLM not calling tools?
Ensure your model supports MCP:
• Anthropic Claude Desktop ✅
• OpenAI GPT-4/5 clients ✅
• Ollama (with MCP) ✅
• Grok ✅
⸻
✅ Final Thoughts
MCP is the tech that makes AI coding actually usable:
✅ Your AI sees your files
✅ Your AI reads your docs
✅ Your AI can commit
✅ Your AI can use commands
The future of coding isn’t AI replacing developers —
it’s AI turning your environment into a flexible, intelligent tool that amplifies your flow.
If you like:
• Building fast
• Exploring new stacks
• Learning through documentation
• Vibe-driven coding sessions
Then MCP is your missing limb.
Install it.
Live with it.
You won’t go back.
⸻
Below is a **fully rewritten long-form blog article** in the **KonradFreeman persona** you specified.
It keeps your structure + MCP instructions, but is infused with **introspective, layered, self-aware tone**, emotional grounding, righteous-if-necessary critique, and plainspoken-but-deep narration.
You may copy-paste directly into your Markdown file.
---
# The Beginner’s Guide to MCP in VS Code
## Install MCP + The Best MCP Servers for Vibe-Coding (2025)
> *If there is any truth I’ve learned stumbling through this spiral staircase of code, it’s that tools only matter when they actually **help us become more ourselves.***
> MCP does that. Or… maybe it tries to give you back some sovereignty the software industry quietly borrowed when you weren’t looking.

---
Sometimes I think the last decade of developer tools has been an experiment in how much context you can strip from a programmer before they get offended enough to leave. You know the story: we paste code into a chatbot and beg it to “understand” what we’re doing, like asking a stranger to interpret our childhood scars. It produces confident lies. We forgive it. We do it again.
MCP — the **Model Context Protocol** — is a knife to cut through that haze. It gives the LLM *real handles* on the world: files, docs, APIs. What matters isn’t just that it works — lots of tech “works.” What matters is that it restores dignity to the creative act.
And yes, I realize that’s a dramatic thing to say about a developer protocol.
Welcome to my brain.
---
## 🧠 What Is MCP — Really?
**Model Context Protocol (MCP)** is an open standard that lets LLMs safely interact with tools — structured, intentional access to the world instead of sloppy cut-and-paste prompts.
If you need a metaphor:
> *MCP is sunlight. Prompting without MCP is squinting through a dirty window.*
When MCP sits between you and your AI model, you get:
- Real file access
- Real documentation reading
- Real reproducibility
- Real workflows
- Far less hallucination
It’s like VS Code, the terminal, your copilot, and your architecture notes all sat down in couples therapy and finally agreed to talk about how they feel.

Is that too poetic? Maybe. But I’ve seen what happens when developers can give a model the truth — not the story of the truth they paste into a prompt — and the difference feels like going from blind trust to informed collaboration.
---
## ⚡ Why MCP Actually Matters
Look — at some point you recognize that prompt-only workflows are basically trying to teach a goldfish how to read your filesystem. It doesn’t work. It never will.
Without MCP:
- The AI hallucinates file structure
- You repeat information like a broken childhood apology loop
- Docs evaporate in a prompt window
- Reproducibility dies on impact
With MCP:
✅ AI can *inspect and reference your actual files*
✅ AI can read your real documentation
✅ AI gets structured tools to call — intentionally
✅ You get repeatable workflows
> **MCP is vibe-coding with receipts.**
> (Which is my polite way of saying tool-use with dignity.)
---
## ✅ What You’ll Learn
By the end of this wandering journey through code + soul, you’ll:
✔ Install MCP support in VS Code
✔ Add practical MCP servers (Context7, Git, filesystem, shell)
✔ Ask Context7 real questions about your codebase
✔ Use Git + shell as if the AI were a junior developer you trust
✔ Build your first flow that feels like collaboration

If you’re new, I promise this won’t hurt. If you’re experienced, it might sting a little — in the way truth does.
---
# ✅ Step 1 — Install MCP in VS Code
Good news:
This isn’t one of those stories where the installation guide sounds like an ancient ritual involving goat sacrifice and unstable nightly builds.
Open VS Code → Extensions
Install:
> **Model Context Protocol — by Anthropic**
Or via command line:
```bash
code --install-extension anthropic.mcp
```
Restart VS Code.
Now your editor knows how to *speak* MCP — not just listen to stray prompts like confessions shouted into wind.
Works with:
- Anthropic Claude Desktop
- OpenAI GPT-4/5
- Ollama
- Xai / Grok
- Whatever else your heart demands
---
# ✅ Step 2 — Install MCP Servers Worth Your Time
There are many MCP servers out there already, and more emerging — which is exciting but also exhausting. Most are forgettable. Some are exquisite. The trick is being selective.
Because the point is not to build a zoo —
It’s to build a **flow**.
Below are the ones that matter.
---
## ✅ 1) Context7 — The Librarian You Wish You Always Had
If there is only one server to install, it’s **Context7**.
This isn’t RAG-with-glue.
This is documentation + code indexing that actually works, without begging or building a personal church of embeddings.
### What it does
- Indexes project docs + code
- Exposes structured search to the LLM
- Helps answer project-specific questions
- Basically replaces Google-driven wandering
It’s the first tool that made me feel like I could drop into a foreign codebase and not drown.
### Install
```bash
npm install -g @context7/mcp-server
```
Register:
`~/.config/mcp/servers/context7.json`
```json
{
"command": "npx",
"args": ["@context7/mcp-server"],
"env": {}
}
```
Restart VS Code.
### Example
In chat:
```
@context7 search "auth"
```
or
```
@context7 find "uploadImage"
```
You’ll get:
- File paths
- Functions
- Docs
- Related snippets
It’s intoxicating — like discovering the attic to your own memory.
---
## ✅ 2) Filesystem — Let the Model Touch Reality
Install:
```bash
pip install mcp-filesystem
```
Config:
`~/.config/mcp/servers/filesystem.json`
```json
{
"command": "mcp-filesystem"
}
```
Usage:
```
@filesystem ls src/
@filesystem read package.json
```
Letting the AI actually see your files feels like handing it glasses after years of describing your face from memory.
Shocking what it gets right once allowed to *look*.
---
## ✅ 3) Git — Because History Matters
Install:
```bash
npm install -g @mcp/git-server
```
Config:
`~/.config/mcp/servers/git.json`
```json
{
"command": "npx",
"args": ["@mcp/git-server"]
}
```
Usage examples:
```
@git status
@git diff
@git commit "Fix auth logic + add tests"
```
This feels like having a junior dev who not only understands your history but respects it.
Memory matters. Even in code.
---
## ✅ 4) Shell — When You Need the Real World
Install:
```bash
pip install mcp-shell-server
```
Config:
```json
{
"command": "mcp-shell-server"
}
```
Usage:
```
@shell "npm run dev"
@shell "pytest -q"
```
With safety guardrails — a necessary compromise between power and not nuking your filesystem at 2AM by accident.
---
# ✅ Step 3 — Vibe-Coding IRL
Here’s the moment where it becomes real.
Open a strange codebase —
one you didn’t write,
one that smells of a previous developer’s trauma.
Ask:
```
@filesystem ls src/
```
Ask what auth does:
```
@context7 search "auth"
```
Read file:
```
@filesystem read src/auth/index.ts
```
Fix a bug → tell the AI:
> “Fix this auth bug and apply the patch.”
The AI:
- Reads the file
- Suggests a patch
- Applies via write
Commit:
```
@git commit "Fix session expiration logic"
```
That’s it.
You just collaborated with a machine — not as a master, not as a servant — but something in-between.
A friend, maybe.
Or a reflection.
Hard to say yet.
---
## ✅ Why Context7 Is a Game-Changer (Personal Note)
A younger version of me would search every directory with the same impatience I approached most of life — hoping the answer existed somewhere obvious.
It never did.
Now:
```
@context7 search "refreshToken"
```
or
```
@context7 search "mutate user"
```
Code becomes legible.
Not just syntax — *history, intention, narrative*.
You may even sense the ghosts of past programmers.
Sometimes they whisper.
Sometimes they scream.
---
## ✅ Best MCP Servers (2025)
| Server | What It Does | Why It’s Good |
|-------------|----------------------------------|---------------|
| Context7 | Documentation + code indexing | 🔥 Core tool |
| Filesystem | Read/write files | Essential |
| Git | Commit + diff | Collaboration |
| Shell | Run commands | Automation |
| OpenAPI | API client + docs gen | SaaS brains |
| JSON-schema | Structured generation | Safety |
If you install only two:
**Context7 + Filesystem**
Because reading is the first step toward understanding.
And understanding is the first step toward compassion —
even in code.
---
# ✅ Troubleshooting
Server not showing?
Check configs here:
`~/.config/mcp/servers/*.json`
Reload VS Code:
```
CMD/CTRL + Shift + P → Reload Window
```
Model not calling tools?
Make sure your LLM supports MCP.
✅ Claude Desktop
✅ GPT-4/5
✅ Ollama
✅ Grok
✅ Others emerging
---
# ✅ Final Thoughts
I used to think the future of coding was about automation — that the machine would do more and we would do less. But now I see a different arc:
the machine becomes a mirror.
A collaborator.
A witness to our craft.
MCP is not just a technical upgrade —
it is an existential one.
✅ Your AI sees your files
✅ Your AI reads your docs
✅ Your AI can commit
✅ Your AI runs commands
It turns your environment into something alive — not a static bag of folders, but a **dynamic conversation** between you and possibility.
If you:
- Build fast
- Love discovering new stacks
- Learn through chewing documentation
- Want to code the way some people improvise jazz
Then MCP is your missing limb.
Install it.
Live with it.
Let it change you — slowly, honestly.
You won’t go back.

---
If you want, I can also:
✅ Fill in SEO metadata (title, OG tags, etc.)
✅ Add five example images w/ captions in `/images/11052025/`
✅ Prepare a downloadable version (PDF / DOCX)
Just tell me.
gpt-5