AssistAI - Eclipse IDE as an MCP Server for AI Agents 标志

AssistAI - Eclipse IDE as an MCP Server for AI Agents

社区
gradusnikov

Eclipse IDE as an MCP Server for AI Agents

发布者gradusnikov
代码仓库eclipse-chatgpt-plugin
语言Java
复刻数
81
星标数
170
可用工具
0
传输类型stdio, streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    AssistAI - Eclipse IDE as an MCP Server for AI Agents 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 170 个 Star 和 81 个 Fork。

AssistAI - Eclipse IDE as an MCP Server for AI Agents

AssistAI is an Eclipse IDE plugin that exposes your entire development environment as an MCP (Model Context Protocol) server. External AI agents -- Claude Code, OpenAI Codex, Claude Desktop, or any MCP-compatible client -- can read, navigate, edit, build, test, run, and debug your Java projects directly through Eclipse, preserving workspace sync, local history, and incremental compilation.

AssistAI also includes a built-in LLM chat view for quick inline interactions with any supported model.

Why MCP through Eclipse?

When AI agents edit files through the filesystem directly, Eclipse doesn't know anything changed. Editors show stale content, incremental compilation misses updates, and local history gaps appear.

AssistAI solves this by routing all operations through Eclipse APIs:

  • Edits go through JDT -- incremental compilation fires immediately, errors update in real time
  • Refactorings use Eclipse's refactoring engine -- renames, moves, and package restructures update all references across the workspace
  • File reads reflect the editor buffer -- agents always see the latest unsaved content, not the on-disk version
  • Local history is preserved -- every change is tracked, undoable through Eclipse's local history
  • Tests run inside Eclipse -- JUnit results, console output, and compilation errors are accessible as tool responses

Getting Started with External Agents

1. Enable the HTTP MCP Server

  1. Open Window > Preferences > Assist AI > HTTP MCP Server
  2. Check Enable HTTP MCP Server
  3. Set Hostname and Port (defaults: localhost:8124)
  4. Click Generate to create an authentication token
  5. Click Apply -- the server starts immediately

The status panel shows all available endpoints:

  • http://localhost:8124/mcp/eclipse-ide -- code analysis, navigation, search, testing, builds
  • http://localhost:8124/mcp/eclipse-coder -- file editing, refactoring, patching, formatting
  • http://localhost:8124/mcp/eclipse-runner -- launch, debug, breakpoints, stepping
  • http://localhost:8124/mcp/eclipse-context -- resource cache, file local history, version tracking
  • http://localhost:8124/mcp/eclipse-git -- git status, log, staging, commit, diff, branches, stash

2. Connect Your Agent

Claude Code

Add to your Claude Code MCP settings (~/.claude.json or project-level(.mcp.json in project root)):

json
{
  "mcpServers": {
    "eclipse-ide": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-ide",
        "--allow-http",
        "--header", "Authorization: Bearer YOUR_TOKEN"
      ]
    },
    "eclipse-coder": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-coder",
        "--allow-http",
        "--header", "Authorization: Bearer YOUR_TOKEN"
      ]
    },
    "eclipse-runner": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-runner",
        "--allow-http",
        "--header", "Authorization: Bearer YOUR_TOKEN"
      ]
    },
    "eclipse-git": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-git",
        "--allow-http",
        "--header", "Authorization: Bearer YOUR_TOKEN"
      ]
    }
  }
}

Github Copilot CLI

Add to your Github Copilot CLI MCP settings (~/.copilot/mcp-config.json):

json
{
  "mcpServers": {
    "eclipse-ide": {
      "type": "http",
      "url": "http://localhost:8124/mcp/eclipse-ide",
      "headers": {
        "Authorization": "YOUR_TOKEN"
      },
      "tools": ["*"]
    },
    "eclipse-coder": {
      "type": "http",
      "url": "http://localhost:8124/mcp/eclipse-coder",
      "headers": {
        "Authorization": "YOUR_TOKEN"
      },
      "tools": ["*"]
    },
    "eclipse-runner": {
      "type": "http",
      "url": "http://localhost:8124/mcp/eclipse-runner",
      "headers": {
        "Authorization": "YOUR_TOKEN"
      },
      "tools": ["*"]
    },
    "eclipse-context": {
      "type": "http",
      "url": "http://localhost:8124/mcp/eclipse-context",
      "headers": {
        "Authorization": "YOUR_TOKEN"
      },
      "tools": ["*"]
    },
    "eclipse-git": {
      "type": "http",
      "url": "http://localhost:8124/mcp/eclipse-git",
      "headers": {
        "Authorization": "YOUR_TOKEN"
      },
      "tools": ["*"]
    }
  }
}

On Windows with WSL, use "command": "wsl" and prepend "npx" to the args array.

Claude Desktop

Add to your Claude Desktop configuration file:

  • Windows: %APPDATA%\Roaming\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Use the same mcpServers format as above.

OpenAI Codex / Other MCP Clients

Any client that supports MCP over Streamable HTTP can connect directly to the endpoint URLs. Use the Authorization: Bearer <token> header for authentication.

3. What Agents Can Do

With the MCP tools, an external agent can:

  • Read and navigate code -- project layout, class outlines, method source, type hierarchies, call hierarchies, find references
  • Edit code -- create files, apply unified diffs, replace strings, delete lines, replace entire files
  • Refactor -- rename types/packages, move types, organize imports -- all through Eclipse's refactoring engine
  • Build and test -- run Maven builds, execute JUnit tests (all, by package, class, or method), read compilation errors, get quick-fix suggestions
  • Search -- text search, regex search, file glob search, search-and-replace across the workspace
  • Run and debug -- launch Java applications, set breakpoints (including conditional), step through code, inspect stack traces, evaluate expressions, hot-swap code
  • Access context -- read JavaDoc, console output, editor selection, effective POM, project dependencies
  • Inspect workspace images -- return raster resources as native MCP image content for vision-capable agents
  • Browse and restore file history -- list Local History versions, view old content, restore to any previous version, diff current vs. historical
  • Inspect the resource cache -- see what files/classes are loaded in the conversation context, read cached content without I/O
  • Manage Git repositories -- status, log, diff, stage, commit, branch, checkout, stash -- all through EGit, keeping Eclipse workspace in sync
  • Navigate large documents -- get the heading outline of a Markdown file, then fetch specific sections without loading the entire content

4. Guiding Agents with Eclipse Context

External agents don't know what you're looking at in Eclipse -- unless they ask. AssistAI provides MCP tools that let agents pick up context from your IDE session, so you can guide their work by simply opening files, selecting code, or running programs:

What you do in EclipseTool the agent callsWhat the agent sees
Open a file in the editorgetCurrentlyOpenedFileFull file content with path, project name, and line numbers
Select a code regiongetEditorSelectionSelected text with start/end line numbers and surrounding file context
Run or debug a programgetConsoleOutputRecent stdout/stderr from Eclipse console(s)
Have compilation errorsgetCompilationErrorsAll errors/warnings with file, line, and message
Open a specific classgetClassOutlineCompact structure -- fields, method signatures, line numbers

Workflow tip: When asking an agent to fix something, open the relevant file in Eclipse first, select the problem area, and tell the agent to check your selection. This gives the agent precise context without you having to describe file paths or paste code.

Token-efficient navigation: Instead of reading entire files, agents can use getClassOutline to see the structure (~30 lines for a 500-line class), then getMethodSource to read only the methods they need, or getFilteredSource to see the full file with irrelevant methods collapsed to one-line signatures. The readProjectResource tool supports excludeImports to further reduce token usage.

Workspace images: Vision-capable agents can call readImageResource(projectName, resourcePath) to receive an image as native MCP ImageContent instead of base64 text. The tool supports PNG, JPEG, GIF, BMP, TIFF, and ICO resources up to 20 MiB, and enforces the same .aiignore/.noai access rules as text reads. For example: readImageResource(projectName="my-project", resourcePath="docs/architecture.png").

Resource cache: Files and classes read through Eclipse MCP tools are automatically cached with version tracking and file modification timestamps (tied to Eclipse's Local History). Agents can call listCachedResources to see what's already loaded, or getCachedResource to re-read cached content instantly -- no disk I/O, no re-parsing.

Local History: Eclipse automatically maintains a Local History for every file modified through the IDE. Agents can browse past versions (getFileHistory), read historical content (getFileHistoryContent), compare with the current version (compareWithHistory), or restore to any previous state (restoreFileVersion). This is more powerful than a simple undo -- it preserves every edit across the entire session, including changes made by the agent itself.

MCP Tool Reference

eclipse-coder -- Code Editing

ToolDescription
createFileCreates a new file, adds it to the project, and opens it in the editor
insertIntoFileInserts content at a specific position in an existing file
replaceStringReplaces a specific string in a file, optionally within a line range
applyPatchAtomically applies a validated unified diff, preserves line endings, supports multi-hunk edits, creates an undo backup, and reveals the first changed line
formatFileFormats a file using its registered Eclipse editor formatter (Java, XML, JSON, HTML, SQL, and other supported editors)
undoEditRestores a file from its backup (undo last edit)
createDirectoriesCreates a directory structure recursively
renameFileRenames a file in a project
deleteFileDeletes a file from a project
replaceFileContentReplaces the entire content of a file
deleteLinesInFileDeletes a range of lines (1-based indexing)
refactorRenameJavaTypeRenames a Java type using Eclipse's refactoring, updating all references
refactorRenameJavaElementRenames the method, field, local, parameter, type parameter or type at a line and column, updating all references
refactorExtractTypeToNewFileExtracts a nested Java type to a new top-level Java file using Eclipse's refactoring
refactorMoveJavaTypeMoves a Java type to a different package, updating all references
refactorRenamePackageRenames a package, updating all declarations and references
moveResourceMoves a file or folder to a different location
organizeImportsRemoves unused imports and sorts existing imports; does not add missing imports
organizeImportsInPackageRemoves unused imports and sorts existing imports across a package

Direct file-editing tools complete a workspace synchronization barrier before returning: the content is saved, the resource is refreshed, pending workspace notifications are checkpointed, cached content is updated, Java compilation units are made consistent, and the editor reveals the changed line. Their response includes the synchronization state and resulting modification stamp. Multi-file operations reveal the primary or first changed file.

eclipse-ide -- Code Analysis, Navigation & Build

ToolDescription
getSourceSource of a workspace or referenced-library class; prefers attached source JARs and decompiles binaries when source is unavailable
explainTypeResolutionExplain how a type resolves in a specific project's JDT classpath: source/binary origin, root, entry, attachment, class file, and source/decompilation strategy
getClassOutlineCompact class outline -- declarations and method signatures (no bodies) with line numbers and each member's Javadoc summary
getMethodSourceSource of specific methods by name, with overload disambiguation
getFilteredSourceFull source with non-selected methods collapsed to signatures
readProjectResourceRead a text resource, with optional import block collapsing
readImageResourceReturn a workspace image as native MCP ImageContent (PNG, JPEG, GIF, BMP, TIFF, or ICO; maximum 20 MiB)
getJavaDocRendered JavaDoc of a type and its members, inherited text included
formatCodeFormat code using Eclipse formatter settings
getProjectPropertiesProject properties and configuration
getProjectLayoutFile/folder structure with scopePath and maxDepth support
listProjectsAll workspace projects with detected natures
listMavenProjectsAll Maven projects in the workspace
getCurrentlyOpenedFileCurrently active file in the editor
getEditorSelectionSelected text or lines in the active editor
getConsoleOutputRecent Eclipse console output
getMethodCallHierarchyCall hierarchy (callers) for a method
getTypeHierarchyType hierarchy (supertypes, interfaces, subtypes)
findReferencesAll references to a type, method, or field across the workspace
getCompilationErrorsCompilation errors from the workspace or a project
getQuickFixesAvailable quick fixes for compilation errors
getImportSuggestionsImport candidates for unresolved types
fileSearchSubstring search in workspace files
fileSearchRegExpRegex search in workspace files
findFilesGlob pattern file search
searchAndReplaceSearch and replace across multiple files
runAllTestsRun all tests in a project
runPackageTestsRun tests in a specific package
runClassTestsRun tests for a specific class
runTestMethodRun a specific test method
findTestClassesClassify plain JUnit and *PDETest harness tests; warns about likely PDE-dependent tests that violate the naming convention
runMavenBuildRun a Maven build the way Run As > Maven build does, with the full Maven log in the console; reports exit code, [ERROR] lines and the log tail
getEffectivePomEffective POM for a Maven project
getProjectDependenciesMaven project dependencies
getMarkdownOutlineHeading structure (TOC) of a Markdown file with line numbers and section sizes
getMarkdownSectionRead a specific section from a Markdown file by heading name or index

eclipse-runner -- Launch, Debug & Breakpoints

ToolDescription
runJavaApplicationLaunch in run mode with optional arguments and timeout
debugJavaApplicationLaunch in debug mode, stops at breakpoints
launchConfigurationLaunch an existing saved launch configuration by name (reuses its classpath, VM args, env, working dir, JRebel, etc.) in run or debug mode
listLaunchConfigurationsList saved launch configurations (name, type, project, main class)
stopApplicationStop a running/debugging application
listActiveLaunchesList all running/debugging applications
toggleBreakpointSet or remove a line breakpoint
setConditionalBreakpointBreakpoint with condition expression and optional hit count
listBreakpointsList all breakpoints with status and conditions
removeAllBreakpointsRemove all breakpoints
getStackTraceStack trace of all threads with local variables
evaluateExpressionEvaluate a Java expression in a suspended debug frame
resumeDebugResume execution of a suspended session
stepOverStep over the current line
stepIntoStep into the method call
stepReturnStep out of the current method
hotCodeReplacePush code changes into a running debug session without restarting

eclipse-context -- Resource Cache & Local History

ToolDescription
listCachedResourcesLists all resources in the conversation cache -- URIs, types, versions, timestamps, token estimates
getCachedResourceGets cached resource content by URI without disk I/O
getCacheStatsCache statistics: resource count, token usage, limits
getFileHistoryLists Local History versions of a file with timestamps and sizes
getFileHistoryContentReads the content of a specific Local History version
restoreFileVersionRestores a file to a specific Local History version
compareWithHistoryShows a unified diff between current content and a historical version

eclipse-git -- Git Operations (EGit)

ToolDescription
gitStatusWorking tree status -- staged, unstaged, untracked files, branch tracking info
gitLogCommit history from any revision, optionally only the commits touching given project-relative paths
gitShowOne commit with its parents and the diff it introduced, per file and as a unified diff
gitReadFileRead a UTF-8 text file from HEAD, a branch/tag/commit, or the staged INDEX without changing the working tree
gitDiffUnified diff of unstaged or staged changes, or between two revisions, with optional project-relative path filters and whitespace-insensitive comparison
gitAddStage project-relative files or folders (comma-separated; '.' for the whole project)
gitStagePatchStage selected unified-diff hunks directly into the index without changing the working tree
gitCommitCommit staged changes; optionally stage every tracked change first (-a) or amend the previous commit
gitResetUnstage project-relative files from the index
gitDiscardChangesRestore tracked files from the index, dropping their uncommitted modifications
gitResetToRevisionMove the branch to a revision (soft, mixed or hard) -- undo commits, or abandon a conflicted merge
gitBranchList branches (local or including remote)
gitCreateBranchCreate a new branch from HEAD or a specified start point
gitDeleteBranchDelete a branch (with optional force)
gitCheckoutSwitch to a branch
gitMergeMerge a branch, tag or commit; reports fast-forward, merge commit, squash, conflicts or blocking local changes as structured fields
gitRebaseRebase onto an upstream and drive it through conflicts with CONTINUE, SKIP or ABORT
gitCherryPickApply existing commits to the current branch as new commits
gitRevertUndo existing commits with new reverse commits
gitTag / gitTagList / gitDeleteTagCreate (lightweight or annotated), list and delete tags
gitStashStash working directory changes
gitStashPopApply and drop the most recent stash
gitStashListList all stash entries
gitRemoteListList remotes with their fetch and push URLs
gitFetchFetch from a remote and report every remote-tracking ref that moved
gitPullFetch and merge, or rebase onto, the upstream; conflicts and blocking changes are reported as files
gitPushPush a branch, optionally recording it as upstream or forcing; a rejection names the remedy

eclipse-pde -- Plug-in Development

ToolDescription
getActiveTargetShow the active PDE target platform
setActiveTargetLoad and activate a target definition
reloadTargetReload the active target after its contents change
runJUnitPluginTestsRun a plug-in project's tests in the PDE harness
runJUnitPluginTestClassRun one *PDETest class in the PDE harness
runJUnitPluginTestClassesRun selected *PDETest classes in one PDE launch, avoiding repeated workbench startup
restartMcpServersRebuild HTTP MCP servers after a safe delay so the current response can finish
reloadWorkspaceBundleUpdate an OSGi bundle only when backed by an open workspace project; system, fragment, and installed-only bundles are rejected

Tests that use Eclipse workspace, JDT, UI, platform, or OSGi runtime services must follow the *PDETest.java naming convention so test discovery runs them in the PDE harness.

Utility Servers

ServerToolDescription
duck-duck-searchwebSearchWeb search via DuckDuckGo
memorythinkScratchpad for reasoning without side effects
webpage-readerreadWebPageFetch a web page and return it as markdown
timecurrentTimeCurrent date and time
timeconvertTimeZoneConvert time between time zones

Configuration

Per-Server Tool Filtering

Each MCP server can have individual tools enabled or disabled to reduce token overhead or exclude irrelevant tools.

  1. Navigate to Window > Preferences > Assist AI > MCP Servers
  2. Select a server (works for both built-in and user-defined)
  3. In the Tools section, uncheck tools you want to exclude

Changes take effect immediately -- both the internal MCP client and the HTTP server restart automatically. Excluded tools won't appear in tools/list responses.

Adding External MCP Servers

AssistAI is also an MCP client -- you can connect external MCP servers (stdio-based) and use their tools through any of the supported LLMs.

  1. Open Window > Preferences > Assist AI > MCP Servers and click Add
  2. Configure the server:
    Name: server-filesystem
    Command: npx -y @modelcontextprotocol/server-filesystem ${workspace_loc}
  3. Define environment variables if needed (e.g., API keys)

The ${workspace_loc} variable resolves to the workspace folder. Other Eclipse variables are available (${project_loc}, etc.).

Security: MCP servers grant LLMs access to read and modify data. Use them cautiously.

HTTP MCP Server Security

  • Local network only by default -- only expose externally if necessary
  • Authentication token -- always use one when exposing beyond localhost
  • Firewall rules -- allow connections only from trusted sources
  • HTTPS -- consider a reverse proxy with TLS for production use
  • Access control -- connected agents have access to all tools on enabled endpoints

AI File Access Control (.aiignore)

AssistAI enforces file-level access restrictions so that sensitive files are never sent to AI models -- whether through the built-in chat or external MCP clients. The AiIgnoreService uses .gitignore-style pattern matching (powered by JGit) to determine which files are excluded.

Per-Project Rules

Place a .aiignore file in the root of any Eclipse project. The syntax follows .gitignore conventions:

# Exclude private keys and certificates
*.pem
*.key

# Exclude secrets directory
secret/

# Exclude all .env files
.env*

# Exclude all properties except application.properties
*.properties
!application.properties

# Exclude credentials anywhere in the tree
**/credentials.json

Disabling AI for an Entire Project

Create an empty .noai file in the project root. When present, all AI access to the project is denied — no pattern matching is performed.

Supported File Names

The service checks for ignore files in this order:

  1. The filename configured in preferences (default: .aiignore)
  2. .aiignore (fallback if a different name is configured)
  3. .aiexclude (legacy fallback)

Pattern Syntax

PatternMatches
*.pemAll .pem files
secret/The secret directory (not a file named secret)
.env*.env, .env.local, .env.production
!fileNegation - re-includes a previously excluded file
**/namename at any directory depth
path/to/dir/A specific directory path

Rules are evaluated in order; the last matching rule wins. Negation patterns (!) can override earlier excludes.

Behavior

  • Rules are cached per project and automatically reloaded when .aiignore or .noai files change
  • Excluded files cause MCP tools to throw an AiAccessDeniedException with a descriptive message
  • Global patterns from preferences are prepended to per-project rules

Built-in Chat View

AssistAI includes a built-in LLM chat panel for direct interaction without external agents. Open it via Window > Show View > Other > Code Assist AI > AssistAI Chat.

Features:

  • Refactor, document, or generate tests for selected code via context menu
  • Fix compilation errors with LLM guidance
  • Discuss code with full file context
  • Generate git commit messages from staged changes
  • Drag-and-drop images for vision model discussions
  • Display images returned by MCP tools as chat attachments
  • LaTeX and table rendering in responses
  • In-text code completion with Alt+/
  • Smart resource caching -- LLM always sees the latest version of attached files
  • Customizable pre-defined prompts
  • Switch between models on the fly

Supported Models

ProviderProtocolSample ModelsMCP / ToolsVision
OpenAIOpenAI APIgpt-5YesYes
AnthropicClaude APIclaude-sonnet-4-5-20250929YesYes
GoogleGemini APIgemini-2.5-flash, gemini-3-pro-previewYesYes
GrokGrok APIgrok-4, grok-code-fastYesYes
GroqOpenAI APIqwen-qwq-32b, llama3-70b-8192YesYes
DeepSeekDeepSeek APIdeepseek-chatYesNo
Local/Self-hostedOpenAI APIOllama, LM Studio, etc.VariesVaries
Other 3rd partyOpenAI APITogether.ai, Anyscale, etc.VariesVaries

Configure models in Window > Preferences > Assist AI > Models.

Screenshots

  1. claude-code controlling the Eclipse IDE via MCP

    Eclipse MCP

  2. Agentic coding with Eclipse MCP tools

    Eclipse Coder

  3. Discussing code in the built-in chat

    Discuss

  4. Refactoring selected code

    Refactor

  5. Generating documentation

    Document

  6. Generating JUnit tests

    JUnit Test Generation

  7. Git commit message generation

    Git Commit Message

  8. Fixing compilation errors with patches

    Fix Errors

  9. Tool calls for context-aware answers

    Function calling

  10. Vision model -- discuss images

Vision

  1. LaTeX and table rendering

  2. Configuring MCP servers

    MCP

Installation

Eclipse Marketplace

Drag the button below into your running Eclipse workspace:

Update Site

  1. In Eclipse, open Help > Install New Software
  2. Click Add, enter AssistAI as Name and https://gradusnikov.github.io/eclipse-chatgpt-plugin/ as Location
  3. Select "Assist AI" from the plugin list and proceed through the wizard
  4. Accept certificate warnings (self-signed plugin)

Initial Setup

  1. Open Window > Preferences > Assist AI
  2. Configure your models in Preferences > Assist AI > Models
  3. To use with external agents, enable the HTTP MCP Server (see above)

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "gradusnikov-eclipse-chatgpt-plugin": {
      "command": "",
      "args": []
    }
  }
}

将 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 AssistAI - Eclipse IDE as an MCP Server for AI Agents 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 AssistAI - Eclipse IDE as an MCP Server for AI Agents 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "gradusnikov-eclipse-chatgpt-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "eclipse-chatgpt-plugin"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 帮我完成这项任务吗?
AssistAI - Eclipse IDE as an MCP Server for AI Agents
当然。我已阅读。
以下是我使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 AssistAI - Eclipse IDE as an MCP Server for AI Agents 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 AssistAI - Eclipse IDE as an MCP Server for AI Agents 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 AssistAI - Eclipse IDE as an MCP Server for AI Agents 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 帮我完成这项任务吗?
AssistAI - Eclipse IDE as an MCP Server for AI Agents
当然。我已阅读。
以下是我使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents 得到的结果。

常见问题

AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 服务器有什么用途?

AssistAI - Eclipse IDE as an MCP Server for AI Agents 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 AssistAI - Eclipse IDE as an MCP Server for AI Agents 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 连接到 TypingMind?

您可以通过本地 MCP 连接器,或添加远程 MCP 服务器 URL,在 TypingMind 中连接 AssistAI - Eclipse IDE as an MCP Server for AI Agents。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;当 MCP 服务器托管在远程时,请使用服务器 URL。

AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 在 TypingMind 中提供哪些工具?

AssistAI - Eclipse IDE as an MCP Server for AI Agents 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 AssistAI - Eclipse IDE as an MCP Server for AI Agents MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 AssistAI - Eclipse IDE as an MCP Server for AI Agents 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇