-
Notifications
You must be signed in to change notification settings - Fork 841
examples: add mcp server for web_search web_crawl #585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Jeffrey Morgan <[email protected]>
3a67d27
to
1b393de
Compare
1b393de
to
533e823
Compare
|
||
- [web-search.py](web-search.py) | ||
|
||
#### MCP server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add a small note on what this example is for:
For tools that act as MCP clients (e.g. Cursor, example 2, example 3) web search can be accessed via an mcp server:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good two small comments
Co-authored-by: Jeffrey Morgan <[email protected]>
examples/README.md
Outdated
"type": "stdio", | ||
"command": "uv", | ||
"args": ["run", "path/to/ollama-python/examples/web-search-mcp.py"], | ||
"env": { "OLLAMA_API_KEY": "api-key" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to say this is "your_api_key_here" or similar
extra NLs in docs due to prettier