mcp-use 1.3.9__py3-none-any.whl → 1.3.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mcp-use might be problematic. Click here for more details.

@@ -20,15 +20,39 @@ elif not os.getenv("LANGFUSE_PUBLIC_KEY") or not os.getenv("LANGFUSE_SECRET_KEY"
20
20
  else:
21
21
  try:
22
22
  from langfuse import Langfuse
23
- from langfuse.langchain import CallbackHandler
23
+ from langfuse.langchain import CallbackHandler as LangfuseCallbackHandler
24
+
25
+ # Create a custom CallbackHandler wrapper to add logging
26
+ class LoggingCallbackHandler(LangfuseCallbackHandler):
27
+ """Custom Langfuse CallbackHandler that logs intercepted requests."""
28
+
29
+ def on_llm_start(self, *args, **kwargs):
30
+ """Log when an LLM request is intercepted."""
31
+ logger.debug(f"Langfuse: LLM start args: {args}, kwargs: {kwargs}")
32
+ return super().on_llm_start(*args, **kwargs)
33
+
34
+ def on_chain_start(self, *args, **kwargs):
35
+ """Log when a chain request is intercepted."""
36
+ logger.debug(f"Langfuse: Chain start args: {args}, kwargs: {kwargs}")
37
+ return super().on_chain_start(*args, **kwargs)
38
+
39
+ def on_tool_start(self, *args, **kwargs):
40
+ """Log when a tool request is intercepted."""
41
+ logger.debug(f"Langfuse: Tool start args: {args}, kwargs: {kwargs}")
42
+ return super().on_tool_start(*args, **kwargs)
43
+
44
+ def on_retriever_start(self, *args, **kwargs):
45
+ """Log when a retriever request is intercepted."""
46
+ logger.debug(f"Langfuse: Retriever start args: {args}, kwargs: {kwargs}")
47
+ return super().on_retriever_start(*args, **kwargs)
24
48
 
25
49
  langfuse = Langfuse(
26
50
  public_key=os.getenv("LANGFUSE_PUBLIC_KEY"),
27
51
  secret_key=os.getenv("LANGFUSE_SECRET_KEY"),
28
52
  host=os.getenv("LANGFUSE_HOST", "https://cloud.langfuse.com"),
29
53
  )
30
- langfuse_handler = CallbackHandler()
31
- logger.debug("Langfuse observability initialized successfully")
54
+ langfuse_handler = LoggingCallbackHandler()
55
+ logger.debug("Langfuse observability initialized successfully with logging enabled")
32
56
  except ImportError:
33
57
  logger.debug("Langfuse package not installed - tracing disabled. Install with: pip install langfuse")
34
58
  langfuse = None
@@ -22,13 +22,14 @@ class ConnectionManager(Generic[T], ABC):
22
22
  used with MCP connectors.
23
23
  """
24
24
 
25
- def __init__(self):
25
+ def __init__(self) -> None:
26
26
  """Initialize a new connection manager."""
27
27
  self._ready_event = asyncio.Event()
28
28
  self._done_event = asyncio.Event()
29
+ self._stop_event = asyncio.Event()
29
30
  self._exception: Exception | None = None
30
31
  self._connection: T | None = None
31
- self._task: asyncio.Task | None = None
32
+ self._task: asyncio.Task[None] | None = None
32
33
 
33
34
  @abstractmethod
34
35
  async def _establish_connection(self) -> T:
@@ -86,20 +87,15 @@ class ConnectionManager(Generic[T], ABC):
86
87
 
87
88
  async def stop(self) -> None:
88
89
  """Stop the connection manager and close the connection."""
90
+ # Signal stop to the connection task instead of cancelling it, avoids
91
+ # propagating CancelledError to unrelated tasks.
89
92
  if self._task and not self._task.done():
90
- # Cancel the task
91
- logger.debug(f"Cancelling {self.__class__.__name__} task")
92
- self._task.cancel()
93
-
94
- # Wait for it to complete
95
- try:
96
- await self._task
97
- except asyncio.CancelledError:
98
- logger.debug(f"{self.__class__.__name__} task cancelled successfully")
99
- except Exception as e:
100
- logger.warning(f"Error stopping {self.__class__.__name__} task: {e}")
101
-
102
- # Wait for the connection to be done
93
+ logger.debug(f"Signaling stop to {self.__class__.__name__} task")
94
+ self._stop_event.set()
95
+ # Wait for it to finish gracefully
96
+ await self._task
97
+
98
+ # Ensure cleanup completed
103
99
  await self._done_event.wait()
104
100
  logger.debug(f"{self.__class__.__name__} task completed")
105
101
 
@@ -125,14 +121,8 @@ class ConnectionManager(Generic[T], ABC):
125
121
  # Signal that the connection is ready
126
122
  self._ready_event.set()
127
123
 
128
- # Wait indefinitely until cancelled
129
- try:
130
- # This keeps the connection open until cancelled
131
- await asyncio.Event().wait()
132
- except asyncio.CancelledError:
133
- # Expected when stopping
134
- logger.debug(f"{self.__class__.__name__} task received cancellation")
135
- pass
124
+ # Wait until stop is requested
125
+ await self._stop_event.wait()
136
126
 
137
127
  except Exception as e:
138
128
  # Store the exception
@@ -7,6 +7,7 @@ that ensures proper task isolation and resource cleanup.
7
7
 
8
8
  from typing import Any
9
9
 
10
+ import httpx
10
11
  from mcp.client.sse import sse_client
11
12
 
12
13
  from ..logging import logger
@@ -27,6 +28,7 @@ class SseConnectionManager(ConnectionManager[tuple[Any, Any]]):
27
28
  headers: dict[str, str] | None = None,
28
29
  timeout: float = 5,
29
30
  sse_read_timeout: float = 60 * 5,
31
+ auth: httpx.Auth | None = None,
30
32
  ):
31
33
  """Initialize a new SSE connection manager.
32
34
 
@@ -35,12 +37,14 @@ class SseConnectionManager(ConnectionManager[tuple[Any, Any]]):
35
37
  headers: Optional HTTP headers
36
38
  timeout: Timeout for HTTP operations in seconds
37
39
  sse_read_timeout: Timeout for SSE read operations in seconds
40
+ auth: Optional httpx.Auth instance for authentication
38
41
  """
39
42
  super().__init__()
40
43
  self.url = url
41
44
  self.headers = headers or {}
42
45
  self.timeout = timeout
43
46
  self.sse_read_timeout = sse_read_timeout
47
+ self.auth = auth
44
48
  self._sse_ctx = None
45
49
 
46
50
  async def _establish_connection(self) -> tuple[Any, Any]:
@@ -58,6 +62,7 @@ class SseConnectionManager(ConnectionManager[tuple[Any, Any]]):
58
62
  headers=self.headers,
59
63
  timeout=self.timeout,
60
64
  sse_read_timeout=self.sse_read_timeout,
65
+ auth=self.auth,
61
66
  )
62
67
 
63
68
  # Enter the context manager
@@ -8,6 +8,7 @@ that ensures proper task isolation and resource cleanup.
8
8
  from datetime import timedelta
9
9
  from typing import Any
10
10
 
11
+ import httpx
11
12
  from mcp.client.streamable_http import streamablehttp_client
12
13
 
13
14
  from ..logging import logger
@@ -28,6 +29,7 @@ class StreamableHttpConnectionManager(ConnectionManager[tuple[Any, Any]]):
28
29
  headers: dict[str, str] | None = None,
29
30
  timeout: float = 5,
30
31
  read_timeout: float = 60 * 5,
32
+ auth: httpx.Auth | None = None,
31
33
  ):
32
34
  """Initialize a new streamable HTTP connection manager.
33
35
 
@@ -36,12 +38,14 @@ class StreamableHttpConnectionManager(ConnectionManager[tuple[Any, Any]]):
36
38
  headers: Optional HTTP headers
37
39
  timeout: Timeout for HTTP operations in seconds
38
40
  read_timeout: Timeout for HTTP read operations in seconds
41
+ auth: Optional httpx.Auth instance for authentication
39
42
  """
40
43
  super().__init__()
41
44
  self.url = url
42
45
  self.headers = headers or {}
43
46
  self.timeout = timedelta(seconds=timeout)
44
47
  self.read_timeout = timedelta(seconds=read_timeout)
48
+ self.auth = auth
45
49
  self._http_ctx = None
46
50
 
47
51
  async def _establish_connection(self) -> tuple[Any, Any]:
@@ -59,6 +63,7 @@ class StreamableHttpConnectionManager(ConnectionManager[tuple[Any, Any]]):
59
63
  headers=self.headers,
60
64
  timeout=self.timeout,
61
65
  sse_read_timeout=self.read_timeout,
66
+ auth=self.auth,
62
67
  )
63
68
 
64
69
  # Enter the context manager. Ignoring the session id callback
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-use
3
- Version: 1.3.9
3
+ Version: 1.3.11
4
4
  Summary: MCP Library for LLMs
5
5
  Author-email: Pietro Zullo <pietro.zullo@gmail.com>
6
6
  License: MIT
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
16
  Requires-Python: >=3.11
17
17
  Requires-Dist: aiohttp>=3.9.0
18
+ Requires-Dist: authlib>=1.6.3
18
19
  Requires-Dist: jsonschema-pydantic>=0.1.0
19
20
  Requires-Dist: langchain>=0.1.0
20
21
  Requires-Dist: mcp>=1.10.0
@@ -22,7 +23,7 @@ Requires-Dist: posthog>=4.8.0
22
23
  Requires-Dist: pydantic>=2.0.0
23
24
  Requires-Dist: python-dotenv>=1.0.0
24
25
  Requires-Dist: scarf-sdk>=0.1.0
25
- Requires-Dist: websockets>=12.0
26
+ Requires-Dist: websockets>=15.0
26
27
  Provides-Extra: anthropic
27
28
  Requires-Dist: langchain-anthropic; extra == 'anthropic'
28
29
  Provides-Extra: dev
@@ -52,13 +53,8 @@ Description-Content-Type: text/markdown
52
53
  </picture>
53
54
  </div>
54
55
 
55
- <br>
56
56
 
57
- # Create MCP Clients and Agents
58
-
59
- <p align="center">
60
- <a href="https://www.producthunt.com/products/mcp-use?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-mcp&#0045;use" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1002629&theme=neutral&t=1754609432704" alt="mcp&#0045;use - Open&#0032;source&#0032;SDK&#0032;and&#0032;infra&#0032;for&#0032;MCP&#0032;servers&#0032;&#0038;&#0032;agents | Product Hunt" style="width: 150px; height: 32px;" width="150" height="32" /></a>
61
- </p>
57
+ <h1 align="center">🚀 Create MCP Clients and Agents</h1>
62
58
  <p align="center">
63
59
  <a href="https://github.com/pietrozullo/mcp-use/stargazers" alt="GitHub stars">
64
60
  <img src="https://img.shields.io/github/stars/pietrozullo/mcp-use?style=social" /></a>
@@ -95,7 +91,7 @@ Description-Content-Type: text/markdown
95
91
 
96
92
  | Supports | |
97
93
  | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
98
- | **Primitives** | [![Tools](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-tools&label=Tools&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Resources](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-resources&label=Resources&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Prompts](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-prompts&label=Prompts&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Sampling](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-sampling&label=Sampling&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Elicitation](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-elicitation&label=Elicitation&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) |
94
+ | **Primitives** | [![Tools](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-tools&label=Tools&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Resources](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-resources&label=Resources&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Prompts](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-prompts&label=Prompts&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Sampling](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-sampling&label=Sampling&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Elicitation](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-elicitation&label=Elicitation&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Authentication](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=primitive-authentication&label=Authentication&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) |
99
95
  | **Transports** | [![Stdio](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=transport-stdio&label=Stdio&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![SSE](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=transport-sse&label=SSE&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) [![Streamable HTTP](https://img.shields.io/github/actions/workflow/status/pietrozullo/mcp-use/tests.yml?job=transport-streamableHttp&label=Streamable%20HTTP&style=flat)](https://github.com/pietrozullo/mcp-use/actions/workflows/tests.yml) |
100
96
 
101
97
  ## Features
@@ -154,7 +150,7 @@ pip install mcp-use
154
150
  Or install from source:
155
151
 
156
152
  ```bash
157
- git clone https://github.com/pietrozullo/mcp-use.git
153
+ git clone https://github.com/mcp-use/mcp-use.git
158
154
  cd mcp-use
159
155
  pip install -e .
160
156
  ```
@@ -253,14 +249,14 @@ For other settings, models, and more, check out the documentation.
253
249
 
254
250
  ## Streaming Agent Output
255
251
 
256
- MCP-Use supports asynchronous streaming of agent output using the `astream` method on `MCPAgent`. This allows you to receive incremental results, tool actions, and intermediate steps as they are generated by the agent, enabling real-time feedback and progress reporting.
252
+ MCP-Use supports asynchronous streaming of agent output using the `stream` method on `MCPAgent`. This allows you to receive incremental results, tool actions, and intermediate steps as they are generated by the agent, enabling real-time feedback and progress reporting.
257
253
 
258
254
  ### How to use
259
255
 
260
- Call `agent.astream(query)` and iterate over the results asynchronously:
256
+ Call `agent.stream(query)` and iterate over the results asynchronously:
261
257
 
262
258
  ```python
263
- async for chunk in agent.astream("Find the best restaurant in San Francisco"):
259
+ async for chunk in agent.stream("Find the best restaurant in San Francisco"):
264
260
  print(chunk["messages"], end="", flush=True)
265
261
  ```
266
262
 
@@ -280,7 +276,7 @@ async def main():
280
276
  client = MCPClient.from_config_file("browser_mcp.json")
281
277
  llm = ChatOpenAI(model="gpt-4o")
282
278
  agent = MCPAgent(llm=llm, client=client, max_steps=30)
283
- async for chunk in agent.astream("Look for job at nvidia for machine learning engineer."):
279
+ async for chunk in agent.stream("Look for job at nvidia for machine learning engineer."):
284
280
  print(chunk["messages"], end="", flush=True)
285
281
 
286
282
  if __name__ == "__main__":
@@ -837,31 +833,31 @@ Thanks to all our amazing contributors!
837
833
  </tr>
838
834
  <tr>
839
835
  <td><img src="https://avatars.githubusercontent.com/u/38653995?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/patchy631/ai-engineering-hub"><strong>patchy631/ai-engineering-hub</strong></a></td>
840
- <td>⭐ 15920</td>
841
- </tr>
842
- <tr>
843
- <td><img src="https://avatars.githubusercontent.com/u/170207473?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/tavily-ai/meeting-prep-agent"><strong>tavily-ai/meeting-prep-agent</strong></a></td>
844
- <td>⭐ 129</td>
836
+ <td>⭐ 17917</td>
845
837
  </tr>
846
838
  <tr>
847
839
  <td><img src="https://avatars.githubusercontent.com/u/164294848?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/buildfastwithai/gen-ai-experiments"><strong>buildfastwithai/gen-ai-experiments</strong></a></td>
848
- <td>⭐ 93</td>
840
+ <td>⭐ 178</td>
849
841
  </tr>
850
842
  <tr>
851
843
  <td><img src="https://avatars.githubusercontent.com/u/187057607?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/hud-evals/hud-python"><strong>hud-evals/hud-python</strong></a></td>
852
- <td>⭐ 76</td>
844
+ <td>⭐ 159</td>
845
+ </tr>
846
+ <tr>
847
+ <td><img src="https://avatars.githubusercontent.com/u/170207473?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/tavily-ai/meeting-prep-agent"><strong>tavily-ai/meeting-prep-agent</strong></a></td>
848
+ <td>⭐ 136</td>
853
849
  </tr>
854
850
  <tr>
855
851
  <td><img src="https://avatars.githubusercontent.com/u/20041231?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/krishnaik06/MCP-CRASH-Course"><strong>krishnaik06/MCP-CRASH-Course</strong></a></td>
856
- <td>⭐ 61</td>
852
+ <td>⭐ 72</td>
857
853
  </tr>
858
854
  <tr>
859
855
  <td><img src="https://avatars.githubusercontent.com/u/54944174?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/larksuite/lark-samples"><strong>larksuite/lark-samples</strong></a></td>
860
- <td>⭐ 35</td>
856
+ <td>⭐ 40</td>
861
857
  </tr>
862
858
  <tr>
863
859
  <td><img src="https://avatars.githubusercontent.com/u/892404?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/truemagic-coder/solana-agent-app"><strong>truemagic-coder/solana-agent-app</strong></a></td>
864
- <td>⭐ 30</td>
860
+ <td>⭐ 29</td>
865
861
  </tr>
866
862
  <tr>
867
863
  <td><img src="https://avatars.githubusercontent.com/u/8344498?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/schogini/techietalksai"><strong>schogini/techietalksai</strong></a></td>
@@ -869,11 +865,11 @@ Thanks to all our amazing contributors!
869
865
  </tr>
870
866
  <tr>
871
867
  <td><img src="https://avatars.githubusercontent.com/u/201161342?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/autometa-dev/whatsapp-mcp-voice-agent"><strong>autometa-dev/whatsapp-mcp-voice-agent</strong></a></td>
872
- <td>⭐ 22</td>
868
+ <td>⭐ 23</td>
873
869
  </tr>
874
870
  <tr>
875
871
  <td><img src="https://avatars.githubusercontent.com/u/100749943?s=40&v=4" width="20" height="20" style="vertical-align: middle; margin-right: 8px;"> <a href="https://github.com/Deniscartin/mcp-cli"><strong>Deniscartin/mcp-cli</strong></a></td>
876
- <td>⭐ 19</td>
872
+ <td>⭐ 20</td>
877
873
  </tr>
878
874
  </table>
879
875
 
@@ -0,0 +1,60 @@
1
+ mcp_use/__init__.py,sha256=AEo6p1F4mSHLO3yKVWZbkr3OFuQwTxSYLGrFQkYb4io,1271
2
+ mcp_use/cli.py,sha256=d3_RqN-lca7igS-aZQIdNQidBOILVihyldywcf8GR-c,15602
3
+ mcp_use/client.py,sha256=bjXcJ0Y517kQw0MQ6GNgYbEkedSySuUFatrOnHWqBx8,11723
4
+ mcp_use/config.py,sha256=e6uMe4By2nOjXqMEIq-qyyu5iNLIdasah_7oABk6SfQ,3459
5
+ mcp_use/exceptions.py,sha256=PuzPj_Ov4oYJ8ny8BC6S1b9RRy39gtRotDhIaMulxQE,468
6
+ mcp_use/logging.py,sha256=bwZEDM3DZDVDVWmFlHCHEDAODix4_y8VSreRk-nRWuo,4971
7
+ mcp_use/session.py,sha256=DpH_z0a3xYemV9yWzlrf-IPZtpR27CI2S-gAm2jbCAc,4700
8
+ mcp_use/utils.py,sha256=QavJcVq2WxUUUCCpPCUeOB5bqIS0FFmpK-RAZkGc6aA,720
9
+ mcp_use/adapters/__init__.py,sha256=-xCrgPThuX7x0PHGFDdjb7M-mgw6QV3sKu5PM7ShnRg,275
10
+ mcp_use/adapters/base.py,sha256=8XB3xWZ6nJPhhmHwVtHT8-HO0D_9nnxzOkbVDP-fI3k,6940
11
+ mcp_use/adapters/langchain_adapter.py,sha256=EJnKm2VxY2mTSQulcwvFDvG_he2npr376rd5nOP-U90,11139
12
+ mcp_use/agents/__init__.py,sha256=FzkntihbAqzixWdWe99zIrrcIfd4N3YWltNniutG9VA,267
13
+ mcp_use/agents/base.py,sha256=EN-dRbwOi9vIqofFg3jmi5yT2VKlwEr9Cwi1DZgB3eE,1591
14
+ mcp_use/agents/mcpagent.py,sha256=G5yEg37aos17wAFEbjLIxuHogASlTyFN6ziShWl9ziU,51587
15
+ mcp_use/agents/remote.py,sha256=7wRGX4ucppWvZdSsxJ3TtrPXYrrwGf9oD5j0UtSYitI,14005
16
+ mcp_use/agents/prompts/system_prompt_builder.py,sha256=E86STmxcl2Ic763_114awNqFB2RyLrQlbvgRmJajQjI,4116
17
+ mcp_use/agents/prompts/templates.py,sha256=Yd-3NILgHXTrBUw9WE11gt0-QrlvN1pykeEpg3LY4HU,1545
18
+ mcp_use/auth/__init__.py,sha256=TBNMvgRDp-lC3n2f0UB6kZUZlJ35SYRBVDt3hadpvXI,138
19
+ mcp_use/auth/bearer.py,sha256=TmeXFlmOC86tvJna2fEvfW4JjfRicUciKVBfPJzDcWs,531
20
+ mcp_use/auth/oauth.py,sha256=JPYQmKNkLRhd53i5iHyFkhA8JzqSylXpvF66zIqpcIk,27584
21
+ mcp_use/auth/oauth_callback.py,sha256=hgdtTVC8LfvxQymnB4DUWN0-kfwqNpTb9vufiByWi9M,7514
22
+ mcp_use/connectors/__init__.py,sha256=cUF4yT0bNr8qeLkSzg28SHueiV5qDaHEB1l1GZ2K0dc,536
23
+ mcp_use/connectors/base.py,sha256=LcWo2tfpri4XtIQEI4C_NIp6NVn2rKrKGL-Q5ZZGAPM,17936
24
+ mcp_use/connectors/http.py,sha256=e19P25Hj0o_joLndqoLmNs1THi-T655mEdyMIIQlSPI,13095
25
+ mcp_use/connectors/sandbox.py,sha256=oXs4Q_1bQJ10XOrJLjFUBKvFy2VmWmyzLhotczl44Po,11804
26
+ mcp_use/connectors/stdio.py,sha256=4gXdXyaeA3B-ywAjPmbEEbHxP2Gg5cWsXNC2kHkubDA,3766
27
+ mcp_use/connectors/utils.py,sha256=zQ8GdNQx0Twz3by90BoU1RsWPf9wODGof4K3-NxPXeA,366
28
+ mcp_use/connectors/websocket.py,sha256=iYSpZiLtFCKh7qh3CtplORTXQ_nqGz0ZdBcI_yAChnA,10140
29
+ mcp_use/errors/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
30
+ mcp_use/errors/error_formatting.py,sha256=17lhj5goGHuTbJ5oLCUXyJ2SuIbzsuSM1Wk8LPeqY9k,911
31
+ mcp_use/managers/__init__.py,sha256=FRTuJw5kYtY1Eo7wN9Aeqeqo1euiR5slvrx5Fl_SGvk,383
32
+ mcp_use/managers/base.py,sha256=fJA4ct6GIcACOzmCSQGga1HoHYjsauaMHZsXehCPQNA,1138
33
+ mcp_use/managers/server_manager.py,sha256=uO18wHUKFq3-YVg_S_SlQDbNF2H978BR28C2YU4X86A,5308
34
+ mcp_use/managers/tools/__init__.py,sha256=zcpm4HXsp8NUMRJeyT6DdB8cgIMDs46pBfoTD-odhGU,437
35
+ mcp_use/managers/tools/base_tool.py,sha256=Jbbp7SwmHKDk8jT_6yVIv7iNsn6KaV_PljWuhhLcbXg,509
36
+ mcp_use/managers/tools/connect_server.py,sha256=-PlqgJDSMzairK90aDg1WTDjpqrFMoTiyekwoPDWNrw,2964
37
+ mcp_use/managers/tools/disconnect_server.py,sha256=dLa5PH-QZ30Dw3n5lzqilyHA8PuQ6xvMkXd-T5EwpU8,1622
38
+ mcp_use/managers/tools/get_active_server.py,sha256=tCaib76gYU3L5G82tEOTq4Io2cuCXWjOjPselb-92i8,964
39
+ mcp_use/managers/tools/list_servers_tool.py,sha256=P_Z96Ab8ELLyo3GQfTMfyemTPJwt0VR1s_iMnWE1GCg,2037
40
+ mcp_use/managers/tools/search_tools.py,sha256=4vso7ln-AfG6lQAMq9FA_CyeVtSEDYEWlHtdHtfnLps,12911
41
+ mcp_use/observability/__init__.py,sha256=qJR51lpW6lVvhgNnUHBXYN6FKn4kDKbGVHUhPzrx324,348
42
+ mcp_use/observability/callbacks_manager.py,sha256=6jIcE6ofiLRxoi4fECaTlpnllTEFQdwB0IZ0ZkY0WAQ,5324
43
+ mcp_use/observability/laminar.py,sha256=eBY23B8rxQOW5ggHeGB0ZCpCSMnK4rC8fBOvDdbuoq4,1613
44
+ mcp_use/observability/langfuse.py,sha256=kOF05cbSEir7r3fibx_q6TfKzqmbjKLV7uNxBote9XY,2677
45
+ mcp_use/task_managers/__init__.py,sha256=LkXOjiDq5JcyB2tNJuSzyjbxZTl1Ordr_NKKD77Nb7g,557
46
+ mcp_use/task_managers/base.py,sha256=YzJqwwFRXZRFXDz9wkWz24Rowti4f8IwCLiVD-YzCVs,4648
47
+ mcp_use/task_managers/sse.py,sha256=L_PFQup3XFQl4LZhmOyqnfzXgFzTwrobkzdZK7DXrgE,2563
48
+ mcp_use/task_managers/stdio.py,sha256=MJcW03lUZUs_HEUxwFPaqy7m8QLbmdn6LagpcfZdjc8,2130
49
+ mcp_use/task_managers/streamable_http.py,sha256=dLMzMxfco4HNIk6Fo-c4SdA-iMVw2ZccSeP_NBr-mcQ,2855
50
+ mcp_use/task_managers/websocket.py,sha256=9JTw705rhYbP6x2xAPF6PwtNgF5yEWTQhx-dYSPMoaI,2154
51
+ mcp_use/telemetry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ mcp_use/telemetry/events.py,sha256=K5xqbmkum30r4gM2PWtTiUWGF8oZzGZw2DYwco1RfOQ,3113
53
+ mcp_use/telemetry/telemetry.py,sha256=oM_QAbZwOStKkeccvEfKmJLKhL2neFkPn5yM5rL2qHc,11711
54
+ mcp_use/telemetry/utils.py,sha256=kDVTqt2oSeWNJbnTOlXOehr2yFO0PMyx2UGkrWkfJiw,1769
55
+ mcp_use/types/sandbox.py,sha256=opJ9r56F1FvaqVvPovfAj5jZbsOexgwYx5wLgSlN8_U,712
56
+ mcp_use-1.3.11.dist-info/METADATA,sha256=lMZW9iso6RkbEoI9k5eWcXX3CnXs1BouH0DN5oh-u7M,33886
57
+ mcp_use-1.3.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
58
+ mcp_use-1.3.11.dist-info/entry_points.txt,sha256=3jzEN6xbVsMErm_cxlHpCzvM97gFgjvtOEEspUp1vK8,45
59
+ mcp_use-1.3.11.dist-info/licenses/LICENSE,sha256=7Pw7dbwJSBw8zH-WE03JnR5uXvitRtaGTP9QWPcexcs,1068
60
+ mcp_use-1.3.11.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mcp-use = mcp_use.cli:main
@@ -1,51 +0,0 @@
1
- mcp_use/__init__.py,sha256=vyjxKmfVDtkbJ6sthDEH_m-uJGXxkYdUBMwBpCt72zA,1021
2
- mcp_use/client.py,sha256=4WnFrbBBa3YX3brfBgZrhb_OgAT8mMfVzLUHwnnKi8o,11701
3
- mcp_use/config.py,sha256=yRgUPCMUzkFqROyccG2wjuhGxneCcbgnrHWHQ6z_hoc,3487
4
- mcp_use/logging.py,sha256=CRtkPwR-bkXK_kQ0QOL86RikMWOHzEOi7A8VRHkNsZw,4270
5
- mcp_use/session.py,sha256=DpH_z0a3xYemV9yWzlrf-IPZtpR27CI2S-gAm2jbCAc,4700
6
- mcp_use/utils.py,sha256=QavJcVq2WxUUUCCpPCUeOB5bqIS0FFmpK-RAZkGc6aA,720
7
- mcp_use/adapters/__init__.py,sha256=-xCrgPThuX7x0PHGFDdjb7M-mgw6QV3sKu5PM7ShnRg,275
8
- mcp_use/adapters/base.py,sha256=8XB3xWZ6nJPhhmHwVtHT8-HO0D_9nnxzOkbVDP-fI3k,6940
9
- mcp_use/adapters/langchain_adapter.py,sha256=zGEVMXLj_jpSXUMHOh5u-fxkkrK2zpSibOSGCy_VMr0,11033
10
- mcp_use/agents/__init__.py,sha256=FzkntihbAqzixWdWe99zIrrcIfd4N3YWltNniutG9VA,267
11
- mcp_use/agents/base.py,sha256=EN-dRbwOi9vIqofFg3jmi5yT2VKlwEr9Cwi1DZgB3eE,1591
12
- mcp_use/agents/mcpagent.py,sha256=Vh4VOxxh-6sJwK1tTtJgUWZcp1bd3hb_JnATc7x9sKk,46698
13
- mcp_use/agents/remote.py,sha256=peSw3aixybneTWgrGlSZedUvo_FuISSiWqFgySZSwEM,13011
14
- mcp_use/agents/prompts/system_prompt_builder.py,sha256=E86STmxcl2Ic763_114awNqFB2RyLrQlbvgRmJajQjI,4116
15
- mcp_use/agents/prompts/templates.py,sha256=acg2Q-_uQDL-3q5ZUwwwFrP7wqqf-SEyq0XWDDHt69s,1906
16
- mcp_use/connectors/__init__.py,sha256=cUF4yT0bNr8qeLkSzg28SHueiV5qDaHEB1l1GZ2K0dc,536
17
- mcp_use/connectors/base.py,sha256=R1Qh9D6btullQUGiMBVZewP3M7d-0VrsIt4bSw3bHxI,17482
18
- mcp_use/connectors/http.py,sha256=eiX5NAsT9mnzqWRAoxb6qG3nWxPiVyw5MVcwRY8D6lE,8436
19
- mcp_use/connectors/sandbox.py,sha256=oXs4Q_1bQJ10XOrJLjFUBKvFy2VmWmyzLhotczl44Po,11804
20
- mcp_use/connectors/stdio.py,sha256=4gXdXyaeA3B-ywAjPmbEEbHxP2Gg5cWsXNC2kHkubDA,3766
21
- mcp_use/connectors/utils.py,sha256=zQ8GdNQx0Twz3by90BoU1RsWPf9wODGof4K3-NxPXeA,366
22
- mcp_use/connectors/websocket.py,sha256=G7ZeLJNPVl9AG6kCmiNJz1N2Ing_QxT7pSswigTKi8Y,9650
23
- mcp_use/errors/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
24
- mcp_use/errors/error_formatting.py,sha256=17lhj5goGHuTbJ5oLCUXyJ2SuIbzsuSM1Wk8LPeqY9k,911
25
- mcp_use/managers/__init__.py,sha256=FRTuJw5kYtY1Eo7wN9Aeqeqo1euiR5slvrx5Fl_SGvk,383
26
- mcp_use/managers/server_manager.py,sha256=eWxiuP0yL3HWSyCWdHqNZ1isZfa3IZDWVEjWSfYOs_A,5253
27
- mcp_use/managers/tools/__init__.py,sha256=zcpm4HXsp8NUMRJeyT6DdB8cgIMDs46pBfoTD-odhGU,437
28
- mcp_use/managers/tools/base_tool.py,sha256=Jbbp7SwmHKDk8jT_6yVIv7iNsn6KaV_PljWuhhLcbXg,509
29
- mcp_use/managers/tools/connect_server.py,sha256=-PlqgJDSMzairK90aDg1WTDjpqrFMoTiyekwoPDWNrw,2964
30
- mcp_use/managers/tools/disconnect_server.py,sha256=dLa5PH-QZ30Dw3n5lzqilyHA8PuQ6xvMkXd-T5EwpU8,1622
31
- mcp_use/managers/tools/get_active_server.py,sha256=tCaib76gYU3L5G82tEOTq4Io2cuCXWjOjPselb-92i8,964
32
- mcp_use/managers/tools/list_servers_tool.py,sha256=P_Z96Ab8ELLyo3GQfTMfyemTPJwt0VR1s_iMnWE1GCg,2037
33
- mcp_use/managers/tools/search_tools.py,sha256=4vso7ln-AfG6lQAMq9FA_CyeVtSEDYEWlHtdHtfnLps,12911
34
- mcp_use/observability/__init__.py,sha256=kTUcP0d6L5_3ktfldhdAk-3AWckzVHs7ztG-R6cye64,186
35
- mcp_use/observability/laminar.py,sha256=WWjmVXP55yCfAlqlayeuJmym1gdrv8is7UyrIp4Tbn0,839
36
- mcp_use/observability/langfuse.py,sha256=9vgJgnGtVpv_CbCyJqyRkzq2ELqPfYFIUGnpSbm2RCo,1334
37
- mcp_use/task_managers/__init__.py,sha256=LkXOjiDq5JcyB2tNJuSzyjbxZTl1Ordr_NKKD77Nb7g,557
38
- mcp_use/task_managers/base.py,sha256=mvLFTVyOfvBWFmkx5l8DZVZUezbhsRARDDfMS2AuFLE,5031
39
- mcp_use/task_managers/sse.py,sha256=nLKt99OiqoJxFT62zCeNwSZUmdPPg4SD7M1pCEPOa3c,2391
40
- mcp_use/task_managers/stdio.py,sha256=MJcW03lUZUs_HEUxwFPaqy7m8QLbmdn6LagpcfZdjc8,2130
41
- mcp_use/task_managers/streamable_http.py,sha256=Zky821Ston5CX0DQVyeRxc2uUqALD8soonRSe09cHcE,2683
42
- mcp_use/task_managers/websocket.py,sha256=9JTw705rhYbP6x2xAPF6PwtNgF5yEWTQhx-dYSPMoaI,2154
43
- mcp_use/telemetry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
- mcp_use/telemetry/events.py,sha256=K5xqbmkum30r4gM2PWtTiUWGF8oZzGZw2DYwco1RfOQ,3113
45
- mcp_use/telemetry/telemetry.py,sha256=oM_QAbZwOStKkeccvEfKmJLKhL2neFkPn5yM5rL2qHc,11711
46
- mcp_use/telemetry/utils.py,sha256=kDVTqt2oSeWNJbnTOlXOehr2yFO0PMyx2UGkrWkfJiw,1769
47
- mcp_use/types/sandbox.py,sha256=opJ9r56F1FvaqVvPovfAj5jZbsOexgwYx5wLgSlN8_U,712
48
- mcp_use-1.3.9.dist-info/METADATA,sha256=U-uwkjLkdcK1IkliQ6UGY_jKRUJEgN1K_2xQEHTB9Yk,34122
49
- mcp_use-1.3.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
50
- mcp_use-1.3.9.dist-info/licenses/LICENSE,sha256=7Pw7dbwJSBw8zH-WE03JnR5uXvitRtaGTP9QWPcexcs,1068
51
- mcp_use-1.3.9.dist-info/RECORD,,