AI Tools & Chatbots

What Is MCP? Model Context Protocol Explained

Owned and published by DLTutu, an independent app-guide publisher. Editorial policy · Sources · Report a correction

Quick answer

MCP (Model Context Protocol) is a free, open-source standard that lets AI apps connect to files, databases, search tools, and reusable workflows. The quickest path is to install an MCP-capable host, such as Claude Desktop or ChatGPT on the web, then add a trusted server from the official MCP Registry or a vendor’s documentation. Start with a server that exposes one safe, read-only task and review every approval request before allowing broader access.

Key takeaways

  • YesMCP standardizes how AI apps connect to external data, tools, and prompts without requiring a custom integration for every connection.
  • YesAn MCP host creates a client for each server, while servers expose tools, resources, and prompts.
  • YesLocal servers run on your computer over stdio; remote servers run on a provider’s platform over Streamable HTTP.
  • YesReference servers are educational examples, so production use requires careful review and testing.
  • YesStart with narrow access, read-only operations, and explicit approval for anything that changes files or data.
  • YesClaude Desktop, Claude Code, Visual Studio Code with GitHub Copilot, and ChatGPT on the web support different MCP setup workflows.

MCP (Model Context Protocol) is an open standard that connects AI applications to information and actions outside the chat window, including files, database records, search functions, and reusable prompts. An MCP server is the program that exposes these capabilities, giving developers and teams a shared way to build AI workflows without a custom integration for every connection. Nontechnical users can also configure a trusted server through a supported host.

Anthropic introduced the standard to replace many one-off integrations. This guide explains the host, client, server, tools, resources, prompts, and transports, then shows how to configure MCP in Claude Desktop, Claude Code, Visual Studio Code, and ChatGPT on the web. You will also learn how to choose a narrow server and review actions without granting unnecessary access.

What MCP is and how it works

MCP (Model Context Protocol) is an open-source standard for exchanging context between AI applications and connected systems. The host is the AI application, such as Claude Desktop or Visual Studio Code, that manages connections and user approvals. Each host creates an MCP client for every server, and that client maintains a dedicated connection. The server is the program that provides context and actions through tools, resources, and prompts. Tools are functions the AI can call, resources are data it can read, and prompts are reusable templates it can request. Connections use stdio for local processes or Streamable HTTP for remote servers, with OAuth commonly used to authorize remote access.

Before you start

  • YesAn MCP-capable host, such as Claude Desktop on Windows or Mac, Claude Code, Visual Studio Code with GitHub Copilot, or ChatGPT on the web
  • YesA trusted MCP server from the official MCP Registry, the modelcontextprotocol/servers repository, or a vendor’s official documentation
  • YesNode.js or Python for many local servers, depending on the server’s installation instructions
  • YesA user account with the host application and any required authentication for the chosen server

How to start using MCP, step by step

Checked against the official pages: [1][2][3][4][5][6]

  1. Learn the host, client, and server roles

    An MCP host is the AI application, such as Claude Desktop or Visual Studio Code. The host creates one MCP client for each connected server. That client keeps a dedicated connection to the server, which provides context and actions. Understanding these roles helps you identify where a server is running and which application controls its permissions.

  2. Identify tools, resources, and prompts

    MCP servers expose three core primitives: Tools, Resources, and Prompts. Tools are functions the AI can call, such as API calls or file operations; resources contain data such as files or database records; prompts are reusable templates. Clients discover the available items with list requests and run tools with tools/call. Review these capabilities before approving a connection.

  3. Choose local or remote operation

    Local servers use the stdio transport and run on your computer, usually serving one client. Remote servers use the Streamable HTTP transport and run on the provider’s platform, usually with OAuth sign-in. Choose local operation for direct access to selected local folders. Choose remote operation when the provider manages the service and its authentication.

  4. Find a trusted MCP server

    Browse servers published to the official MCP Registry, inspect the reference servers in the modelcontextprotocol/servers repository, or follow a vendor’s own documentation. The reference servers are teaching examples rather than production-ready solutions. Check the server’s publisher, commands, endpoints, requested folders, and authentication scopes before installing it.

  5. Prepare Claude Desktop

    Install or update Claude Desktop on Windows or Mac. In the app, open the Claude menu, select Check for Updates..., and apply any available update. Many local servers require Node.js, so confirm the installation by running node --version in a terminal. Use the server’s own documentation to determine whether it needs Node.js, Python, or another prerequisite.

  6. Open the Claude Desktop configuration

    Click the Claude menu in your system menu bar and choose Settings.... Open the Developer tab and click Edit Config. This opens claude_desktop_config.json. On macOS, the file is in ~/Library/Application Support/Claude/; on Windows, it is in %APPDATA%\Claude\. Back up the file before changing its contents.

  7. Add a local filesystem server

    Under "mcpServers", add an entry such as "filesystem" with "command": "npx" and "args": ["-y", "@modelcontextprotocol/server-filesystem", followed by the absolute paths of folders you want to share. List only folders you are comfortable letting Claude read and modify. Use absolute paths and avoid exposing your entire home directory.

  8. Restart and verify the connection

    Fully quit and reopen Claude Desktop after editing the configuration. Click the "Add files, connectors, and more /" button in the message box, hover over Connectors, and click Manage connectors. Select your server to see its tools. If the server does not appear, verify that the configuration syntax and executable paths are correct before checking the logs.

  9. Approve each action carefully

    Claude asks for approval before each tool action. Read the requested operation, file path, or command before approving it, and deny anything outside the task you intended. Local servers run with your user account’s permissions, so an approved tool may be able to read or change shared folders. Continue using narrow folder paths and individual approvals.

  10. Add a server in Claude Code

    Open a terminal in the project you want to use. For a remote server, run claude mcp add --transport http notion https://mcp.notion.com/mcp. For a local server, run claude mcp add --transport stdio <name> -- <command> [args]. Add --scope project when the team should share the server through a .mcp.json file in the project root.

  11. Manage Claude Code authentication

    Start an interactive Claude Code session and run /mcp. Select the server and complete the browser login for OAuth servers. From the shell, use claude mcp list, claude mcp get <name>, and claude mcp remove <name>. Scripted runs made with claude -p cannot complete OAuth, so sign in through an interactive session first.

  12. Configure MCP in Visual Studio Code

    Open the Command Palette and run MCP: Add Server, or run Chat: Open Customizations, select MCP Servers, and choose Add Server. Choose HTTP for a remote server and enter its URL, or choose Command (stdio) for a local process. Assign an ID, review the publisher, command or endpoint, and requested access, then finish the installation.

  13. Add a custom server in ChatGPT

    On ChatGPT on the web, open Plugins, select the plus button, and choose Add custom MCP server. Enter a name and Server URL, set authentication to OAuth or No authentication, and review the risk warning. Select I understand and want to continue, then Create as a plugin and install it before using it in a chat. Workspace permissions and security restrictions apply.

  14. Run a useful read-only task

    In Visual Studio Code with GitHub Copilot, ask a question that requires data from the connected server. Copilot can select relevant tools automatically, but you still need to review any action it proposes. Start with a request that only locates or reads a known file or record. Add write access later only after confirming that the initial workflow behaves correctly.

Key MCP (Model Context Protocol) features explained

1

Shared integration standard

MCP allows a server to work with multiple compatible AI applications instead of requiring a separate custom connector for each host. This is useful when a team wants the same data and tools available across clients.

2

Tools, resources, and prompts

Tools perform actions, resources provide readable context, and prompts supply reusable templates. This separation helps a host decide what the AI may call, what information it may read, and which reusable workflows it can request.

3

Local and remote transports

The stdio transport connects a host to a local server process, while Streamable HTTP connects to a remote service. The distinction affects installation, authentication, maintenance, and the permissions granted to the server.

4

Tool list notifications

Servers can notify clients when their available tools change. Compatible clients can update the tool list without a restart, which helps reduce administration when a managed server adds or removes capabilities.

5

Elicitation

Elicitation lets a server ask the user for missing information or confirmation through the client. It is useful for workflows that need a target path, account choice, or explicit decision before the server continues.

6

OAuth authorization

Remote servers commonly use OAuth to obtain access tokens instead of storing a password in the client. Grant the smallest scopes that work, because broad permissions increase the potential impact if a token is exposed.

Tips & shortcuts

  • Use the smallest folder list that supports your task instead of granting access to a whole drive.
  • Prefer a server with a clearly identified publisher and documented commands, endpoint, permissions, and data handling.
  • Test a new server with read-only operations before requesting write or delete capabilities.
  • Use /mcp in an interactive Claude Code session to complete OAuth before relying on automated runs.
  • Review a server again whenever it requests broader scopes, new folders, or a different endpoint.
  • Keep MCP server settings in version control when the team shares project-scoped configuration through .mcp.json.
  • Use elicitation to request a missing file path or confirmation instead of guessing when a server supports it.
  • Treat automatic tool selection as a convenience, not permission to skip approval prompts.

Common mistakes to avoid

  • Installing every available server creates unnecessary attack surface; add only the connectors your workflow requires.
  • Granting access to broad or sensitive folders lets a local server act with your account permissions; start with specific paths.
  • Assuming reference servers are production-ready can lead to reliability or security problems; use them for learning and test before real workloads.
  • Approving tool requests without reading their paths or commands can permit unintended changes; inspect every request.
  • Remembering approvals for a whole conversation may allow a later request to run without fresh confirmation; approve only individual actions when risk is meaningful.

Troubleshooting

Claude Desktop does not show the configured server

Confirm that you fully quit and reopened the app, then check the "Add files, connectors, and more /" button, Connectors, and Manage connectors. Validate the JSON structure, command, arguments, and absolute folder paths in claude_desktop_config.json. On macOS, inspect mcp.log and mcp-server-SERVERNAME.log in ~/Library/Logs/Claude; on Windows, inspect %APPDATA%\Claude\logs.

A local server cannot start

Open a terminal and run the configured command with its arguments to see the error. Confirm that Node.js or Python is installed when the server requires it, then verify the executable and package name. Also check that the shared folder exists and that the process has permission to access it.

A remote server fails during authentication

Confirm that the Server URL is correct and that the service expects the selected authentication method. For OAuth, complete the browser sign-in from an interactive Claude Code session by running /mcp. Remember that scripted runs with claude -p cannot complete OAuth.

Visual Studio Code cannot find or run the server

Use MCP: Add Server or Chat: Open Customizations, then MCP Servers and Add Server. Check that HTTP is used for a remote URL and Command (stdio) is used for a local process. Review the server’s publisher, command or endpoint, ID, and requested access before retrying.

ChatGPT does not offer the custom server option

Use ChatGPT on the web, open Plugins, select the plus button, and choose Add custom MCP server. The option may be restricted by workspace permissions or security policies, so check with a workspace administrator if it is missing. Confirm that the server exposes a valid URL and the authentication choice matches its requirements.

Privacy & safety

Only connect servers from a source you can verify, because MCP itself does not make a server trustworthy. Before a one-click local installation, confirm that the client displays the exact command and requires your explicit approval. Review publishers, commands, endpoints, shared folders, and token scopes, and grant only the access needed for the task. Servers that fetch outside content can expose you to prompt injection, where hidden text attempts to steer the AI; do not treat fetched instructions as trusted commands. Avoid MCP lookalikes that ask you to disable security checks, paste passwords or API keys into chat, run an unexplained script, or install an unofficial binary.

Sources

These are the developers' and platforms' own pages we checked this guide against. What an app does is taken from them; which app suits whom is our editorial judgement. Links open the official site.

  1. Architecture overview - Model Context Protocol modelcontextprotocol.io
  2. GitHub - modelcontextprotocol/servers: Model Context Protocol Reference Servers · GitHub github.com
  3. Connect to local MCP servers - Model Context Protocol modelcontextprotocol.io
  4. Mcp mcp.notion.com
  5. Connect Claude Code to tools via MCP - Claude Code Docs code.claude.com
  6. Add and use MCP servers in VS Code code.visualstudio.com
  7. Add custom MCP server developers.openai.com
  8. What is the Model Context Protocol (MCP)? - Model Context Protocol modelcontextprotocol.io
  9. Introducing the Model Context Protocol \ Anthropic anthropic.com
  10. Security Best Practices - Model Context Protocol modelcontextprotocol.io

Frequently asked questions

What is MCP (Model Context Protocol)?

MCP (Model Context Protocol) is an open-source standard that lets AI applications exchange context with external systems. It defines how compatible applications connect to servers that expose tools, resources, and prompts, including access to files, databases, search functions, and reusable workflows. MCP does not control how an AI model thinks or decide which context to use. It standardizes the connection layer so an integration can work across multiple compatible hosts.

Is MCP (Model Context Protocol) free?

Yes. The MCP specification, official SDKs, and reference servers are free and open source. Using MCP also requires an MCP-capable host application, and some hosts or connected services may have their own account, plan, or workspace restrictions. The protocol itself does not add a separate subscription, although any private remote service can have its own access requirements.

Is MCP (Model Context Protocol) safe to use?

MCP can be used safely when you trust the server and keep its permissions narrow. A local server runs on your computer with your user account’s permissions, so a poorly reviewed server could read, change, or delete accessible files. Review the publisher, command, endpoint, requested folders, and authentication scopes before connecting, and approve each tool action only after understanding what it will do.

Can I use MCP on an iPhone or Android phone?

MCP is not a standalone phone app, so the clearest setup path is on a computer. ChatGPT on the web supports custom MCP servers for browser-based workflows, subject to workspace permissions and security restrictions. Local stdio servers require a computer that can run the server process and its dependencies. Phone support therefore depends on the host’s mobile interface and the remote server you connect.

Can I use MCP (Model Context Protocol) on a computer?

Yes, MCP is primarily configured through desktop or web hosts. Claude Desktop supports local server setup on Windows and Mac, Claude Code runs from a terminal, and Visual Studio Code supports MCP servers with GitHub Copilot. ChatGPT on the web can add custom remote servers. Local servers generally need Node.js or Python and use the stdio transport.

Do I need programming knowledge to use MCP (Model Context Protocol)?

You can install and use a prepared server without writing code, although configuration involves commands and file paths. Local setups may require Node.js or Python, and Claude Code uses terminal commands. Developers will find the protocol useful when building a server or connecting a proprietary internal system. Nontechnical users can start with a documented server in Claude Desktop or ChatGPT.

Should I use a local or remote MCP server?

Use a local server when the task requires direct access to selected files on your computer and you are comfortable managing its local process. Use a remote server when the provider hosts the service, maintains the tools, and handles OAuth authentication. Local servers can be convenient but inherit your account permissions, while remote servers depend on the provider’s security and access controls.

Which apps support MCP (Model Context Protocol)?

Compatible clients include Claude Desktop, Claude Code, ChatGPT on the web, Visual Studio Code with GitHub Copilot, and Cursor. Their setup methods differ: Claude Desktop edits a configuration file, Claude Code uses terminal commands, Visual Studio Code adds servers through its interface, and ChatGPT creates a custom server as a plugin. Check the host’s current documentation for workspace or plan restrictions.

Are the official MCP reference servers ready for production use?

No. The reference servers in the modelcontextprotocol/servers repository are demonstrations and educational examples, not production-ready services. They can help you learn how tools, resources, prompts, and transports work. For a real workflow, prefer a maintained server from its vendor or the official MCP Registry, then review its permissions, failure handling, authentication, and data practices.

What is an MCP server?

An MCP server is the program that provides context and actions to an AI application. It exposes tools, resources, and prompts: tools are functions the AI can call, resources are data it can read, and prompts are reusable templates. The host creates one client for each connected server, and that client maintains a dedicated connection. Local servers run on your computer over stdio, while remote servers run on a provider’s platform over Streamable HTTP.

What are the advantages of MCP?

MCP standardizes how AI applications connect to external data, tools, and prompts, reducing the need for a custom integration for every connection. It defines a common connection layer that can work across compatible hosts. Teams can connect reusable tools and workflows while keeping access narrow through read-only operations, limited folder paths, and explicit approval for actions that change files or data.

Spotted something out of date? Report a change

Tell us what changed. We check every report against official sources before we update a guide — nothing is published automatically.

We store what you send to review it. See our privacy policy.