<?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>Forem: A G</title>
    <description>The latest articles on Forem by A G (@a_g_673a72e99f7e60932e29d).</description>
    <link>https://forem.com/a_g_673a72e99f7e60932e29d</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%2F1694476%2F4ba4a9d6-c146-40dd-8098-a40bbaca8f66.png</url>
      <title>Forem: A G</title>
      <link>https://forem.com/a_g_673a72e99f7e60932e29d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/a_g_673a72e99f7e60932e29d"/>
    <language>en</language>
    <item>
      <title>Custom MCP Server: Give ChatGPT Direct Access to Your Local Files</title>
      <dc:creator>A G</dc:creator>
      <pubDate>Mon, 20 Oct 2025 04:45:42 +0000</pubDate>
      <link>https://forem.com/a_g_673a72e99f7e60932e29d/custom-mcp-server-give-chatgpt-direct-access-to-your-local-files-43i2</link>
      <guid>https://forem.com/a_g_673a72e99f7e60932e29d/custom-mcp-server-give-chatgpt-direct-access-to-your-local-files-43i2</guid>
      <description>&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/YOUR_USERNAME/chatgpt-custom-mcp-for-local-files" rel="noopener noreferrer"&gt;https://github.com/YOUR_USERNAME/chatgpt-custom-mcp-for-local-files&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stop uploading files to ChatGPT. This MCP server lets ChatGPT read files directly from your machine via Cloudflare Tunnel.&lt;/p&gt;

&lt;h2&gt;
  
  
  What It Does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;ChatGPT can list, search, and read files from a folder on your computer&lt;/li&gt;
&lt;li&gt;Files stay local - fetched on-demand, not uploaded&lt;/li&gt;
&lt;li&gt;Always current - no stale copies&lt;/li&gt;
&lt;li&gt;Complete file access for complete context- not RAG chunks&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How It's Different
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;vs Manual Upload:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Files fetched on-demand, not stored in ChatGPT Projects&lt;/li&gt;
&lt;li&gt;Automatic updates when files change (with fswatch from work folder to server folder) &lt;/li&gt;
&lt;li&gt;No size limits or re-uploads&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;vs RAG/Vector Search:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Complete files, not chunks&lt;/li&gt;
&lt;li&gt;Direct file system access&lt;/li&gt;
&lt;li&gt;Slightly longer search times, but, context is still king.&lt;/li&gt;
&lt;li&gt;Simple tracking of tool calls, can see exactly which files were read. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I Built This
&lt;/h2&gt;

&lt;p&gt;Tired of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Re-uploading files every time they change&lt;/li&gt;
&lt;li&gt;Copy-pasting code snippets constantly&lt;/li&gt;
&lt;li&gt;ChatGPT working with outdated versions&lt;/li&gt;
&lt;li&gt;ChatGPT doesn't have full files context.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now ChatGPT queries my local folder directly. When code updates, ChatGPT sees it immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python + FastAPI (MCP server)&lt;/li&gt;
&lt;li&gt;OAuth 2.0 with dynamic client registration&lt;/li&gt;
&lt;li&gt;Cloudflare Tunnel (free tier)&lt;/li&gt;
&lt;li&gt;systemd for background services&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setup Time
&lt;/h2&gt;

&lt;p&gt;~30 minutes. You need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.8+&lt;/li&gt;
&lt;li&gt;A domain (managed by Cloudflare)&lt;/li&gt;
&lt;li&gt;ChatGPT Plus/Pro&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Full docs in the repo: installation, troubleshooting, security guidelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example Usage
&lt;/h2&gt;

&lt;p&gt;"List all Python files in my project"&lt;br&gt;
"Read auth.py and check for security issues"&lt;br&gt;
"Search for files containing 'database connection'"&lt;/p&gt;

&lt;p&gt;ChatGPT explores your codebase like a developer would.&lt;/p&gt;

&lt;h2&gt;
  
  
  Note on Data
&lt;/h2&gt;

&lt;p&gt;File contents are sent to OpenAI for processing (same as manual upload). Difference: files are fetched on-demand, not pre-uploaded or stored in Projects.&lt;/p&gt;




&lt;p&gt;Open source (MIT). No support provided - it's a side project, but docs are comprehensive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; #chatgpt #mcp #python #ai #devtools&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>mcp</category>
      <category>ai</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
