Glossary

What is MCP Server?

Protocol By David Hamilton
Definition

MCP Server is a program that exposes tools, resources, or prompts to AI assistants using the Model Context Protocol standard.

How MCP servers work

An MCP server is the provider side of the Model Context Protocol. It sits between an AI assistant and some external capability, whether that is a database, an API, a local file system, or a specialised tool like bookmark search.

When an MCP client connects, the server goes through a handshake process. It tells the client what capabilities it supports: which tools are available, what resources can be read, and what prompt templates exist. The client stores this information and uses it to decide when to invoke the server during conversations.

For example, when you ask Claude “find my saved articles about TypeScript”, Claude checks its connected MCP servers, sees that ContextBolt offers a bookmark search tool, calls it with your query, and weaves the results into its response.

What an MCP server can expose

MCP servers can provide three types of capabilities:

Tools are functions the AI can call. A bookmark search tool, a database query tool, or a code execution tool are all examples. Tools accept parameters and return results. They are the most common capability.

Resources are data the AI can read. A list of available bookmark collections, a project’s file tree, or a set of configuration values could all be exposed as resources. Resources are read-only and help give the AI context.

Prompts are pre-built templates for common tasks. A server might offer a “summarise bookmarks” prompt that structures the AI’s response in a specific way. Prompts are optional and less commonly used than tools or resources.

Building an MCP server

The barrier to building an MCP server is low. The official SDKs handle protocol details, transport, and error handling. You focus on defining what your server does.

A minimal TypeScript server looks like this: you create a Server instance, register your tools with their input schemas, implement the handler functions, and connect it to a transport (stdio for local, HTTP for remote). The SDK handles JSON-RPC messaging, capability negotiation, and connection lifecycle.

Most servers start with one or two tools and grow from there. ContextBolt’s MCP server, for instance, exposes bookmark search and collection listing tools that any compatible AI client can use.

Real-world examples

MCP servers power a growing ecosystem of AI integrations:

The pattern is consistent: take something useful, wrap it in an MCP server, and every compatible AI assistant can use it immediately.

Related terms

Frequently asked questions

What does an MCP server do? +
An MCP server exposes capabilities to AI assistants. It can provide tools (functions the AI can call), resources (data the AI can read), and prompts (pre-built templates). When an AI client connects, the server advertises what it offers, and the AI decides when to use those capabilities during conversations.
How do I build an MCP server? +
You can build an MCP server using the official TypeScript SDK (@modelcontextprotocol/sdk) or the Python SDK (mcp). Both provide classes for defining tools, resources, and prompts, and handle the protocol communication automatically. A basic server with one tool can be built in under 50 lines of code.
Can one AI assistant connect to multiple MCP servers? +
Yes. Most MCP clients support connecting to multiple servers simultaneously. For example, you could connect Claude Desktop to ContextBolt for bookmark search, a file system server for local files, and a database server for project data, all at once.
What is the difference between local and remote MCP servers? +
Local MCP servers run on your machine and communicate via standard I/O (stdio). Remote MCP servers run on external infrastructure and communicate over HTTP using Server-Sent Events (SSE) or the newer Streamable HTTP transport. Local servers are simpler to set up; remote servers can be shared across devices.
How many MCP servers exist? +
As of early 2026, there are over 10,000 public MCP servers listed in various directories. They cover everything from database access and file management to specialised tools like bookmark search, code analysis, and API integrations.