Intro
Hello! I'm Ninja Web Developer. Hi-Yah!🥷
I have been studying MCP lately.
However, there were security problems such as Tool Poisoning Attacks
when using MCP.↓
https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks
I was thinking using Docker
is a good way to solve these problem.↓
🧠🥷MCP Security (choose safe MCP and check MCP safety)🛡️
Although, it was difficult to use.
On May 5, Docker announced that they released Docker MCP Toolkit
and Docker MCP Catalog
(Beta) to support MCP!🎉↓
https://www.docker.com/blog/announcing-docker-mcp-catalog-and-toolkit-beta/
Let's take a look at it right away.💨
What is Docker MCP Toolkit and Docker MCP Catalog?
Explaining in short, you can discover MCP server by using Docker MCP Catalog
.
You can simplify installation, manage credentials, enforce access control, and secure runtime environment by using Docker MCP Toolkit
.
Also, you can connect Docker Desktop to MCP clients like Gordon (Docker AI Agent), Claude, Cursor
, VSCode, Windsurf, continue.dev, and Goose with a one-click.
Furthermore, MCPs run inside Docker container images, and addresses threats to MCP servers like Took Poisoning
and Tool Rug Pulls
.
How to use Docker MCP Catalog and Docker MCP Toolkit.
This is the official document of Docker MCP Catalog and Docker MCP Toolkit.↓
https://docs.docker.com/ai/mcp-catalog-and-toolkit/
https://docs.docker.com/ai/mcp-catalog-and-toolkit/catalog/
https://docs.docker.com/ai/mcp-catalog-and-toolkit/toolkit/
Here is how to use. It is so easy.
Docker Desktop →Extensions →search "MCP" →install "Docker MCP Toolkit"↓
→Open →MCP Servers
→Search for the MCP you want to use.
→Toggle ON the MCP you want to use. (I chose Playwright)↓
→MCP Clients
→If you want to use Cursor
, just push the "Connet" button of Cursor.↓
If you want to use Cline
, set the cline_mcp_setting.json
as follows.
{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"alpine/socat",
"STDIO",
"TCP:host.docker.internal:8811"
]
}
}
}
→Hooray! Ready to use MCP!🎉
Outro
By using Docker MCP Toolkit and Docker MCP Catalog we can use MCP safer and easier.
On May 10, only 109 MCPs are registered in Docker.
So I hope more MCP will be registered to Docker in the future.
Thinking of learning more about Docker and MCP.
I hope you will learn something from this post.
Thank you for reading.
Happy AI coding!🤖 Hi-Yah!🥷
Top comments (4)
Insane how fast Docker keeps adding new tools - been meaning to mess with MCP but the security stuff freaked me out before, so this helps a ton.
Thank you for checking my post.
I am also glad for this Docker update.
I will try to keep up with new technologies.
Informative, I would really like to give this a try.
Thank you for your comment.😀
I am happy to hear that the post was informative.
I will do my best to get useful information.