MCP Server Development
MCP server development: give AI assistants a safe way into your product.
Overview
MCP server development for products, data and internal tools
We design, build and run Model Context Protocol servers that let Claude, ChatGPT, Cursor, VS Code and your own agents use your product's data and actions, with OAuth, scoped permissions and a record of every call.
MCP server development is the work of turning your product, data or internal tools into a Model Context Protocol server: a small, well-defined service that any MCP-compatible AI client can discover and call. Build it once and the same server works in Claude, ChatGPT, Cursor, VS Code and the agents your own team builds, instead of a separate plugin for each one.
The protocol is the easy part. What decides whether a server gets used is choosing which tools to expose, writing descriptions a model will follow correctly, keeping responses small enough to fit in a context window, and putting real authorisation in front of every call. We treat an MCP server as a product surface with users, permissions and a version history, not as a quick wrapper around an API.
Guide
What is an MCP server?
An MCP server is a program that exposes tools, resources and prompts to AI applications through the Model Context Protocol, an open standard for connecting language models to outside data and actions. The AI application (the host, such as Claude or Cursor) runs an MCP client, the client talks to your server in JSON-RPC, and the model decides when to use what the server offers.
Anthropic introduced MCP in November 2024 and donated it to the Agentic AI Foundation, a fund under the Linux Foundation, in December 2025. The major AI assistants and coding tools now support it, so a single server can reach users in several products at once while you keep control of what the model can see and do.
- Tools: functions the model can call, such as search_orders or create_ticket, each with a typed input schema
- Resources: read-only context addressed by URI, such as a document, a record or a schema
- Prompts: reusable templates a user picks on purpose, such as a weekly report or a review checklist
- Clients: Claude, ChatGPT, Cursor, VS Code with GitHub Copilot, and agent frameworks you build on
Guide
How does a Model Context Protocol server work?
A Model Context Protocol server answers structured requests from a client: list the tools you offer, call this tool with these arguments, read this resource. The client shows those capabilities to the model, the model chooses a tool, and the server runs it against your API or database and returns a result the model can read.
Messages travel over one of two standard transports. With stdio, the client launches the server as a local subprocess and they exchange messages over standard input and output, which suits developer tools and anything that touches local files. With Streamable HTTP, each message is an HTTP POST to a single endpoint and replies come back as JSON or a request-scoped event stream, which is how a remote MCP server serves many users over the internet. The older HTTP+SSE transport is deprecated, so new servers should not use it.
The current specification revision, dated 28 July 2026, made the protocol stateless: no session handshake, and every request carries its own protocol version and client capabilities. We build to it and keep compatibility with clients still on earlier revisions where your users need it.
Guide
Local vs remote MCP server: which should you build?
Build a local MCP server when the work happens on one person's machine, and a remote MCP server when many users need to reach a shared product or dataset. Local servers run over stdio, start when the client starts and take credentials from the environment, so they are quick to ship for developer tooling, local files and command-line workflows.
Remote servers run over Streamable HTTP on infrastructure you control, sit behind OAuth, and work in web and desktop clients without the user installing anything. They are the right choice for a SaaS product, for internal data with per-user permissions, and for anything you need to monitor, rate-limit and update centrally. Many products end up with both: a remote server for customers and a local one for power users and CI.
- Local (stdio): developer tools, local files, single user, credentials from environment variables
- Remote (Streamable HTTP): SaaS products, many users, OAuth sign-in, central logging and updates
- Both: one tool implementation behind two transports, so behaviour stays the same
Guide
How to secure a remote MCP server
A remote MCP server is secured as an OAuth 2.1 resource server: it accepts only access tokens issued for itself, checks the scopes each tool needs, and never passes a client's token through to another service. The specification requires the server to publish OAuth Protected Resource Metadata (RFC 9728) so clients can find the right authorisation server, and clients must name your server as the token's audience with resource indicators (RFC 8707).
Authorisation is only half of it. Tool results land in the model's context, so a poisoned document or record can try to steer the model: prompt injection is the risk to design for. We validate every input, cap output size, keep write tools separate from read tools, require explicit confirmation for anything destructive, and log every call with the user, the arguments and the result.
- Audience-bound tokens, short lifetimes and least-privilege scopes per tool
- Client ID Metadata Documents for client registration, with dynamic registration only for compatibility
- Step-up authorisation when a tool needs a scope the user has not granted yet
- Read and write tools separated, with confirmation steps for destructive actions
- Prompt-injection test cases in the evaluation suite before every release
Use cases
Custom MCP server use cases
The shapes this work usually takes. Yours may be a mix.
Make your SaaS usable from AI assistants
Customers connect your product to Claude or ChatGPT and ask for what they need in plain language. The server maps those requests to your API under each customer's own account and permissions.
Give coding agents your internal platform
Cursor, VS Code and Claude Code read your service catalogue, internal docs, deploy status and feature flags through one server, instead of engineers pasting context into chat.
Governed access to a data warehouse
Named, parameterised queries over your metrics layer with row limits and read-only credentials, so analysts can ask questions without handing a model raw SQL access.
One tool layer for your own agents
Agents built on different models and frameworks share one MCP server for CRM, ticketing and billing, so tool code is written, secured and tested once.
Support and operations lookups
Staff ask an assistant for an order's status, a refund's history or a customer's plan, with any write action held for a person to confirm.
A modern front door for a legacy system
An older system with a SOAP interface or no clean API gets a narrow MCP layer, so AI clients can use it without the system itself changing.
Deliverables
What a custom MCP server build includes
Everything below is handed over, documented, at each milestone or at the end of the engagement.
Typical stack
- Model Context Protocol specification
- MCP TypeScript and Python SDKs
- stdio and Streamable HTTP transports
- OAuth 2.1 with PKCE
- Protected Resource Metadata (RFC 9728)
- MCP Inspector
- Claude, ChatGPT, Cursor and VS Code clients
- OpenTelemetry tracing
- Docker, Cloudflare Workers or your cloud
- Your APIs, databases and identity provider
Chosen per project for quality, cost, latency and your data requirements.
- Tool, resource and prompt design: what is exposed, what is deliberately left out, and why
- MCP server in TypeScript or Python on the official SDKs, committed to your repository
- Local stdio build, remote Streamable HTTP deployment, or both from one codebase
- OAuth 2.1 sign-in through your identity provider, with scopes mapped to tools
- Input validation, output size limits and confirmation steps for write actions
- Test suite: protocol checks with MCP Inspector plus model-in-the-loop tests of tool selection
- Setup verified in the clients you target, such as Claude, ChatGPT, Cursor and VS Code
- Structured logs, OpenTelemetry tracing and an audit trail of every tool call
- Versioning policy, user-facing setup docs and an operating playbook
Approach
How we build and ship an MCP server
The lab's own method: the riskiest idea first, then milestones you can see and use.
- 1
Choose the surface
We list the jobs users will ask an assistant to do, turn them into a short set of tools and resources, mark each as read or write, and decide local, remote or both and which clients matter.
- 2
Prototype in real clients
A thin server with a handful of tools runs in real Claude, ChatGPT or Cursor sessions. We watch which tools the model picks, where it gets confused, and rewrite names, descriptions and schemas until it chooses correctly.
- 3
Harden for production
We add OAuth, scopes, validation, rate limits, logging and tracing, then run evaluation scenarios that include edge cases and prompt-injection attempts before any customer connects.
- 4
Ship, monitor and version
We deploy, publish setup instructions, watch usage and errors, and change the server through versioned releases so existing client setups do not break.
Industries
Teams that get the most from an MCP server
Where this work tends to pay for itself first.
SaaS and developer tools
A remote MCP server becomes a new way for customers to use the product from inside the AI tools they already work in, with the same account permissions as the web app.
Fintech and B2B finance
Read-only tools for balances, invoices and reports with tight scopes, and any money-moving action behind explicit confirmation and a full audit record.
E-commerce and retail operations
Catalogue, order and inventory lookups for staff assistants and agents, with stock or price changes kept as separate, permissioned tools.
Platform and engineering teams
Service ownership, runbooks, incident history and deploy status exposed to coding agents, so engineers get answers from the source of truth.
Marketing, SEO and analytics teams
Search, campaign and product analytics available to an assistant through named queries, so reports are drafted from live numbers rather than pasted exports.
Why Anriva
Choosing an MCP development company
An applied AI lab that builds and runs its own products, so client work gets the same standards.
We build to the current specification
MCP changes quickly. We track each revision, from the stateless 2026-07-28 release to the deprecation of sampling, roots, HTTP+SSE and dynamic client registration, so you do not ship a server that is already out of date.
Product builders, not only integrators
We build and run our own AI product, AI Rank Lab, so we design tools around what users actually ask for and know what running AI software in production involves.
Security is the main job
Our MCP integration services start from authorisation, scopes and prompt-injection testing, because an MCP server gives a model a path into your systems and that path has to be narrow.
You own it and see it working
You own the code and IP we create for you. Work runs in milestones, each demoed against real clients in staging, and we reply to every brief within two business days.
Cost
How much does MCP server development cost?
The protocol is small, so MCP server development cost is driven by what sits behind it: how many systems the tools touch, how much authorisation work is needed, and how many clients you must support. We scope these up front and pick the engagement that fits: a prototype sprint, a milestone-based product build, or a dedicated team.
Every engagement is scoped and priced in writing before work begins. Ways to work together
- Number and kind of tools
- A few read-only lookups are far simpler than tools that create, update or delete records, which need confirmation flows, validation and more testing.
- State of your API
- A clean, documented API can be wrapped directly. If the data lives in an older system or behind internal services, new endpoints or an access layer come first.
- Authorisation model
- A local server with environment credentials is light. A remote server with OAuth through your identity provider, per-tenant scopes and step-up authorisation is the largest single piece of work.
- Local, remote or both
- Remote hosting adds deployment, rate limiting, monitoring and uptime responsibilities. Supporting both transports adds packaging and testing but little new logic.
- Client coverage
- Each AI client handles sign-in, tool display and confirmation differently, so every client you commit to supporting adds setup and test time.
- Evaluation and upkeep
- Model-in-the-loop tests, prompt-injection scenarios and keeping up with new specification revisions are ongoing work, not a one-off line item.
Fit
Is a custom MCP server the right next step?
Honest fit guidance. If you are in the second column, a discovery sprint is the usual first step.
Good fit
- You have a product or API that customers want to use from AI assistants
- Your team builds agents and keeps rewriting the same tool integrations for each one
- AI clients need to reach internal data with real per-user permissions and an audit trail
- You want one remote server that many users connect to with their own accounts
Not yet
- One app calling one model with a few functions: plain function calling inside that app is simpler, and MCP pays off when several clients or agents need the same tools
- No API or data access layer yet: we would build that first, which is AI integration work
- An official or well-maintained open-source server already covers your need: use it, and we can review its security instead of rebuilding it
FAQ
MCP server development FAQs
MCP server development is building a service that exposes your product's data and actions to AI clients through the Model Context Protocol. It covers tool design, the server code, authorisation, testing in real clients and running the server in production.
An MCP server does not replace your API; it sits in front of it and presents a small set of model-friendly tools. Clients can discover those tools, sign users in with a standard OAuth flow and call them the same way in every MCP-compatible product, so you build one integration instead of one per assistant.
Claude (desktop, web connectors and Claude Code), ChatGPT, Cursor, VS Code with GitHub Copilot and most agent frameworks support MCP. Support for remote servers, OAuth sign-in and newer features varies by client and plan, so we test in each client you plan to support before launch.
Build remote if many users need access to a shared product or dataset, and local if the work happens on one machine, such as developer tooling or local files. Remote servers use Streamable HTTP and OAuth; local servers use stdio and environment credentials. Many teams ship both from one codebase.
Remote servers act as OAuth 2.1 resource servers that accept only tokens issued for them, with scopes checked per tool and no token passthrough. We also validate inputs, limit output size, put destructive actions behind confirmation, log every call and test against prompt injection before release.
A focused server with a handful of read-only tools fits a prototype sprint of a few weeks. A production remote server with OAuth, write actions and several clients is a product build delivered in milestones, each demoed in staging. Timeline depends mostly on your API and your authorisation model.
Yes. The server runs alongside your product, reuses your API and identity provider, and gives each user the same permissions they have in the web app. Nothing in your core product has to be rewritten.
You do. The code and IP we create for you belong to you, it lives in your repository, and we hand over docs and an operating playbook so your team can run and extend it.
Related
Related AI development services
Most products need more than one of these.
AI Agent Development Company
Custom AI agents that take real actions in your CRM, helpdesk and back office, with scoped permissions, human approvals and a full audit trail of every run.
AI Integration Services
Connect language models to your CRM, ERP, helpdesk and data with monitored pipelines, APIs and a model gateway, so AI results land where your team works.
ChatGPT Integration Services
OpenAI models built into your website, app or internal tools: Responses API builds, ChatGPT plugins, custom GPT migrations and data controls, model-agnostic.
Start with a brief.
Tell us about your MCP server development project. We reply within two business days with next steps.