mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #13] iterm firecrawl github arxiv mcp server not function well #11
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jincai on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/13
github
{
"error": "HTTP error! Status: 500. Message: Internal Server Error"
}
mcp.shared.exceptions.McpError: Invalid input: [{"code":"invalid_type","expected":"number","received":"null","path":["page"],"message":"Expected number, received null"},{"code":"invalid_type","expected":"number","received":"null","path":["perPage"],"message":"Expected number, received null"}]
iterm
[
"1 lines were output after sending the command to the terminal. Read the last 1 lines of terminal contents to orient yourself. Never assume that the command was executed or that it was successful."
]
INFO: 127.0.0.1:56345 - "OPTIONS /iterm/write_to_terminal HTTP/1.1" 200 OK
Calling write_to_terminal with arguments: {'command': 'ls ~/Desktop'}
INFO: 127.0.0.1:56345 - "POST /iterm/write_to_terminal HTTP/1.1" 200 OK
arxiv
[
"Error: Invalid date format - Parser must be a string or character stream, not NoneType"
]
mcp.shared.exceptions.McpError: Invalid input: [{"code":"invalid_type","expected":"number","received":"null","path":["page"],"message":"Expected number, received null"},{"code":"invalid_type","expected":"number","received":"null","path":["perPage"],"message":"Expected number, received null"}]
Calling search_papers with arguments: {'query': 'AI', 'max_results': 10, 'date_from': None, 'date_to': None, 'categories': ['cs.AI', 'cs.LG', 'cs.CL']}
INFO: 127.0.0.1:56772 - "POST /arxiv/search_papers HTTP/1.1" 200 OK
firecrawl
[
"Cannot read properties of undefined (reading 'status')"
]
[info] [2025-04-02T00:03:53.719Z] Received request for tool: firecrawl_scrape
[info] Starting scrape for URL: https://coinmarketcap.com/currencies/bitcoin/ with options: {"formats":["markdown"],"onlyMainContent":true,"includeTags":null,"excludeTags":null,"waitFor":null,"timeout":null,"actions":null,"extract":null,"mobile":null,"skipTlsVerification":null,"removeBase64Images":null,"location":null}
[info] Request completed in 5011ms
INFO: 127.0.0.1:56896 - "POST /firecrawl/firecrawl_scrape HTTP/1.1" 200 OK
@peanutsugarlove commented on GitHub (Apr 3, 2025):
You should have encountered the problem I encountered because your model did not provide all parameters, resulting in some types not matching and reporting errors.
i ask tool_endpoint_fetch_post What are the parameters
The
tool_endpoint_fetch_postfunction has the following parameters:url(required)stringmax_length(optional)integerstart_index(optional)integerraw(optional)booleantrue, the function will return the raw HTML content of the page without simplification. Default isfalse.Example Usage:
Because the model marks it as optional
Before solving this problem, it is best to ask the model to force all parameters to be output in the prompt words
The above is a definition of tool parameters, and the last parameter may not output
@tjbck commented on GitHub (Apr 3, 2025):
Most local models struggle with tool calls, I'd highly recommend using gpt-4o for tool use cases at least for testing purposes.