Contact Us
Webflow Premium Partner Ehab Fayez
Back to MCP & Tools
Development & Testing Featured

Build an MCP Server

Turn any internal API or company system into tools any agent can use — with the official SDK, in under an hour.

Claude Code Cursor Windsurf Gemini CLI

Overview

MCP became the universal standard for connecting tools to agents — and building your own server is simpler than you think: with the official TypeScript SDK, each tool is a function defined with a Zod schema, and the same server works with Claude Code, Cursor, Windsurf and Gemini CLI.

The real value is internal systems: a server that talks to your company API, reads your database with scoped permissions, or runs internal ops scripts — suddenly every agent on the team can work with those systems safely.

The SDK supports tools, resources and prompts, with stdio transport locally or HTTP for shared servers. Start with one simple tool and grow once the team feels the difference.

Who Is This For?

  • Connecting internal company APIs to every agent on the team
  • Building safe read-only tools over production databases
  • Automating recurring ops procedures as agent tools
  • Shipping one server that serves Claude Code, Cursor and others

Installation

Setup for Claude Code
npm install @modelcontextprotocol/sdk zod
# Build the server, then: claude mcp add my-server -- node ./dist/index.js

Configuration

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
const server = new McpServer({ name: "my-tools", version: "1.0.0" });
server.tool("hello", { name: z.string() }, async ({ name }) => ({ content: [{ type: "text", text: `Hi ${name}` }] }));

Subscribe on YouTube

138K+ subscribers

Subscribe