<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gianluca Mazza</title>
    <description>The latest articles on DEV Community by Gianluca Mazza (@gianlucamazza).</description>
    <link>https://dev.to/gianlucamazza</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2904471%2F0cb6297e-55be-4f40-9f9a-48d24821d810.jpeg</url>
      <title>DEV Community: Gianluca Mazza</title>
      <link>https://dev.to/gianlucamazza</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gianlucamazza"/>
    <language>en</language>
    <item>
      <title>A DuckDuckGo search plugin for Model Context Protocol (MCP), compatible with Claude Code.</title>
      <dc:creator>Gianluca Mazza</dc:creator>
      <pubDate>Thu, 06 Mar 2025 09:20:56 +0000</pubDate>
      <link>https://dev.to/gianlucamazza/a-duckduckgo-search-plugin-for-model-context-protocol-mcp-compatible-with-claude-code-4fl1</link>
      <guid>https://dev.to/gianlucamazza/a-duckduckgo-search-plugin-for-model-context-protocol-mcp-compatible-with-claude-code-4fl1</guid>
      <description>&lt;p&gt;The following tool provides web search functionality with advanced navigation and content exploration features.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56kw7ijt3y53jewfat4g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56kw7ijt3y53jewfat4g.png" alt="Image description" width="800" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25wc4m2bli98crlig3jr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25wc4m2bli98crlig3jr.png" alt="Image description" width="800" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://x.com/gmazza1989/status/1897443745760522310" rel="noopener noreferrer"&gt;x thread&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/gianlucamazza/mcp-duckduckgo" rel="noopener noreferrer"&gt;github&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Introducing MCP Python Toolbox: Supercharge AI Assistants with Python Capabilities</title>
      <dc:creator>Gianluca Mazza</dc:creator>
      <pubDate>Fri, 28 Feb 2025 20:16:11 +0000</pubDate>
      <link>https://dev.to/gianlucamazza/introducing-mcp-python-toolbox-supercharge-ai-assistants-with-python-capabilities-mdk</link>
      <guid>https://dev.to/gianlucamazza/introducing-mcp-python-toolbox-supercharge-ai-assistants-with-python-capabilities-mdk</guid>
      <description>&lt;h1&gt;
  
  
  MCP Python Toolbox: Python Development Tools for AI Assistants
&lt;/h1&gt;

&lt;p&gt;I've created an open-source &lt;a href="https://github.com/gianlucamazza/mcp_python_toolbox" rel="noopener noreferrer"&gt;Model Context Protocol (MCP) server&lt;/a&gt; that enables AI assistants like Claude to work with Python code and projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is it?
&lt;/h2&gt;

&lt;p&gt;MCP Python Toolbox implements the Model Context Protocol specification to give AI assistants the ability to perform Python development tasks through a standardized interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Features
&lt;/h2&gt;

&lt;p&gt;The toolbox consists of four main modules:&lt;/p&gt;

&lt;h3&gt;
  
  
  FileOperations
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Read/write files with path validation&lt;/li&gt;
&lt;li&gt;Create/delete directories&lt;/li&gt;
&lt;li&gt;List directory contents with metadata&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  CodeAnalyzer
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;AST-based Python code structure analysis&lt;/li&gt;
&lt;li&gt;Code formatting (Black, PEP8)&lt;/li&gt;
&lt;li&gt;Linting with Pylint&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ProjectManager
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Virtual environment management&lt;/li&gt;
&lt;li&gt;Dependency installation and conflict checking&lt;/li&gt;
&lt;li&gt;Package version management&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  CodeExecutor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Execute Python code in controlled environments&lt;/li&gt;
&lt;li&gt;Capture stdout, stderr, and exit codes&lt;/li&gt;
&lt;li&gt;Use project's virtual environment for consistent dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick Setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/gianlucamazza/mcp_python_toolbox.git
&lt;span class="nb"&gt;cd &lt;/span&gt;mcp_python_toolbox
python &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv
&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate  &lt;span class="c"&gt;# Linux/Mac&lt;/span&gt;
&lt;span class="c"&gt;# Install the package in development mode&lt;/span&gt;

&lt;span class="c"&gt;# Run with current directory as workspace&lt;/span&gt;
python &lt;span class="nt"&gt;-m&lt;/span&gt; mcp_python_toolbox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Integration with Claude
&lt;/h2&gt;

&lt;p&gt;The tool can be configured to work with Claude Desktop to enhance AI-assisted Python development:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"python-toolbox": {
  "command": "/path/to/python",
  "args": [
    "-m",
    "mcp_python_toolbox",
    "--workspace",
    "/path/to/workspace"
  ],
  "env": {
    "PYTHONPATH": "/path/to/src",
    # Other environment variables
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Technical Implementation
&lt;/h2&gt;

&lt;p&gt;The implementation follows a modular approach with clear separation of concerns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Safe file operations with workspace restrictions&lt;/li&gt;
&lt;li&gt;Python AST for code analysis&lt;/li&gt;
&lt;li&gt;Integration with standard tools (Black, Pylint)&lt;/li&gt;
&lt;li&gt;Controlled execution environment&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Contributing
&lt;/h2&gt;

&lt;p&gt;Contributions are welcome! Feel free to open issues or submit pull requests on the &lt;a href="https://github.com/gianlucamazza/mcp_python_toolbox" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>claude</category>
    </item>
  </channel>
</rss>
