8000 How to connect to jetbrains AI Assistant · Issue #28 · upstash/context7 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to connect to jetbrains AI Assistant #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
henshayz opened this issue Apr 20, 2025 · 6 comments
Closed

How to connect to jetbrains AI Assistant #28

henshayz opened this issue Apr 20, 2025 · 6 comments
Labels
mcp Related to mcp server

Comments

@henshayz
Copy link

I'm trying to invoke the MCP server inside JetBrains ai assistant. I get the following error: MCP error -1: Connection closed.
Documentation

{
  "mcpServers": {
    "Context7": {
      "command": "npx.cmd",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    }
  }
}

I'm assuming maybe it's not supported if the mcp server works through stdio?
if so, I'll be happy to contribute, it will save me alot of copy paste ;)

@enesgules
Copy link
Collaborator

@enesakar
Copy link
Contributor

Hey @henshayz have you tried? can i close the ticket?

@Hen2609
Copy link
Hen2609 commented Apr 21, 2025

Hi, sorry for not responding, it didn't work for me. I also opened a ticket:
https://youtrack.jetbrains.com/issue/LLM-16551/Why-I-cant-use-Context7-MCP-inside-AI-Assistant

@enesgules enesgules added the mcp Related to mcp server label Apr 21, 2025
@yuyu1815
Copy link
yuyu1815 commented May 12, 2025

I followed the steps from the link below and it worked.
https://youtrack.jetbrains.com/issue/LLM-15477/Add-MCP-Server-Integration-for-JetBrains-AI-Assistant#:~:text=%40994872217%2C%20thank%20you%20for%20your%20feedback%20too

As for your server start problem. Server output should be shown after an error message when one clicks on the error status in the table. It's empty in your case. It might happen because our MCP client timeout exceeded. Could you please try to change it and check if it helps:

Press Shift+Shift to open "Search everywhere"
Type "Registry" to find an action with that name
Find 'llm.mcp.client.service.messages.timeout' key and increase its value.

{
  "mcpServers": {
    "Context7": {
      "command": "C:\\Program Files\\nodejs\\npx.cmd",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    }
  }
}

@enesgules
Copy link
Collaborator

Hey @henshayz @Hen2609 any updates?

@enesgules
Copy link
Collaborator

Closing this since the solution is found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mcp Related to mcp server
Projects
None yet
Development

No branches or pull requests

5 participants
0