mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
mcp file protocol fix
This commit is contained in:
@@ -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. =========
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": [
|
"args": [
|
||||||
"-y",
|
"-y",
|
||||||
"@wonderwhy-er/desktop-commander"
|
"@wonderwhy-er/desktop-commander",
|
||||||
|
"--force-file-protocol"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"playwright": {
|
"playwright": {
|
||||||
@@ -29,7 +29,7 @@ Environment Setup:
|
|||||||
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
|
npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
|
||||||
npx @wonderwhy-er/desktop-commander setup
|
npx @wonderwhy-er/desktop-commander setup
|
||||||
|
|
||||||
# Configure in owl/mcp_servers_config.json:
|
# Configure in owl/examples/mcp_servers_config.json:
|
||||||
{
|
{
|
||||||
"desktop-commander": {
|
"desktop-commander": {
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
@@ -165,9 +165,10 @@ async def main():
|
|||||||
await mcp_toolkit.connect()
|
await mcp_toolkit.connect()
|
||||||
|
|
||||||
question = (
|
question = (
|
||||||
"I'd like a academic report about Andrew Ng, including his research "
|
"I'd like a academic report about Andrew Ng, including "
|
||||||
"direction, published papers (At least 3), institutions, etc."
|
"his research direction, published papers (At least 3),"
|
||||||
"Then organize the report in Markdown format and save it to my desktop"
|
" institutions, etc.Then organize the report in Markdown "
|
||||||
|
"format and save it to my desktop"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Connect to all MCP toolkits
|
# Connect to all MCP toolkits
|
||||||
|
|||||||
Reference in New Issue
Block a user