Start free
Guide MCP and AI agents

What is an MCP server?

Updated 3 min read

The short answer

An MCP server is a program that provides context to an MCP client, such as information, tools, or reusable prompts (MCP architecture). The client connects the server to an AI application, while the server can run locally over stdio or remotely over Streamable HTTP (MCP architecture).

On this page8 sections
  1. What MCP means
  2. Host, client, and server
  3. What an MCP server can provide
  4. Local stdio servers
  5. Remote servers over HTTP
  6. Where KnowMan fits
  7. Connect to the hosted KnowMan server
  8. Questions people ask

What MCP means

MCP, or Model Context Protocol, is an open-source standard for connecting AI applications to external systems (MCP introduction). It gives applications a shared way to connect to data sources, tools, and workflows (MCP introduction).

Host, client, and server

The host is the AI application. It creates and manages MCP clients, and creates one client for each connected server (MCP architecture).

An MCP client maintains a connection to a server and obtains context for its host. The server is the program that provides that context (MCP architecture).

What an MCP server can provide

Servers can expose tools, resources, and prompts. Tools perform actions, resources provide contextual data, and prompts are reusable interaction templates (MCP architecture).

For example, MCP can connect AI applications to data sources and tools, helping them access information and perform tasks (MCP introduction). MCP defines how context is exchanged, but does not dictate how an AI application uses its language model or manages that context (MCP architecture).

Local stdio servers

A local server runs on the user's machine. With stdio transport, local processes communicate through standard input and output, without network overhead (MCP architecture). The terms “local” and “remote” describe where the server runs (MCP architecture).

A local server runs with the user's account permissions. Limit its access to files and directories you are comfortable allowing it to read or modify (local server guide).

Remote servers over HTTP

A remote server runs on the internet and can expose tools, prompts, and resources to AI applications (remote server guide). Streamable HTTP uses HTTP POST, with optional Server-Sent Events for streaming; it supports standard authentication methods (MCP architecture).

Remote servers can be available to MCP clients with an internet connection without installation on each device. Most require authentication, such as OAuth or API keys (remote server guide).

Where KnowMan fits

KnowMan's MCP server runs locally with npx -y @knowman/mcp and as a hosted server at https://api.knowman.io/mcp with OAuth sign-in or an API key. It connects to KnowMan's HTTP API and offers tools to search saved items, ask questions with citations, read an item, save a URL, view recent items, and access saved memories. See the KnowMan MCP knowledge base guide.

KnowMan is one option when you want an AI client to work with your saved articles, links, and memories. Its server is local, so it does not fit clients that accept only remote MCP servers. For more on connecting AI tools to notes, see connect AI to your notes.

Connect to the hosted KnowMan server

Knowing the difference between stdio and HTTP transports, you can try both with KnowMan. For the remote route, add https://api.knowman.io/mcp to a client that accepts hosted MCP servers. On first use, the client opens the KnowMan consent page, where you sign in and approve the requested scopes: knowman.read for search, read, and ask, and knowman.write for saving links. Access tokens last one hour and refresh automatically.

You can also send an API key instead of signing in with OAuth. Create the key in KnowMan settings and pass it as an Authorization: Bearer <key> header, for example with Claude Code: claude mcp add --transport http knowman https://api.knowman.io/mcp --header "Authorization: Bearer <key>".

For the local route, the open-source client at https://github.com/Essatt/knowman-mcp starts with npx -y @knowman/mcp on Node 22+ and speaks stdio, exposing the same six tools: kb_search, kb_ask, kb_get_item, kb_save, kb_recent, and kb_memories.

Questions people ask

Is an MCP server the same as an MCP client?

No. A server provides context, while a client maintains a connection to the server and obtains context for its host (MCP architecture). The host is the AI application that manages clients (MCP architecture).

What is the difference between local stdio and remote MCP?

Stdio connects local processes through standard input and output on one machine (MCP architecture). Remote Streamable HTTP communicates over HTTP and can use standard authentication methods (MCP architecture).

What can an MCP server do?

It can expose tools for actions, resources for contextual data, and prompts for reusable interaction templates (MCP architecture). The specific capabilities depend on the server.

Is KnowMan's MCP server local or remote?

KnowMan's MCP server runs locally with npx -y @knowman/mcp and as a hosted remote server at https://api.knowman.io/mcp with OAuth sign-in or an API key, so it can be added to clients that accept remote MCP servers. Both connect to KnowMan's HTTP API. See the KnowMan MCP knowledge base guide.

Give your AI context from your own library

Try KnowMan Pro for 14 days with no credit card. Create your account

Start free

Every new account starts with 14 days of Pro. No credit card.