-
Notifications
You must be signed in to change notification settings - Fork 301
Open
Description
From the issue #195, mcp-cli can now answer a question with a config file for a local HTTP MCP sever without OAuth support, thank you.
But an issue still persist, mcp-cli is still searching for .well-known/oauth-authorization-server endpoint.
Here is my server_config.json:
{
"mcpServers": {
"MyMcpServer": {
"type": "streamable-http",
"url":"http://localhost:5000"
}
}
}And the result from mcp-cli:
mcp-cli cmd --model "mistral:latest" --prompt "What color is the sky?" --config-file .\server_config.json
✓ MCP CLI ready
ℹ Available commands: chat, cmd, models, ping, prompts, provider, providers, resources, servers, theme, token, tokens, tools
Use --help to see all options
ERROR MCP OAuth authentication failed for MyMcpServer: Client error '404 Not Found' for url 'http://localhost:5000/.well-known/oauth-authorization-server'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
ERROR Error during MCP initialization: JSON-RPC Error: HTTP 404: (code: -32603)
ℹ Processing with ollama/mistral:latest...
The color of the sky can vary depending on the time of day, weather conditions, and location. Generally, during a clear sunny day, people often describe the sky as blue. However, at dawn or dusk, it can appear red, pink, orange, purple, or yellow. On an overcast day, the sky may appear gray.
ERROR Task was destroyed but it is pending!
task: <Task pending name='Task-8' coro=<StreamableHTTPTransport._outgoing_message_handler() running at C:\Users\EnzoJuhel\AppData\Roaming\uv\tools\mcp-cli\Lib\site-packages\chuk_mcp\transports\http\transport.py:120> wait_for=<Future pending cb=[Task.task_wakeup()]>>
ERROR Cancelling an overlapped future failed
future: <_OverlappedFuture pending cb=[_ProactorReadPipeTransport._loop_reading()]>
Traceback (most recent call last):
File "C:\Users\EnzoJuhel\AppData\Roaming\uv\python\cpython-3.13.7-windows-x86_64-none\Lib\asyncio\windows_events.py", line 72, in _cancel_overlapped
OSError: [WinError 6] Descripteur non valide
Metadata
Metadata
Assignees
Labels
No labels