Skip to content

Need help to integrate local mcp server with added collaborator client with copilot using intellij #142

@mohammedzahid-chaudhary

Description

I have cloned mcp server repository locally and added collaborator client in it. I have register one tools in my collaborator client. After that i built it using npm install and did npm run build. What should i do next to integrate it with copilot.
I am adding mcp.json file as below in Intellij.

{
"servers": {
"smartbear": {
"type": "stdio",
"command": "node",
"dev": { // <-- To allow debugging in VS Code
"watch": "dist/**/*.js",
"debug": {
"type": "node"
},
},
"args": ["/c/repo/smartbear-mcp/dist/index.js"],
"env": {
"BUGSNAG_AUTH_TOKEN": "${input:bugsnag_auth_token}",
"BUGSNAG_PROJECT_API_KEY": "${input:bugsnag_project_api_key}",
"REFLECT_API_TOKEN": "${input:reflect_api_token}",
"API_HUB_API_KEY": "${input:api_hub_api_key}",
"PACT_BROKER_BASE_URL": "${input:pact_broker_base_url}",
"PACT_BROKER_TOKEN": "${input:pact_broker_token}",
"PACT_BROKER_USERNAME": "${input:pact_broker_username}",
"PACT_BROKER_PASSWORD": "${input:pact_broker_password}",
"COLLAB_BASE_URL": "${input:collab_base_url}",
"COLLAB_USERNAME": "${input:collab_username}",
"COLLAB_LOGIN_TICKET": "${input:collab_login_ticket}"
}
}
},
"inputs": [
{
"id": "bugsnag_auth_token",
"type": "promptString",
"description": "BugSnag Auth Token - leave blank to disable BugSnag tools",
"password": true
},
{
"id": "bugsnag_project_api_key",
"type": "promptString",
"description": "BugSnag Project API Key - for single project interactions",
"password": false
},
{
"id": "reflect_api_token",
"type": "promptString",
"description": "Reflect API Token - leave blank to disable Reflect tools",
"password": true
},
{
"id": "api_hub_api_key",
"type": "promptString",
"description": "API Hub API Key - leave blank to disable API Hub tools",
"password": true
},
{
"id": "pact_broker_base_url",
"type": "promptString",
"description": "PactFlow or Pact Broker base url - leave blank to disable PactFlow tools",
"password": true
},
{
"id": "pact_broker_token",
"type": "promptString",
"description": "PactFlow Authentication Token",
"password": true
},
{
"id": "pact_broker_username",
"type": "promptString",
"description": "Pact Broker Username",
"password": true
},
{
"id": "pact_broker_password",
"type": "promptString",
"description": "Pact Broker Password",
"password": true
},
{
"id": "collab_base_url",
"type": "promptString",
"description": "Collab base url",
"password": true
},
{
"id": "collab_username",
"type": "promptString",
"description": "Collab username",
"password": true
},
{
"id": "collab_login_ticket",
"type": "promptString",
"description": "Collab login ticket",
"password": true
},
]
}

but in agent mode it is not creating or interacting with mcp.

Basically i want to see wether copilot is communicating with newly added collaborator client.

Can anyone help me with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions