Why Claude Feels Powerless Out of the Box
When I first started using Claude seriously, I kept running into the same wall. I'd ask it something like "what files are in my project directory?" and it would just... guess. Or I'd want it to actually run a quick calculation against live data, and it would give me a theoretical answer instead of a real one.
Claude is brilliant at reasoning, but by default it's locked inside a text box. It can't touch your filesystem, can't call an API, can't run a shell command. It only knows what you paste into the conversation.
That's where MCP Tools come in. Tools are the part of the Model Context Protocol that actually give Claude hands. Not metaphorical hands — real ones. With MCP Tools configured, Claude can execute functions, read files, query databases, and call external services. It stops being a talking head and starts being an actual assistant that gets things done.
In this article I want to walk you through what MCP Tools actually are, how they differ from the other MCP building blocks, and how you can start using them today — even if you've never touched an MCP server before.
MCP Has Three Building Blocks — Tools Are the Action One
If you've poked around MCP at all, you've probably seen three terms come up: Resources, Prompts, and Tools. It's worth spending thirty seconds on the difference because it'll save you a lot of confusion later.
Resources are read-only data sources. Think of them like a document Claude can look at — a file, a database row, a webpage. Claude can read them, but it can't trigger anything with them.
Prompts are reusable prompt templates stored server-side. You invoke them by name and they inject structured instructions into the conversation.
Tools are executable functions. When Claude calls a tool, something actually happens in the world. A file gets written. An API request fires. A script runs. Tools are the reason MCP exists, in my opinion — they're what makes the whole thing worth setting up.
The One-Sentence Summary
Resources = read. Prompts = instruct. Tools = act. If you want Claude to do something, you need a Tool.
What an MCP Tool Actually Looks Like
Under the hood, an MCP Tool is a named function with a description and an input schema. The description is crucial — it's what Claude reads to decide whether to call the tool at all. If the description is vague, Claude won't know when to reach for it.
Here's a simple example of what a tool definition looks like in a Node.js MCP server:
// Register a tool that checks the weather
server.tool(
"get_weather",
"Returns the current weather for a given city name",
{
city: z.string().describe("The city to get weather for")
},
async ({ city }) => {
// fetch from a weather API...
return { content: [{ type: "text", text: `Weather in ${city}: 72°F, sunny` }] };
}
);When Claude sees a user message like "what's the weather in Austin?", it looks at all available tools, reads their descriptions, decides get_weather is relevant, and calls it with {city: "Austin"}. The result comes back and Claude incorporates it into its response. The whole thing happens invisibly to the user.
Setting Up Your First Tool: A Practical Walkthrough
Let me walk you through the fastest way to see MCP Tools in action. We're going to create a minimal server with one tool — a simple one that lists files in a directory — and connect it to Claude Desktop.
First, make sure you have Node.js installed. Then create a new folder and initialize it:
mkdir my-first-mcp-tools
cd my-first-mcp-tools
npm init -y
npm install @modelcontextprotocol/sdk zod
→ added 12 packagesNow create an index.js file with this content:
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
import fs from "fs";
const server = new McpServer({ name: "file-tools", version: "1.0.0" });
server.tool(
"list_files",
"Lists all files in a given directory path",
{ path: z.string().describe("Absolute directory path to list") },
async ({ path }) => {
const files = fs.readdirSync(path);
return { content: [{ type: "text", text: files.join("\n") }] };
}
);
const transport = new StdioServerTransport();
await server.connect(transport);Add "type": "module" to your package.json, then register the server in Claude Desktop's config file at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"file-tools": {
"command": "node",
"args": ["/absolute/path/to/my-first-mcp-tools/index.js"]
}
}
}Restart Claude Desktop, and now you can say "list the files in /Users/dan/projects" and Claude will actually do it. I still remember the first time this worked for me — it felt like I'd given Claude a hand for the first time.
Three Patterns That Make Tools Actually Useful
Once you understand the basics, you'll notice that most useful MCP Tools follow one of three patterns. Knowing these patterns will help you design your own tools — or understand the pre-built ones you install.
Pattern 1: Look up and return. The tool fetches something (from an API, database, or file) and returns the result. The weather example above is this pattern. Claude asks, the tool fetches, Claude summarizes. Clean and simple.
Pattern 2: Transform and return. The tool takes input, runs it through some process (a script, a parser, a calculation), and returns the transformed output. Good examples: a tool that converts Markdown to HTML, or one that parses a CSV and returns structured JSON.
Pattern 3: Side-effect tools. These tools actually change something — write a file, send an email, create a GitHub issue. These are the most powerful and also the ones where you want to be most careful. Claude will ask for confirmation before running side-effect tools in Claude Desktop, which is a good safety net.
Write Defensive Side-Effect Tools
If your tool writes or deletes files, add a dry_run parameter that previews what would happen without actually doing it. Future you will be grateful.
The Most Common Beginner Mistakes with MCP Tools
I've made all of these. Consider this your shortcut to skipping the frustrating part.
Vague tool descriptions. This is the number one mistake. Claude picks tools based on their description. If your description says "does stuff with files" instead of "reads the contents of a text file and returns it as a string", Claude won't know when to use it. Write your descriptions like you're explaining the tool to a smart colleague who's never seen your code.
Forgetting to restart Claude Desktop. MCP servers are loaded at startup. Every time you change your server config, you have to fully quit and reopen Claude Desktop. Not just close the window — quit the app. I lost an embarrassing amount of time to this one.
Using relative paths in the config. The args path in your config needs to be an absolute path. Something like /Users/dan/projects/my-server/index.js, not ./index.js. Relative paths will silently fail.
Not handling errors inside the tool. If your tool crashes, Claude just sees an error and gets confused. Wrap your tool logic in a try/catch and return a friendly error message in the content array. Claude can work with that — it can't work with a thrown exception.
Pre-Built MCP Servers Worth Installing Right Now
You don't have to write your own tools to benefit from them. The MCP ecosystem already has a solid library of community and official servers you can drop in. Here are a few worth knowing about as a beginner:
The Filesystem MCP server (official Anthropic one) gives Claude read and write access to a folder you specify. It's the most practical starting point — Claude can read your notes, write draft files, and navigate directories. Much more polished than the toy version we built above.
The GitHub MCP server lets Claude create issues, open PRs, and read repository contents. If you're doing any kind of coding workflow, this one changes how you work.
The SQLite MCP server lets Claude query a local SQLite database using natural language. You describe what you want, it figures out the SQL. I've used this to explore exported data without opening a database GUI.
# Install the official filesystem server
npx @modelcontextprotocol/server-filesystem --help
→ Usage: server-filesystem [allowed-directory...]
# Or install globally
npm install -g @modelcontextprotocol/server-filesystemYour Next Step
MCP Tools are what take Claude from "very smart chatbot" to "AI assistant that can actually act on your behalf." The setup investment is real — you need a bit of Node.js comfort, a config file, and some patience on the first run. But once you've got one tool working, you'll understand the pattern and adding more becomes fast.
My recommendation: start with the official Filesystem server. It's the lowest-friction way to see the whole thing working. Point it at a folder of notes or a project directory, restart Claude Desktop, and ask it to summarize everything it finds. The first time it comes back with a real answer drawn from your actual files, you'll get it.
After that, pick one workflow you do repeatedly — checking a database, reading logs, writing to a specific file format — and ask yourself: could this be a tool? Usually the answer is yes, and usually it takes about an hour to build it once you know the pattern.
Quick Wins Checklist
✓ Install Node.js and the MCP SDK. ✓ Run the official filesystem server against a test folder. ✓ Confirm Claude Desktop shows the tool in its sidebar. ✓ Ask Claude to list the files. ✓ Celebrate — you just gave Claude hands.
More tutorials in this category, or explore the full field guide.