An MCP server turns your product, data, or scripts into something an AI agent can use on its own. Build one, and Claude, ChatGPT, Cursor, or any MCP client can read from your tool and act in it, the way the 96 tools on ZeroCrew's MCP servers list work with founders' agents as of October 2026.
A first MCP server is a small project, because the official SDKs handle the protocol and your work is deciding what an agent should do. ZeroCrew read the MCP docs, the 2026-07-28 specification, and the Cloudflare and Vercel guides to map the path.
What is an MCP server, and what does it do?
An MCP server is the tool's side of the Model Context Protocol: the server tells an AI app what it can do, takes requests in a shared format, and sends results back. ZeroCrew's guide What is MCP? explains the protocol, and the MCP docs list three kinds of capability a server can offer, though most first servers are mostly tools:
- Tools: functions the model calls, usually with your approval, like "search orders" or "create invoice".
- Resources: file-like data the client can read, like an API response or a document.
- Prompts: ready-made templates for finishing a specific task.
What do you need before you build an MCP server?
Building an MCP server takes four things: one job, a language with an official SDK, a runtime, and a client to test with. ZeroCrew lists the coding agents that help with each step on its AI coding agents and apps page.
- One job. Write one sentence about what an agent should do. "Look up a customer's orders and refund one" is a job. "Everything our API does" is not.
- A language with an official SDK. According to the MCP SDK docs as of October 2026, TypeScript, Python, C#, Go, Rust, and Ruby are Tier 1, Java is Tier 2, and Swift, PHP, and Kotlin are Tier 3. Pick the one you already ship in.
- A runtime. According to the MCP docs as of October 2026, the Python tutorial needs Python 3.10 or newer and version 2.0.0 or newer of the Python SDK, and the TypeScript tutorial needs Node.js 20 or newer.
- A client to test in. Claude for Desktop, Claude Code, and Cursor connect to MCP servers, and the MCP Inspector tests without any AI app.
A coding agent speeds up the first version: Claude Code and Cursor can read the official docs with you and write the code while you decide what it does. Both sit in the coding agents job of ZeroCrew's coding directory, which sorts 27 tools into four jobs as of October 2026.
How do you design the tools your MCP server offers?
Good MCP tools start from the agent's view, not your API's endpoints. Anthropic Engineering's guide Writing effective tools for agents calls tools that only wrap existing API endpoints a common mistake, and recommends a few thoughtful tools built around real workflows. ZeroCrew's public server is one small case: four tools built around one job.
- Build fewer, bigger tools. One tool that finds a customer and their recent orders beats three chained tools.
- Name tools so they group. A shared prefix, like orders_search and orders_refund, helps an agent tell related tools apart from other servers'.
- Write the description like a prompt. Anthropic reports that small description changes can make large differences in how well agents use a tool.
- Return what matters. Send back names, totals, and status, not internal ids.
- Keep responses short. Add filters, pagination, or a default limit. Claude Code limits tool responses to 25,000 tokens by default, according to Anthropic Engineering's Writing effective tools for agents (September 2025).
- Make errors useful. Say what to change, so the agent can fix its request.
Every MCP tool should declare what it does: the MCP specification (2026-07-28) defines hints such as readOnlyHint and destructiveHint, and ZeroCrew marks each tool on its public server read-only. Clients treat hints as untrusted unless they trust your server, so hints help a person approve a call but never replace your checks.
How do you build an MCP server, step by step?
The official MCP tutorial builds a two-tool weather server in Python, TypeScript, Java, Kotlin, C#, Ruby, Rust, and Go, according to the MCP docs as of October 2026. Every language version follows the same six steps, and the result is the same kind of server ZeroCrew runs as its public MCP server:
- Create the project. In Python, the tutorial starts a project with uv and adds the
mcp[cli]package. In TypeScript, it installs@modelcontextprotocol/server. - Create the server. You give it a name. In Python, the MCPServer class builds each tool's definition from your type hints and docstrings.
- Register your tools. Each tool gets a name, a description, an input schema, and a function.
- Pick a transport. Use stdio on your own machine and Streamable HTTP on the internet.
- Log to stderr, never stdout. A stdio server talks over standard output, so a stray print statement corrupts the messages and breaks the server. Use a logger that writes to stderr.
- Run it. The server waits for a client to connect.
The official quickstart-resources repository holds the tutorial's finished code to start from. ZeroCrew's Claude Code page notes that Claude Code uses your other tools once you connect MCP servers, so the agent writing your server can also connect to it and call its tools.
How do you test an MCP server before anyone uses it?
The MCP Inspector is the official testing tool, needs no AI model, and needs Node 22.19.0 or newer, according to the Inspector docs as of October 2026. Run npx @modelcontextprotocol/inspector with the command that starts your server, and the Inspector opens in your browser, ready for your server or ZeroCrew's public one at https://zerocrew.ai/api/mcp/public.
- List the tools. Check each tool's name and description.
- Call each tool. Try good, missing, and wrong inputs, and read the errors.
- Check both protocol eras. The Inspector starts in legacy mode, so run the test again in the modern era.
- Connect a real client. For Claude for Desktop, add your server under mcpServers in claude_desktop_config.json with its absolute path, and restart the app.
- Read the logs when it fails. On a Mac, Claude for Desktop writes MCP logs to the Logs/Claude folder in your Library, and mcp.log shows connection failures.
- Automate the checks. The Inspector package also has a command-line mode for scripts and CI, and a terminal mode.
Should your MCP server run locally or remotely?
Run an MCP server locally over stdio for files or apps on one computer, and remotely over Streamable HTTP when founders should connect by pasting a URL, with nothing to install. ZeroCrew's directory server is remote, and the MCP servers list tells founders to add its address as a custom connector in Claude, Cursor, or ChatGPT.
| Transport | Where it runs | How messages travel | Status (MCP specification, 2026-07-28) |
|---|---|---|---|
| stdio | The user's machine | Standard input and output | Current, for local servers |
| Streamable HTTP | The internet | Every message is an HTTP POST to one endpoint | Current, for remote servers |
| HTTP+SSE | The internet | Older HTTP transport | Deprecated: use Streamable HTTP |
Two hosts publish official guides for remote MCP hosting: Cloudflare and Vercel, compared below. ZeroCrew lists both under backend and hosting, where, as of October 2026, Cloudflare is the most searched and Vercel gets the best word on price from founders.
| Host | Starting point | Runs on | Sign-in |
|---|---|---|---|
| Cloudflare | A template for a public server without sign-in, built with the Agents SDK | A workers.dev address, deployed with Wrangler | Workers OAuth Provider adds sign-in and can run the authorization server |
| Vercel | An MCP route in a Next.js app, with the mcp-handler package | Vercel Functions with Fluid compute, which Vercel says suits MCP traffic's long idle times and quick bursts | mcp-handler verifies tokens and publishes the metadata, and you bring the authorization server |
How do you add authentication to an MCP server?
MCP authorization is optional, but the official MCP docs strongly recommend it when a server touches user data, takes actions needing consent, or needs per-user limits. A local stdio server can read credentials from environment variables, and a remote server uses OAuth 2.1. ZeroCrew's Vercel page notes that Vercel's own MCP server signs users in with OAuth.
The remote OAuth flow runs in three steps, according to the MCP authorization docs. A server that acts on user data follows these steps, while ZeroCrew's read-only public server skips them, and libraries like Cloudflare's Workers OAuth Provider and Vercel's mcp-handler do most of the work:
- A client calls without a token, and your server answers 401 with a link to its protected resource metadata.
- The client reads that metadata to find your authorization server and its scopes.
- The client registers, the person signs in and approves, and the client returns with a token issued for your server.
Three rules from the MCP security best practices and specification keep your users safe. ZeroCrew's MCP guide for founders gives the same advice from the agent's side: start an agent with read-only access and widen its access one step at a time.
- Accept only tokens issued for your server. The spec forbids token passthrough, forwarding a token meant for another service.
- Ask for the smallest scopes. Broad scopes widen a leaked token's damage, and long consent screens make people say no.
- Keep a human in the loop. The MCP spec says a person should always be able to deny a tool call, so make write actions easy to review.
What changed for MCP server builders in 2026?
The MCP specification released on July 28, 2026 made the protocol stateless, according to the specification's changelog, and ZeroCrew's guide What is MCP? sums up the release as making MCP servers simpler to run. The release removed the opening handshake and protocol-level sessions, so every request carries its own protocol version and client capabilities.
For builders, the 2026-07-28 release mostly means a current SDK and the new server/discover request, which lists a server's versions, capabilities, and identity. The official TypeScript tutorial shows a server answering both new and older-handshake clients, so test every server in both Inspector protocol eras. ZeroCrew's public server still answers the older initialize handshake as of October 2026.
A stateless server is also simpler to host, since any instance behind a plain load balancer can take any request, according to the MCP blog's July 2026 release post. ZeroCrew's backend and hosting page lists the services a zero-employee app runs on, from hosting and databases to sign-in and error monitoring.
How do founders find your MCP server once it's live?
A live MCP server reaches founders when it's listed where founders and their agents look: the official MCP Registry and the ZeroCrew directory. ZeroCrew's own directory server is listed in the MCP Registry as io.github.zerocrewai/zerocrew-directory, according to ZeroCrew's launch guide as of October 2026.
The official MCP Registry stores metadata about public servers, not their code, and is in preview as of October 2026. You describe your server in server.json, sign in with the mcp-publisher CLI, and publish. GitHub sign-in gives you a name under your GitHub account, the way ZeroCrew publishes as io.github.zerocrewai, and a domain you prove you own can be your name.
Once your tool is in the ZeroCrew directory, your server can reach founders building companies with zero employees in three ways, according to ZeroCrew's launch guide as of October 2026, whether the Operator who lists the tool built it or found it:
- The MCP servers list. Every directory tool with its own MCP server appears on the MCP servers list, grouped by role, with 96 tools across 11 roles as of October 2026, so a founder looking for sales or finance tools can find yours there.
- A launch. ZeroCrew Operators launch tools on the Launchpad and in the Monday email to members, and Operators who use your tool can review it on its page.
- Agent discovery. ZeroCrew's public MCP server lets any agent search the directory with no sign-in, so an agent asked which tool fits a job can find yours.
ZeroCrew's public MCP server shows the shape: add https://zerocrew.ai/api/mcp/public to your MCP client or the Inspector. As of October 2026, the server has four tools, search_tools, get_tool, list_roles, and list_job, each with a plain description and marked read-only. Start yours the same way: one job, three tools, and the Inspector.
An Operator seat, which lets you launch, list, and review tools on ZeroCrew, is won in a 15-minute live auction every Friday, with bidding starting at $10 a year as of October 2026, according to ZeroCrew's pricing page and launch guide. You pay only if you win, and the seat renews at the price you won.
