今日已更新 80 条资讯 | 累计 20052 条内容
关于我们

I Got Tired of Claude Code Guessing Wrong, So I Built an MCP Toolkit

Naveen Ayalla 2026年06月09日 08:29 3 次阅读 来源:Dev.to

AI coding agents are useful, but they still have one frustrating habit: They guess. You ask something reasonable like: “Where do we validate user input before inserting into the database?” And instead of knowing where to look, the agent starts reading files one by one. In a small project, that is fine. In a real production codebase with 80,000+ lines, multiple engineers, old decisions, half-renamed folders, and years of accumulated context, this gets messy fast. The agent reads a handful of files, hits context limits, and gives you an answer that sounds confident but points to the wrong part of the codebase. I got tired of that, so I built an open-source MCP toolkit to fix it. What I Built I built MCP Server Toolkit , a collection of four Model Context Protocol servers that give AI coding agents direct access to the things they need: Your codebase Your database Your docs Your git history Repo: https://github.com/naveenayalla1-CS50/mcp-server-toolkit The goal is simple: Stop making the agent guess. Give it tools that know where to look. Why MCP? The Model Context Protocol, or MCP, lets AI agents call external tools in a standardized way. Instead of the agent reading random files and hoping the right context fits, it can call a purpose-built tool like: search_code("validate user input") And get back file paths, line numbers, and relevant context. That means fewer wrong guesses, fewer wasted tokens, and much better answers in large codebases. The Four Servers 1. mcp-code-search Searches across your repo and returns relevant matches with file paths, line numbers, and surrounding context. Example: You: Find all places where we call sendEmail Agent calls search_code("sendEmail") Results: api/users.ts:89 services/email.ts:42 jobs/reminders.ts:117 It also includes targeted read_file and list_files tools so the agent can inspect only the files it actually needs. 2. mcp-database Lets the agent ask read-only database questions in natural language. Example: You: How many users

本文内容来源于互联网,版权归原作者所有
查看原文