Skip to content
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

BaseModel.__init__( #8

Open
WhatIsSpark opened this issue Mar 15, 2025 · 4 comments
Open

BaseModel.__init__( #8

WhatIsSpark opened this issue Mar 15, 2025 · 4 comments

Comments

@WhatIsSpark
Copy link

{
"content": [
{
"type": "text",
"text": "BaseModel.init() takes 1 positional argument but 3 were given"
}
],
"isError": true
}

when i try to use query function,something went wrong ,the response : "BaseModel.init() takes 1 positional argument but 3 were given"

@WhatIsSpark
Copy link
Author

python -V 3.12

@RamXX
Copy link
Owner

RamXX commented Mar 15, 2025

Are you building it or installing from pip/uv? if the later, you should update to 0.1.4 which fixes a breaking change in the API. Building it locally should just work also.

@WhatIsSpark
Copy link
Author

i use npx -y @modelcontextprotocol/inspector uv run search.py
uv --version
uv 0.6.6 (c1a0bb85e 2025-03-12)

@RamXX
Copy link
Owner

RamXX commented Mar 16, 2025

uv run search.py would not work on this project. There is no search.py here. Besides, you don't really need the inspector unless you're doing development on the server. In order to just use it:

  • Open a new terminal (clean)
  • pip install mcp-tavily -U . It will download and install the latest version.
  • Add it to Claude according to the README instructions.

If you still want to use the inspector:

  • Clone the repo
  • cd /your-path/to/mcp-tavily/src
  • npx -y @modelcontextprotocol/inspector uv run mcp_server_tavily

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants