Not able to list tools available in MCP server #742
Unanswered
mkjkec2005
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are trying to setup this MCP server with JIRA and Confluence server (Data center). Below are the commands to start the server and list available tools. but we are getting error as mentioned below. Could you please help?
MCP server start command:
docker run -i --rm -p 9000:9000
-e CONFLUENCE_URL="https://myconfluence.company.com"
-e CONFLUENCE_PERSONAL_TOKEN="OTc1NDE4Njjc5OidRAbUc3NQgzeC1oiteOtL+0RwI"
-e JIRA_URL="https://myjira.company.com"
-e JIRA_PERSONAL_TOKEN="NDg1ODUyODU4NDkplD/5G8C496iRUxNqCqv+YDa"
-e MCP_VERBOSE=true
-e MCP_VERY_VERBOSE=true
-e MCP_LOGGING_STDOUT=true
ghcr.io/sooperset/mcp-atlassian:latest
--transport streamable-http --port 9000 -vv --enabled-tools "confluence_search,jira_get_issue,jira_search"
Curl command to list available tools to validate the setup:
curl -X POST http://:9000/mcp/ -H "MCP-Session-ID: " -H "Content-Type: application/json" -H "Accept: application/json,text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
event: message
data: {"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"Invalid request parameters","data":""}}
Error in container:
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware.dispatch: ENTERED for request path='/mcp/', method='POST'
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware.dispatch: Comparing request_path='/mcp' with mcp_path='/mcp'. Request method='POST'
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware: Path='/mcp/', AuthHeader='Not Provided', ParsedToken(masked)='Not Provided', CloudId='None'
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware: No cloudId header provided, will use global config
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware: MCP-Session-ID header found: 307c73c4a4454cc182ecaa7096eef887
DEBUG - mcp-atlassian.server.main - No Authorization header provided for /mcp/. Will proceed with global/fallback server configuration if applicable.
DEBUG - mcp.server.streamable_http_manager - Session already exists, handling request directly
WARNING - root - Failed to validate request: Received request before initialization was complete
DEBUG - root - Message that failed validation: method='tools/list' params=None jsonrpc='2.0' id=1
DEBUG - mcp-atlassian.server.main - UserTokenMiddleware.dispatch: EXITED for request path='/mcp/'
INFO: 10.134.5.59:40444 - "POST /mcp/ HTTP/1.1" 200 OK
DEBUG - mcp.server.streamable_http - Closing SSE writer
DEBUG - sse_starlette.sse - chunk: b'event: message\r\ndata: {"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"Invalid request parameters","data":""}}\r\n\r\n'
Beta Was this translation helpful? Give feedback.
All reactions