@phake/mcp 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # @phake/mcp
2
2
 
3
- [![npm](https://img.shields.io/npm/v/@phake/mcp)](https://www.npmjs.com/package/@phake/mcp)
4
-
5
3
  A TypeScript library for building MCP (Model Context Protocol) servers, designed to run on Cloudflare Workers and Node.js.
6
4
 
5
+ [![npm](https://img.shields.io/npm/v/@phake/mcp?style=flat-square)](https://www.npmjs.com/package/@phake/mcp)
6
+
7
7
  ## Features
8
8
 
9
9
  - **Multi-runtime support** - Deploy to Cloudflare Workers (itty-router) or Node.js (Hono)
@@ -35,9 +35,7 @@ const server = createMCPServer({
35
35
  ],
36
36
  });
37
37
 
38
- export default {
39
- fetch: (request: Request, env: unknown) => server.fetch(request, env),
40
- };
38
+ export default server;
41
39
  ```
42
40
 
43
41
  ### Node.js