<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb" -->

---
title: MCP Crash Course: Model Context Protocol Explained (Simply)
description: A beginner-friendly walkthrough of Model Context Protocol (MCP), the open standard introduced by Anthropic in November 2024 that lets AI tools like Claude and...
canonical: https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: MCP Crash Course: Model Context Protocol Explained (Simply) | daily.dev
og:description: A beginner-friendly walkthrough of Model Context Protocol (MCP), the open standard introduced by Anthropic in November 2024 that lets AI tools like Claude and...
og:url: https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb
og:image: https://api.daily.dev/og/posts/H1XmldLfb.png
og:image:alt: MCP Crash Course: Model Context Protocol Explained (Simply)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Crash Course: Model Context Protocol Explained (Simply)

**[Samuel Adekunle](https://daily.dev/sources/on_leuwcq)** · [@techwithsam](https://daily.dev/techwithsam) · 6 min read · 3 upvotes · 0 comments

## Summary

A beginner-friendly walkthrough of Model Context Protocol (MCP), the open standard introduced by Anthropic in November 2024 that lets AI tools like Claude and Cursor connect to external data sources and developer tools without custom one-off integrations. Covers the core concepts (tools, resources, prompts), shows a simple Python MCP server exposing add, get_current_time, and greet tools, walks through installing the SDK, running the server, and connecting it to Claude Desktop or Cursor, and closes with best practices around tool descriptions, permissions, testing, and trust. Ends with a plug for the author's 1-on-1 AI workflow mentorship.

## Content

Having to manually copy-paste context between your code environments (like IDEs) and Claude Desktop, or build fragmented, one-off custom integrations for every single new data source can be very frustrating.

That's why **Model Context Protocol (MCP)** was introduced and open-sourced by Anthropic in November 2024 to create a universal, standardized way for AI models to connect with external data sources, developer tools, and local systems.

Today, we're creating a complete handbook on how this MCP solution works, how to use it, and how it became one of the most useful things in AI right now.

By the end of this handbook, you'll understand:
 - What MCP actually is
 - Why it matters
 - How to use existing MCP servers
 - How to create a simple one yourself
 - And the key best practices

We'll keep it straightforward. Let's get into it.

## What is MCP?

MCP stands for **Model Context Protocol**. _[(Official documentation)](https://modelcontextprotocol.io/docs/2026-07-28/getting-started/intro)_

In simple terms, it's a standard way for AI tools (like Claude, Cursor, or other AI coding assistants) to connect to external tools and data.

Think of it like USB-C for AI.

Before USB-C, every device had its own cable. Before MCP, every AI tool needed custom code to communicate with each external service. That became messy fast.

![GIF of USB-C](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/sr0avbxj2imy845edgb0.png)

With MCP, you (or someone else) create an **MCP server**. Once that server exists, any compatible AI can use it.

An MCP server can offer three main things:
 - **Tools** → Actions the AI can perform (for example: "add two numbers", "create a GitHub issue", "read a file")
 - **Resources** → Data the AI can read
 - **Prompts** → Ready-made instructions

Most of the time, you'll mainly work with **Tools**.

That's the core idea. MCP gives AI applications a standard way to use external capabilities.

## See MCP in action (Demos)

Let me show you how this looks in practice.

First, you can use existing MCP servers built by others. There are servers for the filesystem, GitHub, databases, browsers, and many other services.

You connect them to your AI tool (Claude Desktop, Cursor, etc.), and suddenly the AI can use those tools when needed.

For this handbook, I'll also show you a simple server I created so you can see exactly how it works.

Here's a basic [Python MCP server](https://py.sdk.modelcontextprotocol.io/):

```python
from mcp.server.mcpserver import MCPServer

# Create the MCP server
mcp = MCPServer("Simple Demo Server")

@mcp.tool()
def add(a: int, b: int) -> int:
    """Add two numbers together."""
    return a + b

@mcp.tool()
def get_current_time() -> str:
    """Return the current date and time."""
    from datetime import datetime
    return datetime.now().strftime("%Y-%m-%d %H:%M:%S")

@mcp.tool()
def greet(name: str) -> str:
    """Greet someone by name."""
    return f"Hello, {name}! Welcome to MCP."

if __name__ == "__main__":
    mcp.run()
```

This server exposes three simple tools: `add`, `get_current_time`, and `greet`.

Once this server is running and connected to your AI, you can ask things like:
 - "What is 95 plus 107?"
 - "What's the current time?"
 - "Greet Samuel"

The AI will automatically call the right tool and return the result.

That's the power of MCP: the AI gains new abilities without you writing custom integration code every time.

## Create a simple MCP server

Now let's create one ourselves.

We'll use Python because it's simple and widely used, but you can pick from any of the available [MCP SDKs](https://modelcontextprotocol.io/docs/2026-07-28/sdk).

**Step 1: Install the package**
```bash
uv add "mcp[cli]"
```

**Step 2: Create a file called** `server.py` and paste the code I showed earlier.

**Step 3: Run it**

You can run it directly:

```bash
python server.py
```

Or use the MCP development tool:

```bash
uv run mcp dev server.py
```

**Step 4: Connect it to your AI tool**

In Claude Desktop or Cursor, you add a configuration that points to this server. Once connected, the tools become available to the AI.

That's it. You now have a working MCP server.

![Clause Desktop Connectors](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/9a5fq3aibknl73wr8ffe.png)

From here, you can expand it. Instead of simple math and greetings, you can add tools that:
 - Read or write files
 - Call external APIs
 - Interact with your project
 - Query a database
 - Or anything else useful for your workflow

The pattern stays the same: create a tool, give it a clear description, and return a useful result.

## How to use and share MCP servers

**Using existing servers**
Most of the time you'll just install or connect servers that already exist. You add them to your AI tool's configuration and start using them.

![Discover Connectors on Clause Desktop](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/nfl9gin6jv4stogbcbrz.png)

**Sharing your own server**

If you build something useful:
1. Put the code on GitHub
2. Write a clear README showing how to install and run it
3. Include the configuration snippet people need to connect it

That's usually enough for others (or your team) to use it.

## Best Practices

Here are the most important things to remember:

1. **Write clear tool descriptions**
The AI decides when to use a tool based on the description. Make it specific and easy to understand.

2. **Keep tools focused**
One tool should do one clear job.

3. **Be careful with permissions**
Especially when giving access to files, databases, or external APIs. Only give what's needed.

4. **Test your server**
Use the MCP development tools to test before connecting it to your main AI.

5. **Only use servers you trust**
Review what tools a server exposes before connecting it.

Follow these, and you'll avoid most common problems.

---

That's the complete simplified handbook on MCP.

You now know:
 - What MCP is
 - How it gives AI tools new abilities
 - How to use existing servers
 - How to create a simple one yourself
 - And the key best practices

MCP is about giving **AI access** to tools and data.

In a future release, we'll look at how this pairs with **Skills**, which give the AI expertise on how to use those tools well.

If you build a simple MCP server after reading this, drop the GitHub link in the comments. I'd love to see it.

If this was helpful, hit like, follow, and turn on notifications.

I also offer 1-on-1 mentorship if you want help setting up AI workflows for your projects - [click here](https://calendar.app.google/j4FfEbsehwtmjgXn6).

I'll see you in the next one. Peace.

## Similar posts on daily.dev

- [Model Context Protocol \(MCP\) Explained: A Beginner’s Guide](https://daily.dev/posts/model-context-protocol-mcp-explained-a-beginner-s-guide-a0noqdtsj) · Medium · 0 upvotes · 0 comments
- [Model Context Protocol Guide](https://daily.dev/posts/model-context-protocol-guide-ugw9j9a04) · SitePoint · 1 upvotes · 1 comments

---

Tags: [#python](https://daily.dev/tags/python), [#ai-agents](https://daily.dev/tags/ai-agents), [#mcp](https://daily.dev/tags/mcp), [#claude](https://daily.dev/tags/claude)

[View this post on daily.dev](https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb","headline":"MCP Crash Course: Model Context Protocol Explained (Simply)","text":"A beginner-friendly walkthrough of Model Context Protocol (MCP), the open standard introduced by Anthropic in November 2024 that lets AI tools like Claude and Cursor connect to external data sources and developer tools without custom one-off integrations. Covers the core concepts (tools, resources, prompts), shows a simple Python MCP server exposing add, get_current_time, and greet tools, walks through installing the SDK, running the server, and connecting it to Claude Desktop or Cursor, and closes with best practices around tool descriptions, permissions, testing, and trust. Ends with a plug for the author's 1-on-1 AI workflow mentorship.","url":"https://daily.dev/posts/mcp-crash-course-model-context-protocol-explained-simply--h1xmldlfb","datePublished":"2026-09-28T02:24:32.297Z","dateModified":"2026-09-28T02:24:50.702Z","author":{"@type":"Person","name":"Samuel Adekunle","url":"https://daily.dev/techwithsam","image":"https://avatars2.githubusercontent.com/u/42917957?v=4","description":"Building myvista.app | Software Engineer | Building Scalable Solution | Tech Educator \u0026 Speaker","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":740}},"image":"https://media.daily.dev/image/upload/s--YqRCbqCc--/f_auto/v1790562274/posts/H1XmldLfb?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/on_leuwcq","name":"Samuel Adekunle"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Samuel Adekunle","item":"https://daily.dev/sources/on_leuwcq"},{"@type":"ListItem","position":3,"name":"MCP Crash Course: Model Context Protocol Explained (Simply)"}]}
```

