mcp file protocol fix

This commit is contained in:
Wendong 2025-03-16 02:55:30 +08:00
parent a7c4c06d4e
commit aa799d8230
3 changed files with 20 additions and 5 deletions

View File

@ -0,0 +1,13 @@
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========

View File

@ -4,7 +4,8 @@
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
"@wonderwhy-er/desktop-commander",
"--force-file-protocol"
]
},
"playwright": {

View File

@ -29,7 +29,7 @@ Environment Setup:
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
npx @wonderwhy-er/desktop-commander setup
# Configure in owl/mcp_servers_config.json:
# Configure in owl/examples/mcp_servers_config.json:
{
"desktop-commander": {
"command": "npx",
@ -165,9 +165,10 @@ async def main():
await mcp_toolkit.connect()
question = (
"I'd like a academic report about Andrew Ng, including his research "
"direction, published papers (At least 3), institutions, etc."
"Then organize the report in Markdown format and save it to my desktop"
"I'd like a academic report about Andrew Ng, including "
"his research direction, published papers (At least 3),"
" institutions, etc.Then organize the report in Markdown "
"format and save it to my desktop"
)
# Connect to all MCP toolkits