Skip to main content

What Is an MCP Server? A Practical Guide (with a Hosted Example)

· 6 min read
SchemaBounce

An MCP server exposes tools and context to an AI application through the Model Context Protocol. The application can discover what the server offers, send a request, and receive a result without inventing a new integration format for every service.

The server isn't the model. It doesn't have to run an agent loop. It might be a small local process that reads files, or a service that accepts authenticated requests from clients across a team.

MCP standardizes the interface. It doesn't decide what an agent should be allowed to do.

What the server exposes​

The main server-side primitives are tools, resources, and prompts.

  • Tools are callable operations with names, descriptions, and input schemas. Think searching an issue tracker or checking a database definition.
  • Resources expose content the client can read through a URI. A resource might contain documentation or application context.
  • Prompts are reusable message templates a client can make available to users.

A server doesn't have to implement all three. A documentation server and a server that can issue refunds have very different capabilities, even though both speak MCP.

For tools, the useful distinction is discovery versus execution. The client learns which operations exist. The AI application can then use those definitions when deciding what to request. The server validates and executes the request, subject to its own implementation and permissions, and returns the result.

A description saying a tool is read-only isn't a security boundary. The implementation and the credentials behind it determine what actually happens.

The host runs the agent​

MCP uses the terms host, client, and server. They're worth separating before you debug a connection.

The host is the AI application. It manages the model interaction and the user experience. An MCP client inside that application maintains a connection to a server. The server exposes the capabilities on the other side.

The model doesn't need to implement HTTP or launch subprocesses itself. The application handles that wiring. The model works with the tool definitions and results the application supplies.

This also explains why adding a server doesn't automatically solve memory, scheduling, retries, or approvals. Those are runtime concerns. The distinction is covered in what an AI agent harness does.

Local process or HTTP endpoint​

The MCP transport specification defines stdio and Streamable HTTP.

With stdio, the client starts the server as a subprocess. Protocol messages pass through standard input and standard output. Logs belong on standard error; printing a startup banner to stdout can break the protocol.

Local process doesn't mean offline. That process may still call a SaaS API or connect to a database. It runs with the OS permissions, environment, and credentials you give it.

With Streamable HTTP, the server runs independently and the client connects to an MCP endpoint. The transport uses HTTP requests and can use Server-Sent Events for streaming.

Older setup guides may refer to HTTP+SSE. Streamable HTTP replaced that older transport in the specification. SSE can still be part of the newer transport, so seeing the word "SSE" doesn't tell you which connection format a particular server expects. Follow that server's documented setup.

A real hosted configuration​

SchemaBounce documents this configuration for external MCP clients:

{
"mcpServers": {
"schemabounce": {
"url": "https://mcp.schemabounce.com/mcp"
}
}
}

That's a client configuration, not a server deployment. It tells a compatible application where to connect. The endpoint already runs remotely.

The documented sign-in flow uses browser OAuth so a person can choose a workspace and approve scopes. An OAuth-capable client completes consent and manages its token. Copying the URL alone doesn't grant access to somebody else's workspace.

The MCP integration documentation distinguishes that external connection from tools supplied to agents already running inside a workspace. Those hosted agents receive their built-in tools from the runtime; they don't need this client configuration.

For connecting additional servers, the MCP connections guide covers the workspace-side integration. Keep these directions separate: connecting an external application to a platform is different from giving an agent on that platform access to another server.

A package and an endpoint need different operations work​

A server distributed as a package still needs a process somewhere. On a developer machine, the client may launch it. In a hosted environment, the platform may launch and manage it instead.

Someone still owns the package version, startup command, dependencies, credentials, logs, and restart behavior. Moving the process off a laptop changes who handles those jobs. It doesn't remove them.

A vendor-operated endpoint makes a different trade. You don't install its server package, but you depend on its authentication, availability, rate limits, and upgrade policy. Ask whether clients can select a version before assuming that one URL means one immutable implementation.

The transport and the hosting arrangement are separate choices. A remote endpoint might be vendor-managed or self-operated. A package might run locally or inside managed infrastructure.

Check the failure before changing the prompt​

A missing tool can mean the server never started, the connection failed, or access wasn't granted. Rewriting the agent's instructions won't fix those conditions.

Check in this order:

  1. Did the process start, or did the remote endpoint answer?
  2. Did authentication succeed for the intended account and workspace?
  3. Did capability discovery return the expected tools?
  4. Does the current user or agent have permission to use them?
  5. Did the call fail before execution, during execution, or after a side effect?

That last distinction matters. A timeout isn't proof that nothing happened. Retrying a search and retrying a payment need different treatment.

For tools that change external state, keep approval and authentication separate. Valid credentials establish access. They don't establish that a person approved this particular action. The human-in-the-loop guide goes further into that execution boundary.

Before granting a server access, inspect its tool surface, scope its credentials, and make sure you can trace a call from arguments to outcome. A successful connection is the start of that review, not evidence that the integration is safe.

Written with AI assistance. Publication requires human approval.