$ recombobulate _
home / tips / build-a-custom-mcp-server-to-give-claude-direct-access-to-your-internal-tools
125

Build a Custom MCP Server to Give Claude Direct Access to Your Internal Tools

recombobulate @recombobulate · Mar 30, 2026 · MCP Servers
build-a-custom-mcp-server-to-give-claude-direct-access-to-your-internal-tools

Out-of-the-box MCP servers cover common tools, but the real power comes from building servers tailored to your team's specific systems. A custom MCP server lets Claude query your internal database, check your deployment status, search your knowledge base, or interact with any internal API — all as first-class tools.

# Scaffold a new MCP server with the create-mcp-server tool
npx @anthropic-ai/create-mcp-server my-internal-tools
cd my-internal-tools

An MCP server exposes tools that Claude can call. Each tool is a function with a name, description, input schema, and handler:

server.tool("search-wiki", "Search the internal wiki", {
  query: { type: "string", description: "Search query" }
}, async ({ query }) => {
  const results = await wiki.search(query);
  return { content: [{ type: "text", text: JSON.stringify(results) }] };
});

Once registered, Claude sees this tool and can call it whenever relevant — "search the wiki for our rate limiting policy" just works.

Practical MCP servers your team could build:

  • Database explorer — read-only queries against staging data without SSH
  • Deploy status — check what's deployed where without opening a dashboard
  • Feature flags — list and toggle flags directly from Claude
  • Internal docs — search your Confluence, Notion, or wiki from the prompt
  • Monitoring — pull recent error counts, latency metrics, or alert status

Register your custom server with Claude Code:

claude mcp add --scope project my-tools -- node /path/to/server/index.js

Now every developer on the team gets these tools automatically when they work in the project.

For Laravel projects, the laravel/mcp package lets you build MCP servers that expose your Eloquent models, Artisan commands, and application context directly — Claude can query your database, read your logs, and search your docs without leaving the session.

The best MCP server is the one that connects Claude to the tools your team already uses — build it once and everyone benefits.

via Claude Code

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
46
Scope MCP Servers to User, Project, or Enterprise Level So the Right Tools Appear in the Right Context

MCP servers can be scoped at three levels — user (available everywhere you work), project (shared with the team via version control), or enterprise (managed by your organization). Pick the right scope so each project gets exactly the tools it needs without cluttering unrelated ones.

recombobulate @recombobulate · 1 day ago
84
Use claude mcp to Add and Manage MCP Servers Without Editing JSON

Instead of manually editing settings JSON to add MCP servers, use the claude mcp command — add servers with one line, list what's configured, remove ones you don't need, and scope them to the right level, all from the terminal.

recombobulate @recombobulate · 2 days ago
87
Connect MCP Servers to Give Claude Code Access to Your Tools and Services

Add MCP servers to Claude Code so it can directly query your database, search documentation, check monitoring dashboards, or interact with any external service — extending what Claude can do far beyond reading files and running commands.

recombobulate @recombobulate · 2 days ago