SSyncDev

MCP Ts Morph MCP Server

ts-morph を利用した MCP リファクタリングサーバー

Local serverstdioTypeScript

What is the MCP Ts Morph MCP Server?

ts-morph を利用した MCP リファクタリングサーバー

What the server does

このパッケージは GitHub Actions ワークフロー(.github/workflows/release.yml)を介して npm に自動公開されます。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
rename_symbol_by_tsmorph
rename_filesystem_entry_by_tsmorph
find_references_by_tsmorph
remove_path_alias_by_tsmorph
move_symbol_to_file_by_tsmorph
change_signature_by_tsmorph
get_type_at_position_by_tsmorph
find_unused_exports_by_tsmorph

How to install the MCP Ts Morph MCP Server

{
  "mcpServers": {
    "mcp-tsmorph-refactor": {
      "command": "npx",
      "args": ["-y", "@sirosuzume/mcp-tsmorph-refactor"],
      "env": {}
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
LOG_LEVELConfiguration value read at startup.Optional
LOG_OUTPUTConfiguration value read at startup.Optional
LOG_FILE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use MCP Ts Morph to rename symbol by tsmorph.”
  • “Use MCP Ts Morph to rename filesystem entry by tsmorph.”
  • “Use MCP Ts Morph to find references by tsmorph.”

Frequently asked questions

ts-morph を利用した MCP リファクタリングサーバー Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.