Skip to content
zechim
Back to blog
2 min readmcpagentsintegrationservicesai-consulting

An MCP server for your product or data: what to expose and how to protect it

Let AI assistants use your product or data through a standard interface. What we decide with you, how authentication, quotas and logs work, and how we deliver it.

by Zechim

People ask assistants to do things in the tools they use. An MCP server is the standard way for your product or your data to be one of those tools, without building a separate integration for each assistant.

This post describes how we design and build one as a service. Our public endpoint at /demo/connect is a working example.

What we do

1. Decide what to expose

Not everything in your system should be reachable by an assistant. We list the actions and the data that make sense, each with its purpose, and start with read only access. Write actions come later, one at a time, with a confirmation step.

2. Design the tools for a model

A model chooses tools from their names and descriptions. We write them as a small, clear set with predictable inputs and compact outputs, so the assistant picks the right one and does not drown in data.

3. Authenticate

Clients differ in what they can send. Some send an authorization header, and some web connectors only accept a URL. We support the right method per client, and when a key must travel in a URL we make it read only, limited, revocable and rate limited. See how we handled it.

4. Set quotas and limits

A daily quota per key, a burst limit, a maximum result size and a statement timeout, so one client cannot exhaust your system.

5. Log and observe

Every call recorded with the key, the tool and the time, so you can answer who used what and spot abuse. Arguments and cost are added when you need them.

6. Document and test with real clients

Setup instructions per client, and a test with each client you care about. Support for the protocol varies between clients and changes over time, so we test the ones you use instead of assuming.

When an MCP server is the wrong tool

A fixed chat inside your own app, where you control the model and the interface, may serve better than a protocol aimed at third party assistants. We compare the two in MCP vs custom SQL chatbots.

What we do not do

  • We do not expose write access on day one.
  • We do not hand out unlimited keys. Every key has a scope, a quota and an owner.
  • We do not promise it works in every assistant. We test the ones that matter to you.

How we deliver it

  1. 2 week Discovery. The tool list, the access rules and the clients to support.
  2. 4 to 8 week Pilot. A read only server with authentication, quotas, logs and documentation, tested with your chosen clients.
  3. Optional ongoing mode. A Fractional AI Lead adds tools, reviews usage and keeps up with client changes.

You keep the code and the documentation.

What you need to start

  • An API or database the server can use, and someone who knows what it contains.
  • A decision on who may get a key and what each key may do.
  • The assistants your users actually use.

If your customers or your team would benefit from using your product through an assistant, worth 30 minutes to define the first tools.