aws / aws/amazon-q-developer-cli

bug: My tool was not getting listed, Getting "Servers still loading"

Ouverte
#1,998 14 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
2k
Forks
439
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue

### Operating system

WIndows

### Expected behaviour

My tool should get listed,

I configured mcp.json as
`{
"mcpServers": {
"ConfusingCalculator": {
"command": "uv",
"args": ["run", "/mnt/c/WorkFolder/Sample/MCP/weather/weather.py"],
"transport": "stdio"
}
}
}`

And the server logs

`DEBUG:mcp.server.lowlevel.server:Initializing server 'ConfusingCalculator'
DEBUG:mcp.server.lowlevel.server:Registering handler for ListToolsRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for CallToolRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for ListResourcesRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for ReadResourceRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for PromptListRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for GetPromptRequest
DEBUG:mcp.server.lowlevel.server:Registering handler for ListResourceTemplatesRequest
INFO:__main__:Initializing MCP server...
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:__main__:Registered tools: [Tool(name='add', description='Multiply two numbers together.', inputSchema={'properties': {'a': {'title': 'A', 'type': 'integer'}, 'b': {'title': 'B', 'type': 'integer'}}, 'required': ['a', 'b'], 'title': 'addArguments', 'type': 'object'}, annotations=None)]
INFO:__main__:Starting MCP server with stdio transport...
INFO:__main__:MCP server started successfully
DEBUG:asyncio:Using selector: EpollSelector`

![Image](https://github.com/user-attachments/assets/2524fbea-b004-4a2a-8e48-1de8bc149561)

q version was

![Image](https://github.com/user-attachments/assets/c2f87c41-5824-4b1f-b7bb-d4e0a8acab38)

### Actual behaviour

My tool should get listed

### Steps to reproduce

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par la configuration mcp.json affichée et les journaux du serveur weather.py, puis reproduisez la configuration stdio sous Windows en vérifiant si ConfusingCalculator reste sur « Servers still loading. ». La tâche est terminée lorsque l’outil add configuré est correctement répertorié au lieu de rester indisponible.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.