How Do I Build an MCP Server Without Writing One?
The short answer
There are two paths. Write a server with an MCP SDK and host it yourself, or publish an agent that already exposes an MCP endpoint. An agent published with Agentplace becomes callable from Codex or Claude through its own address, so the work shifts from protocol plumbing to describing what the tool should do.
Key takeaways
- A team that wants its internal workflow callable from Claude usually has to write, host and maintain a server before anyone can use it once.
- Writing an MCP server means owning transport, tool schemas, session handling, authentication and a deployment, none of which is the work the tool is for.
- An agent published with Agentplace exposes an MCP endpoint, so Codex or Claude can call it without a server project of your own.
- Discover the advertised tools and schemas before calling any endpoint, because a pasted link identifies an agent but does not guarantee access or a fixed tool surface.
- Choose the SDK path when you are wrapping an existing system, and the agent path when the tool has to do judgment work and talk to a person.
You can make a tool available to MCP-compatible clients in two main ways: build and host an MCP server yourself, or publish an agent that exposes an MCP endpoint. The right choice depends on whether you need a custom protocol service or want an AI agent to perform a defined job.
Agentplace is designed for the second route: you publish an agent through an MCP address, so a compatible external client such as Codex or Claude can call it. If what you need is a thin protocol wrapper over an existing service, an MCP SDK is the shorter path.
What does an MCP server do?
The Model Context Protocol (MCP) gives AI clients a standard way to discover and call tools exposed by a server. A server can make functions or resources available to a compatible client such as an AI coding assistant.
An MCP server does not automatically provide the business logic. You still need to decide what the tools do, what inputs they accept, what permissions apply and how errors are handled.
What does building one yourself involve?
Writing the server means owning every piece of it:
| Piece | What you own |
|---|---|
| Transport | Local process or a network address, plus reconnection behavior |
| Tool schemas | Every input and output declared, versioned and kept accurate |
| Session handling | What persists between calls, and what resets |
| Authentication | Who may connect, and what each caller may reach |
| Hosting | A deployment, monitoring and an upgrade path |
| The actual work | The thing the tool does |
Only the last row is the reason you started. This is the right path when you need full control over protocol behavior or want to expose a specific existing service.
What is the agent-based path?
With Agentplace, you can publish an agent that exposes an MCP address. A compatible external client can call the agent and ask it to perform the job you defined. Instead of writing protocol plumbing first, you describe the task, the agent’s rules and the tools it needs.
For example, a consultant could publish a competitor research agent and use it from Codex or Claude. The external assistant passes the task and relevant inputs; the agent performs its configured work and returns a result.
This does not mean every external client reproduces the agent’s full web interface, voice experience or file-handling behavior. The host client controls how it gathers inputs and presents the response. A local file path pasted as text does not give the agent access to the file.
Which route should you choose?
| Choose an MCP SDK when | Choose an agent endpoint when |
|---|---|
| You need full control over the server | You want a task-oriented agent callable from an MCP client |
| You already have service logic to expose | You want to define behavior in an agent builder |
| You need custom protocol behavior | Your main work is the agent’s method and workflow |
The practical difference appears on the second change. A rules change in the SDK version needs a code change, review and deploy. In the agent version, the person who owns the rules can rewrite them. The same agent is also usable in a browser, so a colleague who is not writing client code can open it.
Agentplace’s AI Builder helps create and test the agent; publishing makes it available through its own address. External access still depends on the client’s MCP support and the permissions configured.
Next step: write what the tool is asked in the words a caller would use, then decide whether answering it needs judgment or only an operation. Create your AI agent.
What does an MCP connection not do?
Four boundaries decide whether an integration behaves as users expect.
The remote agent receives only what the client transmits, plus whatever its own session and authorized integrations provide. It does not inherit the host’s chat history, local files or connected accounts.
A local file path sent as text does not transfer a file. The host has to read and pass the content, upload it through a supported mechanism, or provide an accessible reference.
The host controls presentation. An MCP call returns a result, not the agent’s web frontend or its voice mode, so a response that appears as a table and a chart on the agent’s own page may arrive as text or structured data inside an assistant. When the visual interface matters, send the person the agent’s link as well.
The sessions are distinct. A browser link may carry an application session identifier, and the transport may carry its own session identifier, and substituting one for the other breaks continuity. Follow the specific endpoint contract rather than appending a browser query string to the endpoint.
Before you start, you need two things. A written description of what the tool is asked, in the words a caller would use, because that decides which path fits. And the list of systems it must reach, with somebody who can authorize each connection.
When should you write the server yourself?
- Are you wrapping fixed operations? An SDK server is the right shape, and it will be small.
- Are latency budgets tight? A deterministic path is predictable in a way orchestration is not.
- Does the surface need exact versioning? External consumers need schemas you control.
- Is there no judgment anywhere in the call? Then nothing above the protocol is needed.
- Do you need to run inside a private network with no outbound access? Host it yourself.
- Does the tool have to ask a clarifying question before it can answer? That is the case for the agent path.
Quick checklist
- Write down what the tool is asked, in the words a caller would use
- Decide whether answering needs judgment or only an operation
- List the systems it must reach and who authorizes each one
- Decide what the tool must never do without confirmation
- Discover the advertised tools and schemas before writing any client code
- Test the call from the host your users actually use
- Give people the agent’s link as well, where the visual result matters
Related reading: What MCP means for AI agents · MCP apps · How to build an AI app when the app is an agent · Agentplace pricing
Bottom line
Getting an MCP server means either owning transport, schemas, authentication and hosting, or publishing an agent that already exposes an endpoint and spending the effort on what the tool actually does.
- If the tool has to interpret a request, apply rules and return something a person reads, publish an agent with Agentplace and hand people both the endpoint and the link.
- If you are wrapping fixed operations on a system you already run, write the server with an SDK and keep it small.
Questions and answers
Frequently asked questions.
What is an MCP server?
It is a process that exposes tools to an AI client over the Model Context Protocol. The client connects, discovers the advertised tools and their input schemas, and calls them. [What MCP means for AI agents](/blog/what-is-mcp-ai-agents) covers the protocol itself in more detail.
Do I have to write code to get an MCP server?
Not always. Writing one with an SDK gives you full control over transport, schemas and hosting. Publishing an agent that already exposes an MCP endpoint gives you a callable tool without a server project, and the configuration becomes a description of what the tool should do.
How does an agent become callable from Claude or Codex?
A published agent exposes an MCP endpoint at its own address. The client initializes a connection, discovers the advertised tools and their schemas, then calls one with the task and the inputs. Which hosts can connect and what access they need depends on the host and your settings.
Is pasting a link enough to connect an agent?
Pasting the link is the user entry point, and the assistant handles the available connection or invocation steps. It does not by itself install a server, grant access or guarantee a fixed tool surface, so discover the actual tools before relying on specific names.
What does an MCP client actually receive?
It receives the result of the tool call, not the agent's web interface. The host decides how inputs are collected and how the result is shown, so a rich visual response on the agent's own page may arrive as text or structured data inside the assistant.
Can the remote agent read my local files?
No. It receives the inputs the client explicitly transmits, plus whatever its own session and authorized integrations provide. A local file path sent as text does not transfer the file, so the host has to read and pass the content through a supported mechanism.
When should I write the server myself?
Write it when you are wrapping an existing system with fixed operations, when latency budgets are tight, or when the protocol surface has to be exact and versioned. Those cases reward owning the schemas and the deployment rather than describing behavior.
Does one approach rule out the other?
No. Many teams write a server for the deterministic system calls and publish an agent for the part that needs judgment, a conversation or a generated result. The agent can call the server as one of its tools, which keeps each piece doing what it is good at.
When should I build an MCP server myself?
Build one when you need custom server behavior, full control over the protocol implementation or a direct interface to an existing service.
Put this into practice
See the customer experience.
Explore a concrete example related to this article, then adapt the agent to your business.
Create my AI agentStart free with your business idea. The AI builder can help you explore it and create your agent. No technical specification needed. Sign in to continue. Pricing and limits · How the builder works