The Style Context Protocol (MCP) is an open same old. It acts like a common connector for AI programs that may let them keep up a correspondence with exterior knowledge assets or different equipment. So as a substitute of creating customized integrations for each and every of those knowledge assets or equipment, MCP supplies a standardized approach for AI fashions to get admission to the tips they want to supply higher and extra related responses.
Earlier than we dive into tips on how to use MCP to your workflows, let’s take a more in-depth have a look at the structure in the back of it.
MCP Structure
MCP is constructed upon a client-server fashion that comes to: Shoppers, Servers and Provider suppliers.
Shoppers
The MCP purchasers are the AI programs themselves, comparable to chatbots, code editors, or IDEs, that want to get admission to exterior knowledge or equipment. Those purchasers combine with the MCP protocol to begin connections with MCP servers and request explicit data or movements.
Lately, there are a selection of purchasers to be had that may run MCP, comparable to code editors like Visible Studio Code, Cursor, an extension like Cline, or Desktop app like Claude.
Servers
The MCP servers act as intermediaries or adapters that translate the standardized MCP requests from the buyer into explicit instructions or API calls required through the carrier supplier, after which go back the effects to the buyer in a standardized MCP layout.
There are already a handful of MCP servers we will be able to use lately. Some services and products and equipment have supplied their legitimate MCP servers, comparable to Playwright to accomplish browser automation, Github to have interaction along with your faraway repositories, and you’ll be able to to find many extra on this repository.
Provider suppliers
As discussed, MCP server is designed to connect with a number of underlying carrier suppliers, which can be the true platforms or techniques that grasp the information or be offering the equipment that the AI wishes. For instance, it may well be an exterior software like Google Power, Slack, GitHub, or even PayPal.
A carrier supplier is also an inside device like your pc report device, the native Git repository, databases like SQLite, PostgreSQL, and so on.
The use of MCP
We can want to make a choice a shopper to make use of MCP. On this article, we will be able to be the use of the Claude desktop app.
We can upload all server configuration throughout the app from the Settings… > Builders > Edit Config menu. This may increasingly open the JSON report, claude_desktop_config.json
the place we will be able to upload the server configuration.
Time server
Let’s get started with one thing easy like getting the present time.
We can be the use of the Time server. It’s a easy implementation of the MCP protocol that gives us with the present time in addition to time conversion functions.
To make use of this server, upload the next within the Claude config report:
{ "mcpServers": { "time": { "command": "uvx", "args": ["mcp-server-time", "--local-timezone=Asia/Singapore"] } } }
After you’ve restarted the app, you must see more information that presentations you the equipment from the MCP server.

Now, you’ll be able to ask Claude, comparable to What’s the present time?
and it’ll go back the present time within the native timezone specified.

Claude too can do time conversion. For instance, you’ll be able to ask: What time is it in New York?
and it’ll go back the time in New York.

Use browser
Let’s check out one thing slightly extra fascinating.
We can now be the use of the Playwright MCP server that permits us to have interaction with the browser comparable to opening a brand new tab, navigating to a URL, taking screenshots, or even operating JavaScript code.
To make use of this server, we will be able to want to arrange the server configuration, as follows:
{ "mcpServers": { "playwright": { "command": "npx", "args": ["@playwright/mcp@latest"] } } }
Now, we will be able to ask Claude with a suggested that may open a brand new tab within the browser and navigate to a URL. For instance, you’ll be able to ask: Clutch the name of this put up https://www.hongkiat.com/weblog/epson-mac-communication-error-fix/
.
And certain sufficient, it can provide us the put up name as it should be.

The Playwright MCP server may be able to taking screenshots. You’ll ask Claude to take a screenshot of the web page through the use of the command Take a screenshot of this put up
.

You’ll additionally additional customise the server configuration through including the --browser
argument to specify which browser to make use of. For instance, you’ll be able to use --browser=firefox
to make use of Firefox as a substitute of the default Chromium.
Create a Github repository
Every other instance is to control your Github repositories. To try this, you wish to have to arrange the Github MCP server configuration, as follows:
{ "mcpServers": { "github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PAT", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PAT": "" } } } }
This server calls for a Github Non-public Get admission to token. You’ll generate one out of your account Settings. Create one and assign the token with the proper permissions.
For instance, if you wish to have to retrieve the listing of repositories, you must upload the public_repo
permission.
Along with that, you are going to want the docker
command. You’ll get the command through putting in the Docker Desktop software, or when you’re on macOS, you’ll be able to use another, OrbStack.
After you’ve restarted the app, you’ll be able to now ask Claude, as an example, to rely my public repositories
.

You’ll check out activates like: Listing all my public repositories with open problems
, listing all my public repositories with pull requests greater than 2
, and so on.
Wrapping up
On this article, we checked out how the Style Context Protocol (MCP) is helping AI equipment hook up with exterior services and products.
Even supposing we’ve best used it with Claude, the MCP is now constructed into many common purchasers like Visible Studio Code, Cursor, and Cline. This implies you’ll be able to use it along with your favourite equipment to cause them to much more tough.
If you happen to haven’t attempted it but, I believe it’s value exploring how MCP can have compatibility into your personal setup and mean you can paintings extra successfully.
The put up How Style Context Protocol Supercharges Your AI Workflow gave the impression first on Hongkiat.
WordPress Website Development Source: https://www.hongkiat.com/blog/mcp-guide-ai-tool-integration/