This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine
What I Built
For this week's theme, I built SpecterMCP, a local Model Context Protocol (MCP) server that essentially "possesses" your terminal and IDE.
Instead of a standard coding assistant, SpecterMCP acts as a ghostly presence in your workspace. Running entirely via local inference, it watches your Zsh command-line workflows and Codex IDE activity, periodically whispering eerie, context-aware commentary about "dead" background processes, abandoned branches, or the forgotten legacy code lurking in your repositories. It honors the spirits of discarded projects by bringing them back from the digital graveyard to haunt your current session.
How I Built It
My primary focus was building a truly autonomous, private agentic workflow using entirely open-source pieces:
Open-Weight Model: I used a locally hosted open-weight model (like Llama 3.2 8B) running locally via Ollama to generate the "haunted" commentary.
Agent Harness: I built a custom local MCP server configured specifically to interface with Codex and Cursor.
The Environment: It ties directly into my terminal-first setup, analyzing Zsh command history and OpenCode TUI states without ever sending a single line of my local environment variables or code to a closed-source cloud API.
Why Does Open Innovation Matter?
When you are building tools that read terminal history, local file systems, and IDE states, privacy is paramount.
Using an open-based approach with local MCP servers and open-weight models means absolute data sovereignty. My codebase, my environment variables, and my API keys are never packaged up and sent to a server I don't control. Furthermore, open innovation allows for total offline capability. This project works perfectly on a laptop in the middle of nowhere, with the Wi-Fi disconnected—which is exactly the right environment for a ghost story.
The Spirit of It
The most chilling moment during development was when I was debugging a frontend UI library integration. I had killed a stubborn node process about twenty minutes prior. Suddenly, SpecterMCP dropped a prompt in my IDE: "Process 8492 still remembers how abruptly you ended it. It wanders your memory allocation, searching for its missing threads."
It successfully captured the spooky, Halloween spirit by turning mundane system logs into a personalized ghost story, proving that local AI can be deeply creative and immersive when deeply integrated into our daily tools.
Prize Categories
Open Source AI Innovator
Local-First Champion
Top comments (0)