How do you build an MCP server for your own business system?
Start from a job to be done, not a list of endpoints
The most common mistake is to wrap everything a system can do and hand it to an assistant. A better start is a specific job, such as answering customer order status questions or preparing a sales briefing. Write down the questions the assistant must answer and the actions it must take, then expose only what those jobs need.
This keeps the server small enough to test properly. It also makes the permission decisions obvious, because each tool has a clear reason to exist.
Choose which tools and data to expose
Design tools around the questions people ask, not around the shape of your database. Several narrow tools are easier for a model to use correctly than one broad tool that accepts open-ended queries.
- Prefer a tool that searches customers by name or order number over a tool that returns the whole customer table.
- Return only the fields the job needs. Hide internal identifiers, cost data and personal details that the user has no reason to see.
- Avoid raw database access. A tool that accepts arbitrary query text can read far more than you intended.
- Write each tool's description as instructions for the model, saying what it does, what it returns and when it should not be used.
Read tools and write tools need different rules
Read tools are low risk, but they can still leak information if permissions are wrong. Write tools, such as creating a record, changing a status or sending a message, can cause real damage. Treat them as a separate category from the start.
A safe pattern is for each write tool to return a preview of the change, require a separate confirmation from a person, and log who asked for it, what changed and when. For some actions, such as payments or refunds, it is better not to expose a tool at all and keep that step in your existing system.
Authentication and permissions
The server should act with the permissions of the person using it, not with a shared administrator account. Connect it to the same identity provider your staff already use, so access follows the same roles and is removed when someone leaves. Tokens should expire, and each tool should check the user's role before it runs.
Any server that runs on a network needs encrypted connections. Confirm the authentication approach with your security team, because the right choice depends on whether the server is local, internal or public.
Testing with an assistant before anyone relies on it
Test with the real questions your staff receive, including the awkward ones. Check that the assistant picks the right tool, that the answer matches the source system, and that it refuses requests outside the user's permissions. Try a document or record that contains instructions meant to manipulate the assistant, and confirm the server does not follow them.
Use staging data for these tests, check the logs for each call, and read the error messages the server returns. Clear errors help the assistant recover, and they help your team debug.
Hosting, versions and ongoing maintenance
Decide where the server runs before you build it. A server is software with an owner, so it needs monitoring, updates and a named person responsible for it. When the underlying system's API changes, the server must change too, and tool descriptions should be versioned so clients do not break silently.
Plan for the server to be reviewed as the list of tools grows. Each new write tool deserves the same scrutiny as the first one.
How Hundred Seas helps
Hundred Seas builds AI agents, AI CRM systems and internal tools. We help you decide which parts of your system an assistant should reach, we agree the permission model with your own staff, and we build the server, its tests and its logs. We build on Claude and on OpenAI models and choose the model for each task on cost, speed, quality and where your data has to stay.
Every engagement starts with a scope step of about one week at a fixed price, ending in a written plan and a firm quote. The build then arrives as weekly releases of working software, and a monthly run plan covers hosting, updates and reviews of new tools.
Questions
- Can I expose my whole database through an MCP server?
- It is possible, but it is rarely wise. Exposing everything gives an assistant access to data it does not need and makes permissions hard to audit. Expose specific, narrow tools for the jobs you have defined, and add more only when a real task requires them.
- Should an assistant have write access from day one?
- Start without it. Begin with read-only tools, measure how well the assistant answers, and add write tools one at a time. Each write tool should show a preview, need a person to confirm and leave a log entry.
- Do I need a developer to build one?
- Yes, building and hosting a server is software work. You do not need to master the protocol before you start, but you do need to decide the scope, permissions and owner, and a developer should implement and test them.
- Where should an MCP server run?
- Run it where your security team can monitor it and control its network access. An internal server can often sit inside your existing environment. A server reached from outside needs encrypted connections and stronger authentication. Confirm the choice before building.
- How do I know the server is working well?
- Keep a set of real questions and expected results, run them after every change, and review the logs for failed or unexpected calls. Watch which tools staff actually use, because unused tools are candidates for removal.