MCP Explained: The USB-C Port for AI Tools

MCP standardises how AI connects to tools and data

Before MCP, every AI app needed a custom integration for every tool: one for GitHub, one for Jira, one for Slack, one for your database. Model Context Protocol (MCP) is an open standard, introduced by Anthropic in late 2024 and now supported across the industry, that solves this with one common interface.

The Analogy

USB-C lets any laptop connect to any charger, screen, or drive. MCP lets any AI assistant connect to any tool or data source that speaks MCP.

The Three Parts

  • MCP Host — the AI app you use (Claude, ChatGPT, VS Code, Cursor, Claude Code, and many more)
  • MCP Client — the connector inside the host
  • MCP Server — a small program that exposes a tool or data source

What a Server Exposes

  • Tools — actions the model can call (create an issue, run a query, send a message)
  • Resources — data the model can read (files, records, documents)
  • Prompts — reusable templates for common tasks

Real Examples

  • A GitHub server to read issues and open pull requests
  • An Atlassian server to search Jira and Confluence
  • A database server to run read-only SQL
  • A filesystem server to read local project files
  • A browser server to navigate and test web pages
  • Observability servers so an assistant can query metrics and logs while debugging

Building a Tiny MCP Server (Node.js)

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";

const server = new McpServer({ name: "ticket-stats", version: "1.0.0" });

server.tool(
  "open_ticket_count",
  { team: z.string() },
  async ({ team }) => {
    const count = await getOpenTickets(team); // your own logic
    return { content: [{ type: "text", text: `${team} has ${count} open tickets` }] };
  }
);

await server.connect(new StdioServerTransport());

Register it in your AI app's MCP settings, and the assistant can now call open_ticket_count when it needs it. Check the official SDK docs for the current API — it evolves quickly.

Local vs. Remote Servers

  • Local (stdio) — runs on your machine; good for files and dev tools
  • Remote (HTTP) — hosted by a vendor, usually with OAuth login; good for SaaS tools like Jira, Notion, or Slack

Security Checklist

  • Only install servers from sources you trust — a server can run code on your machine
  • Prefer read-only access when possible
  • Use OAuth and scoped tokens, never your admin password
  • Watch for prompt injection: content returned by a tool can contain instructions meant to mislead the model
  • Review what each tool can do before approving it

MCP turned "AI that talks" into "AI that works with your stuff". Learning it is one of the highest-leverage AI skills for developers right now.

Arivanandhan Chitheshwaran