Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · mcp

Build an MCP server changeddocs/draft/develop/build-server

Upstream edited this page at 12 Oct 2026 16:26 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 22 Oct 2026 20:37 UTC.

Upstream edited
Recorded here
Lines+11added
Lines−11removed
From line 12 where the diff opens
First seen 26 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

The whole hunk

from line 12, old and new numbered
/
lines
from line 12
1212 
1313> [!NOTE]
1414>
15> Servers can connect to any client. We've chosen Claude for Desktop here for simplicity, but we also have a guide on [building your own client](/docs/draft/develop/build-client).
15> Servers can connect to any client. We've chosen Claude for Desktop here for simplicity, but we also have a guide on [building your own client](/docs/draft/develop/build-client.md).
1616 
1717### Core MCP Concepts
1818 
1919MCP servers can provide three main types of capabilities:
2020 
211. **[Resources](/docs/draft/learn/server-concepts#resources)**: File-like data that can be read by clients (like API responses or file contents)
222. **[Tools](/docs/draft/learn/server-concepts#tools)**: Functions that can be called by the LLM (with user approval)
233. **[Prompts](/docs/draft/learn/server-concepts#prompts)**: Pre-written templates that help users accomplish specific tasks
211. **[Resources](/docs/draft/learn/server-concepts.md#resources)**: File-like data that can be read by clients (like API responses or file contents)
222. **[Tools](/docs/draft/learn/server-concepts.md#tools)**: Functions that can be called by the LLM (with user approval)
233. **[Prompts](/docs/draft/learn/server-concepts.md#prompts)**: Pre-written templates that help users accomplish specific tasks
2424 
2525This tutorial will primarily focus on tools.
2626 
from line 707
707707 
708708Make sure to run `npm run build` to build your server! This is a very important step in getting your server to connect.
709709 
710To check that the server answers 2026-07-28 clients, list its tools with the [Inspector CLI](/docs/draft/tools/inspector/cli) in the `modern` [protocol era](/docs/draft/tools/inspector/protocol-eras):
710To check that the server answers 2026-07-28 clients, list its tools with the [Inspector CLI](/docs/draft/tools/inspector/cli.md) in the `modern` [protocol era](/docs/draft/tools/inspector/protocol-eras.md):
711711 
712712```bash theme={null}
713713npx @modelcontextprotocol/inspector --cli node build/index.js --protocol-era modern --method tools/list
from line 2895
28952895>
28962896> **None of this is working. What do I do?**
28972897>
2898> Please refer to our [debugging guide](/docs/draft/tools/debugging) for better debugging tools and more detailed guidance.
2898> Please refer to our [debugging guide](/docs/draft/tools/debugging.md) for better debugging tools and more detailed guidance.
28992899 
29002900> **Weather API Issues**
29012901>
from line 2919
29192919 
29202920> [!NOTE]
29212921>
2922> For more advanced troubleshooting, check out our guide on [Debugging MCP](/docs/draft/tools/debugging)
2922> For more advanced troubleshooting, check out our guide on [Debugging MCP](/docs/draft/tools/debugging.md)
29232923 
29242924## Next steps
29252925 
2926> **[Building a client](/docs/draft/develop/build-client)**
2926> **[Building a client](/docs/draft/develop/build-client.md)**
29272927>
29282928> Learn how to build your own MCP client that can connect to your server
29292929 
2930> **[Example servers](/examples)**
2930> **[Example servers](/examples.md)**
29312931>
29322932> Check out our gallery of official MCP servers and implementations
29332933 
2934> **[Debugging Guide](/docs/draft/tools/debugging)**
2934> **[Debugging Guide](/docs/draft/tools/debugging.md)**
29352935>
29362936> Learn how to effectively debug MCP servers and integrations
29372937 
2938> **[Build with Agent Skills](/docs/draft/develop/build-with-agent-skills)**
2938> **[Build with Agent Skills](/docs/draft/develop/build-with-agent-skills.md)**
29392939>
29402940> Use agent skills to guide AI coding assistants through server design
29412941 
Feedback