@koseha/api-mcp 0.0.6 → 0.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koseha/api-mcp",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "An API MCP based on Swagger docs",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/koseha/api-mcp#readme",
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export function registerAddTool(server) {
3
- server.registerTool("add", {
4
- title: "Addition Tool",
5
- description: "Add two numbers",
6
- inputSchema: { a: z.number(), b: z.number() },
7
- }, async ({ a, b }) => ({
8
- content: [{ type: "text", text: String(a + b) }],
9
- }));
10
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,5 +0,0 @@
1
- export function registerListEndpointsTool(server, endpoints) {
2
- server.tool("list_endpoints", "List all API endpoints", {}, async () => {
3
- return endpoints.map((e) => `${e.method} ${e.path}`);
4
- });
5
- }