When a demo server is not enough
Most MCP examples show one tool that echoes a string. The protocol part is easy. The difficult parts are the decisions around it: which systems the server may reach, how a caller is identified, which actions are read-only, what a failed call returns, and how you prove any of that later.
We build the second kind. The server is small on purpose, but every tool has a contract, a permission check, a timeout and a test. Your team can read the whole thing in an afternoon and own it after handover.
What we build: tools, resources and prompts
MCP has three main primitives. Using the wrong one makes a server harder to secure and harder for a model to use.
| Primitive | Use it for | We avoid |
|---|---|---|
| Tool | An action with typed input and output, such as search_articles or create_ticket. | One giant tool that switches behavior on a free-text command. |
| Resource | Read-only context addressed by a stable URI, such as custommcp://docs/setup. | Using a resource for anything that changes state. |
| Prompt | A reusable workflow template with typed arguments. | Hiding authorization or data access inside a prompt. |
What you receive
| Deliverable | What you can check |
|---|---|
| Tool and resource contracts | Inputs, outputs, errors and read/write annotations reviewed with your team. |
| Server implementation | Pinned SDK version, no untyped any, no secrets in source. |
| Automated tests | Valid input, invalid input, upstream failure, timeout and authorization denial. |
| Client setup notes | Exact configuration for the hosts you use, with protocol and transport versions. |
| Deployment configuration | Health check, resource limits, egress rules and a rollback step. |
| Handover session | A recorded walkthrough and a runbook for common failures. |
The build sequence
Scope and threat model
We agree the systems, actions, data classes and users. Output: a one-page scope with explicit exclusions and a threat model.
Contracts first
We write the tool schemas and example calls before implementation, so you can reject a bad design before it is built.
Implementation
We build against a pinned MCP SDK with fixtures for each upstream system. No production credentials in development.
Protocol and client tests
We run initialize, tools/list, tools/call and error paths from real clients, not only unit tests.
Handover
We deploy to staging, walk your engineers through the code and transfer ownership with a runbook.
What we test before calling it done
| Check | Pass condition |
|---|---|
| Initialization | Server negotiates a supported protocol version and rejects unsupported requests cleanly. |
| Tool discovery | tools/list returns accurate schemas and annotations for every tool. |
| Input validation | Missing, malformed and oversized inputs return structured errors, not stack traces. |
| Authorization | A call without the required scope is denied at the server, even if the model asks nicely. |
| Upstream failure | A timeout or 5xx returns a bounded error and does not leak upstream details. |
| Idempotency | A repeated write with the same key does not create a duplicate. |
| Clean shutdown | The server drains in-flight calls and exits without corrupting state. |
Included and excluded
A fixed scope protects both sides. We list what is included in the proposal and what is not, and we do not quietly expand either.
If a requirement depends on a provider API we cannot access, it moves to a later phase instead of becoming an untested claim.
- Included: one server, up to 12 tools, one transport, two client hosts tested.
- Included: staging deployment and one production cutover.
- Excluded by default: building the upstream API, data licensing, legal review.
- Excluded by default: 24/7 support and custom SLA terms.
- Excluded by default: model fine-tuning or prompt evaluation.
Questions people ask before starting
How long does a custom MCP server take?
Most builds take 2-5 weeks after scope is agreed. A single read-only tool against a well-documented API can be faster. Multiple upstream systems, writes or enterprise identity usually push it longer.
Do we need an existing MCP server first?
No. We can start from your systems and the actions you want to expose. If you already have a prototype, we can review and harden it instead.
Who owns the code?
You do. The engagement includes repository handover, a runbook and a walkthrough. Third-party dependencies keep their own licenses.
Can you work in our repository and CI?
Yes. We can work in a branch with your review process, or deliver a standalone repository that you import. Both are valid; we pick whichever your team can maintain.
Next step
Scope one capability
Describe the system, the action and the client. We will tell you whether it is a build, an integration or a security review.
Last verified .