Skip to content

project support#27

Open
Lewik wants to merge 1 commit intoJetBrains:masterfrom
Lewik:master
Open

project support#27
Lewik wants to merge 1 commit intoJetBrains:masterfrom
Lewik:master

Conversation

@Lewik
Copy link

@Lewik Lewik commented May 2, 2025

Seems this work for me on demo project. Will check it at work (I had issues with multiple projects/modules).

override fun execute(urlDecoder: QueryStringDecoder, request: FullHttpRequest, context: ChannelHandlerContext): String? {
val path = urlDecoder.path().split(serviceName).last().trimStart('/')
val project = getLastFocusedOrOpenedProject() ?: return null

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty line can be removed

@Serializable
object NoArgs

interface ProjectAware {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide a java doc for this interface? This is needed to better understand the meaning behind this interface

@Serializable
data class PropertySchema(
val type: String
val type: String,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this modification?

@hjed
Copy link

hjed commented May 19, 2025

Any update on this getting merged - probably the biggest impact issue with this MCP. As it prevents using multiple projects at once

@Lewik
Copy link
Author

Lewik commented May 19, 2025

@hjed you can fix =) (do you?)
Also please check it locally too

@hjed
Copy link

hjed commented May 20, 2025

Have the review comments done on a branch master...hjed:mcp-server-plugin:project-aware but haven't had chance to test more extensively

@hjed hjed mentioned this pull request May 20, 2025
@hjed
Copy link

hjed commented May 20, 2025

after testing have now raised an updated pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants