SShortSingh.
Back to feed

Developer builds local-first tab manager with MCP server for AI-powered tab organization

0
·1 views

A designer-developer frustrated with tab manager limitations built Mos Tab, a personal browser extension that stores data locally with no account or tab-saving caps required. The tool uses a hierarchical data model and a Zustand store persisted to Chrome's local storage, overriding the new tab page with a dashboard that includes productivity features. For optional cross-device sync, the developer implemented a Cloudflare Worker backend using a single JSON blob per user and a client-side three-way merge strategy to handle conflicts. A persistent bug involving multiple browser windows triggering infinite sync loops was resolved by restricting write permissions to the focused window only. The project was later extended with a remote MCP server, allowing AI assistants like Claude to search and reorganize the user's saved tabs.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer fixes AI character inconsistency in auto-generated videos using prompt injection and visual QA

A developer building fully automated explainer videos discovered that their local image-generation AI depicted the same historical subject as a completely different person in every scene. The root cause was that each scene's image prompt was written independently, causing the AI to reimagine the character's appearance and historical setting from scratch each time. To fix consistency, the developer created a reusable 'character card' defining the subject's appearance and historical constraints, which was automatically injected into every scene's prompt before generation. However, negative instructions like 'don't draw a dome' proved largely ineffective, so a second AI was added as a visual checkpoint to inspect the actual output pixels for anachronisms, fake text, and character inconsistencies. Scenes that failed the automated visual check were regenerated with a new random seed until they passed, successfully eliminating the remaining errors.

0
ProgrammingDEV Community ·

Open Discovery Challenge Tests AI-Designed Malaria Drug Candidates With 6-Axis Scoring

VIDRAFT and FINAL-Bench have launched the Open Discovery Challenge, a public leaderboard evaluating AI-generated drug candidates targeting PfDHODH, a key enzyme in the malaria parasite. The initiative addresses a growing gap in AI drug discovery: while generative models can propose thousands of molecules daily, reliably verifying their potency, selectivity, safety, and synthesizability remains unsolved. Submissions are scored across six axes — whole-cell activity, target binding, selectivity, ADMET profile, novelty, and synthesis feasibility — with detailed methodology published on Hugging Face. During scorer validation, the team identified 14 defects, including toxicity thresholds that incorrectly rejected all three approved antimalarials and a binding-efficiency metric that over-rewarded small, weak molecules like caffeine. The challenge highlights that building a fair, scientifically rigorous automated judge for AI-designed molecules is as hard as the molecule generation itself.

0
ProgrammingDEV Community ·

How AI Coding Agents Can Silently Expose Your API Keys and Secrets

AI coding agents like Claude Code access source files, config files, and environment variables, then relay summaries of that content to third-party APIs, creating serious secret-exposure risks. Three main leak vectors exist: context exfiltration, where the agent reads .env files and includes values in prompts; tool output echo, where secrets appear in captured stdout; and prompt injection, where malicious instructions trick the agent into sending credentials externally. Common mitigations such as secret managers and .env hiding tools still leave credentials vulnerable once a command runs. A developer has released an open-source CLI tool called 'trustless' that addresses this by injecting credentials at the process and transport layer rather than exposing them to the agent's context window. The core principle is that agents should receive capabilities, not credentials, and all outbound requests should be scanned to confirm no secrets have leaked.

0
ProgrammingDEV Community ·

CAP Theorem Explained: Why Distributed Systems Must Choose Between Consistency and Availability

The CAP theorem states that a distributed system can guarantee only two of three properties — Consistency, Availability, and Partition Tolerance — simultaneously. Since network partitions are unavoidable in real-world distributed systems, engineers must choose between CP (consistency over availability) or AP (availability over consistency). CP systems, such as HBase, Zookeeper, and MongoDB, refuse to return potentially stale data during a partition, making them suitable for banking, inventory, and leader election use cases. AP systems, such as Cassandra, DynamoDB, and CouchDB, continue serving requests even with stale data, which is acceptable for social media feeds, DNS, and product catalogs. The PACELC model extends CAP by also accounting for the latency-versus-consistency trade-off that exists even when no partition is occurring.

Developer builds local-first tab manager with MCP server for AI-powered tab organization · ShortSingh