@reus-able/frontend-helper-mcp 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
4
- import { ListPromptsRequestSchema, GetPromptRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema, ListToolsRequestSchema, CallToolRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
4
+ import { ListPromptsRequestSchema, GetPromptRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema, ListToolsRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
5
5
  import fs from 'fs/promises';
6
6
  import path from 'path';
7
7
  import { fileURLToPath } from 'url';
@@ -131,17 +131,6 @@ async function createServer(promptsDir) {
131
131
  mcpServer.server.setRequestHandler(ListToolsRequestSchema, async () => {
132
132
  return { tools: [] };
133
133
  });
134
- mcpServer.server.setRequestHandler(CallToolRequestSchema, async (request) => {
135
- return {
136
- content: [
137
- {
138
- type: 'text',
139
- text: `Tool not found: ${request.params.name}`,
140
- },
141
- ],
142
- isError: true,
143
- };
144
- });
145
134
  return mcpServer;
146
135
  }
147
136
  async function main() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "前端开发的一些cursor mcp工具集",
3
3
  "name": "@reus-able/frontend-helper-mcp",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },