[07] MCP server development

Custom MCP server development for the tools you already run

We build custom MCP servers that let Claude, ChatGPT and your own agents read your data and take actions in the tools your business runs on. Each server offers a short, named list of actions, checks who is asking before it does anything, and logs every call.

What an MCP server is and what building one involves

The Model Context Protocol, or MCP, is an open standard for connecting AI assistants to software. Anthropic published it in late 2024, and Claude, ChatGPT, Cursor and VS Code can all connect to MCP servers. An MCP server is a small program that sits in front of one of your systems, such as a CRM or an order database. It tells the assistant what it can do there. Tools are actions the model can call, such as looking up an order or creating a ticket. Resources are data it can read. Prompts are ready made instructions a person picks from a menu. Almost every assistant calls tools and fewer handle the other two, so most of the work goes into tools.

Servers go wrong in two main ways. The first is wrapping every API endpoint as a tool. The model then faces sixty tools with names like update_record_v2 and picks the wrong one. The second is permissions. A server that connects with one admin key lets every user of the assistant do anything that key can do. A hostile email or web page can also instruct the model to misuse a tool. That attack is prompt injection, and no wording in a prompt stops it every time. Smaller faults add up too. A tool returns ten thousand rows, or an error comes back as a bare 500 and the model repeats the same call.

We start from the jobs, before the API. We list what a person would ask the assistant to do, then write the smallest set of tools that covers those jobs. Read tools come first. Each write tool takes a narrow input and checks the caller's own permissions, and an action that costs money or reaches a customer waits for a person to approve it. A remote server signs each user in with OAuth, so it acts as that person and never as a shared admin. The server logs every call. We test in the assistants your team uses, and the code, the tests and a runbook live in your repo.

Signs you need a custom MCP server

Each of these is a common starting point for a Model Context Protocol integration.

01

Your team pastes records into a chat window

Staff copy an order history out of the admin panel, paste it into Claude or ChatGPT, ask a question and paste the answer back. The assistant never sees the live record, and the copy is out of date by the afternoon.

02

Customers ask whether your product works with their assistant

You sell software, and customers want Claude or ChatGPT to read and update their account in it. You have an API and documentation for developers. You have nothing an assistant can connect to with a sign in screen.

03

Each agent has its tools wired in by hand

Your engineers wrote tool definitions inside one agent, for one model provider. A second agent needs the same access, and so does the assistant your support team uses. Each copy has its own bugs and its own idea of who may do what.

04

Someone connected a downloaded server to production

A developer found an open source MCP server, gave it a key with full access and pointed it at the live database. It works. Nobody has read which tools it offers, and nobody can say what the assistant is able to delete.

What is included in MCP server development

Every build covers the same four areas, sized to the number of tools and to whether the server is local or remote.

01 / 04

Tool design and descriptions

We decide which actions the assistant gets and which it never sees. The model chooses a tool by reading its name, description and input schema, so we write those for the model and test them like code.

  • List of jobs the assistant should handle
  • Tools named after the task they do
  • Input schemas with a description per field
  • Short results that fit the model's context
02 / 04

Permissions and sign in

Read tools and write tools follow different rules. A remote server signs each user in with OAuth and calls your API as that person, so the assistant sees what that user may see and nothing more.

  • OAuth sign in for remote servers
  • Permission check on every call
  • Read tools kept apart from write tools
  • Approval step for costly actions
03 / 04

Server build and hosting

We build in TypeScript or Python with the official MCP SDKs. A local server runs on one person's computer and talks to the assistant over stdio. A remote server runs at a URL over HTTP, and a whole team connects to it.

  • Local stdio or remote HTTP server
  • Connection to your API or database
  • Error messages the model can act on
  • Deployment to an account you own
04 / 04

Testing, logs and upkeep

Each assistant reads tool descriptions a little differently, so we test in the ones your team uses. The server logs every call, and scheduled tests fail when your underlying API changes shape.

  • Scripted tasks run in real assistants
  • Audit log of every tool call
  • Rate limits per user and per tool
  • Tests that catch API changes

MCP servers we build

A server usually falls into one of six types, each shown here with an example from an ordinary business.

Internal tools server for your team

Say you run a logistics firm. A coordinator asks Claude where a shipment is, and the server looks it up in your tracking system under that coordinator's own login. Nobody opens the admin panel for a lookup.

MCP server for your SaaS product

Say your product is a project tool for building firms. Your customers add your server to their own assistant, sign in with OAuth and ask for the overdue tasks on a site. Each customer reaches only their own projects.

Read only access to a database

Say a D2C brand wants to ask questions about orders and returns. The server offers a few named queries with row limits and connects as a database user that cannot write. The assistant has no tool for free form SQL.

Actions with an approval step

Say a clinic's receptionist asks the assistant to move an appointment. The server finds a free slot and prepares the change. The receptionist confirms it in the booking system before anything is saved or any patient gets a message.

Tools for an agent you already run

Say a recruitment firm runs an agent that screens applications. The server gives it three tools into the applicant tracking system. When you change the model or the agent framework, the tools and their permission rules stay as they are.

Local server for files or a desktop app

Say a tour operator keeps itineraries as files on each planner's Mac. A local server lets the assistant read and edit those files on that one machine. There is nothing to host and no sign in to build.

Our MCP server development process, week by week

One server over one system usually takes 2 to 5 weeks. Every Friday you get a version you can connect to from your own assistant.

  1. Week 1

    01List the jobs

    We sit with the people who will use the assistant and write down what they would ask it. We read your API documentation and try the endpoints with a real account. Then we sort every possible action into three lists, which are read, write and never.

    You haveA tool list sorted into read, write and held back

  2. Week 1

    02Fix the scope and the permission rules

    The written scope names each tool, who may call it, which assistants we test in and where the server runs. It also states whether the server is local or remote, and one fixed price. Any tool added later is priced before we build it.

    You haveA written scope and a fixed price

  3. Weeks 1 to 2

    03Build the read tools

    We set up the server with the official SDK, connect it to a test account on your API and write the read tools. Results come back trimmed to the fields the job needs, with paging for long lists, so one call cannot flood the model.

    You haveA working server with read tools you can try

  4. Weeks 2 to 3

    04Add write tools and sign in

    Each write tool does one narrow thing and validates its input before it touches your API. For a remote server we add OAuth sign in, a permission check per user, rate limits and the audit log. Costly actions get their approval step here.

    You haveWrite tools behind sign in, with every call logged

  5. Weeks 3 to 4

    05Test in real assistants

    We run a script of real tasks in each assistant you use and read the transcripts. Where the model picks the wrong tool or sends a wrong argument, we rewrite the description or reshape the tool. We also plant instructions in test data and try requests outside a user's permissions.

    You haveA test report with transcripts for each assistant

  6. Weeks 4 to 5

    06Deploy and hand over

    The server goes live on a hosting account in your name, for a small group first. We switch on alerts, write the runbook and walk your engineer through adding a tool. You can keep us on for upkeep month to month, or run it yourselves.

    You haveA live server, a runbook and everything in your repo

What you have at handover

Everything sits in your repo and on hosting and identity accounts registered to you.

DeliverableWhat it is
MCP serverThe server running in production, local or remote, connected to your API or database on your own accounts.
Source code repositoryThe server code in your Git account, with full history, setup notes and a way to run it on a laptop.
Tool referenceA document listing each tool, its inputs, who may call it, and the actions we held back with the reason for each.
Sign in and permission setupThe OAuth configuration, the scopes and the rules that map a signed in user to what the server lets them do.
Test suiteAutomated tests for every tool against your API, plus the script of tasks we ran in each assistant.
Audit log and alertsA record of every call with the user, tool, arguments and result, and alerts when errors rise or your API stops answering.
Operations runbookWritten steps for adding a tool, rotating a key, handling an API change and connecting a new assistant.

Tools and technology

We build on the official SDKs, so a protocol update is a library upgrade for your engineer. Hosting and sign in follow whatever your systems and your team already use.

Protocol and SDKs
Model Context ProtocolMCP TypeScript SDKMCP Python SDKMCP InspectorJSON Schema
Assistants we test in
ClaudeClaude CodeChatGPTCursorVS Code
Sign in and access
OAuth 2.1API keysScoped tokensSingle sign on
Hosting and operations
Node.jsCloudflare WorkersDockerGitHub ActionsSentry

MCP server or a custom integration per assistant

You can connect an assistant to your systems without MCP, by writing tool definitions inside one agent's code or a plugin for one product. Both routes work. They differ in how many times you do the job.

MCP serverIntegration per assistant
Works withAny assistant that supports MCPThe one assistant or agent you wrote it for
Adding a second assistantConnect it to the same serverWrite and test the integration again
Where permission rules liveIn one server, checked on every callIn each integration, kept in step by hand
Sign inOAuth, as the protocol defines for remote serversWhatever each product's plugin system offers
Extra parts to runA server to host and monitorNone beyond the agent itself
Best fitSeveral assistants, or customers who bring their ownOne agent with a few tools in one codebase

How to choose. If one agent in your own codebase needs three tools, define them in that codebase and skip the server. Build an MCP server when more than one assistant needs the same access, or when your customers want to connect theirs.

From our own lab

We run an MCP server of our own. Flowgen, our canvas for AI images and video on the Mac, works as one, so an AI assistant can build and run a graph for you.

See the lab→

Pricing and how we engage

Every project runs on a written scope and one fixed price. These are the three ways an engagement usually starts.

01

Discovery first

The idea is not pinned down yet

A short, fixed-price piece of work that ends in a prototype and a written scope. You can take that scope to us or to anyone else.

02

Fixed-scope build

You know what version one is

We agree the scope and one price in writing, then build it with a working link every Friday. A change gets its own price before anyone builds it.

03

Monthly after launch

The product is live and growing

A set amount of design and engineering time each month for new features and fixes. There is no lock-in, and the code stays in your repo.

We do not publish a rate card, because the same service can be two weeks or twelve. Tell us the budget you have in mind and we will tell you what fits inside it.

When this is the wrong service

A maintained server already exists

Many software vendors now publish an official MCP server for their own product. If yours does and it covers the jobs you have in mind, connect that one. We will say so on the first call.

The system has no API

If the only way in is a person clicking through screens, a server has nothing dependable to call. The API has to exist first, and building it is a job for our web app service.

Nobody will check what it writes

Models misread requests at a low but real rate. We will not build a server that lets an assistant issue refunds or delete records with no person approving and no way to undo the change.

MCP Integrations: common questions

01How much does a custom MCP server cost?

The cost depends on the number of tools, how many of them write data, whether the server is remote with sign in, and how well your API is documented. A read only local server over a clean API is the small end. We agree a written scope and give you one fixed number before work starts.

02Which AI assistants can use our MCP server?

Claude, ChatGPT, Cursor and VS Code all support MCP, and the list keeps growing. Support is uneven. Almost all of them call tools, fewer handle resources and prompts, and some connect only to remote servers. We agree the assistants you care about in the scope and test in each one.

03Should our MCP server be local or remote?

A local server runs on the user's own computer and talks to the assistant over stdio. It suits developer tools, files on that machine and single users. A remote server runs at a URL over HTTP and signs users in, which suits teams and customers. Remote takes longer, because sign in, hosting and monitoring are part of the build.

04Can the assistant change or delete our data?

Only through tools we choose to build. Most servers start read only. A write tool does one narrow thing and checks the user's permission on every call. We also mark destructive tools with the protocol's annotations. Assistants treat those as hints, and people soon click always allow, so the approval that counts sits in the server or in your own system.

05How do you deal with prompt injection?

A model cannot reliably tell data from instructions, so text inside an email or a ticket can try to steer it. We assume that will happen and treat every tool call as if an attacker wrote it. The server enforces permissions itself, write tools stay narrow, and risky actions wait for a person.

06Does our data go to the AI provider?

Yes, in part. Whatever a tool returns goes into the conversation, and the conversation goes to the provider behind the assistant. So each tool returns only the fields the job needs, and we leave out or mask sensitive ones. That provider's plan sets the rules on retention and training, and you should read those terms yourself.

07What happens when our API changes?

Scheduled tests call your API and fail when a field moves or an endpoint disappears, so you hear about it from an alert before a user does. The code keeps tool definitions apart from API calls, which keeps most fixes in one file. The runbook covers the steps, and we offer upkeep month to month.

08How long does it take to build an MCP server?

Most servers take 2 to 5 weeks. A read only local server over a documented API sits near two. A remote server with OAuth, write tools and approval steps sits near five. The first working version arrives in the second week, and the rest of the time goes on permissions and testing in real assistants.