Socket
Book a DemoInstallSign in
Socket

@zuplo/mcp

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zuplo/mcp

A fetch API based, remote server first, TypeScript SDK for MCP.

latest
Source
npmnpm
Version
0.0.31
Version published
Weekly downloads
2.4K
101.85%
Maintainers
5
Weekly downloads
 
Created
Source

zuplo mcp logo

@zuplo/mcp

A fetch API based, remote server first, TypeScript SDK for MCP.
About · Documentation · Contributing

@zuplo/mcp is a stateless, remote server first MCP SDK that aims to be "minimum common API" compliant as defined by the WinterTC. It uses the fetch APIs and is intended to work out of the box on Zuplo, Node, Deno, Workerd, etc.

📝 Documentation

Quickstart

  • Create an MCP server:
const server = new MCPServer({
  name: "Example Server",
  version: "1.0.0",
});
  • Add some tools:
server.addTool({
  name: "add",
  description: "Adds two numbers together and returns the result.",
  validator: new ZodValidator(
    z.object({
      a: z.number().describe("First number"),
      b: z.number().describe("Second number"),
    }),
  ),
  handler: async ({ a, b }) => ({
    content: [{ type: "text", text: String(a + b) }],
    isError: false,
  }),
});
  • Wire up your MCP server with a transport:
const transport = new HTTPStreamableTransport();
await transport.connect();

server.withTransport(transport);
  • Handle a Request:
const response = await transport.handleRequest(httpRequest);

🤝 Contributing

See the CONTRIBUTING.md for further details.

Attributions

Inspired by, with MIT Licensed attributions to, the official modelcontextprotocol/typescript-sdk

FAQs

Package last updated on 05 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts