@morphllm/morphmcp 0.8.31 → 0.8.32

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22,13 +22,13 @@ const args = process.argv.slice(2);
22
22
  // Only expose Morph-specific tools
23
23
  const ALL_TOOLS = [
24
24
  'edit_file',
25
- 'warp_grep',
25
+ 'warpgrep_codebase_search',
26
26
  'codebase_search'
27
27
  ];
28
- // Default to edit_file and warp_grep
28
+ // Default to edit_file and warpgrep_codebase_search
29
29
  const DEFAULT_TOOLS = [
30
30
  'edit_file',
31
- 'warp_grep'
31
+ 'warpgrep_codebase_search'
32
32
  ];
33
33
  // Parse ENABLED_TOOLS env var: comma-separated list or 'all'
34
34
  const ENABLED_TOOLS = process.env.ENABLED_TOOLS
@@ -510,7 +510,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
510
510
  requiresApiKey: true,
511
511
  },
512
512
  {
513
- name: "warp_grep",
513
+ name: "warpgrep_codebase_search",
514
514
  description: "ALWAYS use Warp Grep when you need to search a large chunk of code. " +
515
515
  "Warp Grep is a fast and accurate tool that can search for all relevant context in a codebase. " +
516
516
  "Warp Grep can be used for query types like: find function responsible for <small feature>; find code that does <description>; find code path for <big feature>; Where does <minimal error message> come from?; or any query of that type",
@@ -649,7 +649,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
649
649
  };
650
650
  }
651
651
  }
652
- case "warp_grep": {
652
+ case "warpgrep_codebase_search": {
653
653
  const parsed = WarpGrepArgsSchema.safeParse(args);
654
654
  if (!parsed.success) {
655
655
  return {
@@ -752,7 +752,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
752
752
  error_message: errorMessages,
753
753
  error_type: 'FileReadError',
754
754
  context: {
755
- tool: 'warp_grep',
755
+ tool: 'warpgrep_codebase_search',
756
756
  repo_path: parsed.data.repoPath,
757
757
  query: parsed.data.query,
758
758
  model: 'morph-warp-grep',
@@ -785,7 +785,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
785
785
  error_message: errorMessages,
786
786
  error_type: isTimeout ? 'TimeoutError' : (firstError?.constructor?.name || 'WarpGrepError'),
787
787
  context: {
788
- tool: 'warp_grep',
788
+ tool: 'warpgrep_codebase_search',
789
789
  repo_path: parsed.data.repoPath,
790
790
  query: parsed.data.query,
791
791
  model: 'morph-warp-grep',
@@ -826,7 +826,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
826
826
  error_message: errorMessage,
827
827
  error_type: isTimeout ? 'TimeoutError' : (error instanceof Error ? error.constructor.name : 'UnknownError'),
828
828
  context: {
829
- tool: 'warp_grep',
829
+ tool: 'warpgrep_codebase_search',
830
830
  repo_path: parsed.data.repoPath,
831
831
  query: parsed.data.query,
832
832
  model: 'morph-warp-grep',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morphllm/morphmcp",
3
- "version": "0.8.31",
3
+ "version": "0.8.32",
4
4
  "description": "Fast & accurate MCP server with AI-powered file editing and intelligent code search. Prevents context pollution and saves time for a better user experience.",
5
5
  "license": "MIT",
6
6
  "author": "Morph (https://morphllm.com)",