Another day, another release in 
text
Another day, another release in 
new_line
⭐https://github.com/mozilla-ai/any-agent ⭐
text
⭐https://github.com/mozilla-ai/any-agent ⭐
new_line
new_line
You can now use MCP (Model Context Protocol) tools via SSE (Server-Sent Events):
text
You can now use MCP (Model Context Protocol) tools via SSE (Server-Sent Events):
new_line
new_line
from any_agent import AgentConfig, AnyAgent
from any_agent.config import MCPSseParams

agent = AnyAgent.create(
    "smolagents",
    AgentConfig(
        model_id="gpt-4o-mini",
        tools=[
            MCPSseParams(
                url="http://localhost:8000/sse"
            ),
        ]
    )
)
agent.run("What do MCP and SSE mean?")
py
```py
from any_agent import AgentConfig, AnyAgent
from any_agent.config import MCPSseParams

agent = AnyAgent.create(
    "smolagents",
    AgentConfig(
        model_id="gpt-4o-mini",
        tools=[
            MCPSseParams(
                url="http://localhost:8000/sse"
            ),
        ]
    )
)
agent.run("What do MCP and SSE mean?")
```
code_fence
new_line
new_line
See SuperGateway for an easy way to turn a Stdio server into an SSE server.
text
See SuperGateway for an easy way to turn a Stdio server into an SSE server.
Another day, another release in 
⭐https://github.com/mozilla-ai/any-agent ⭐

You can now use MCP (Model Context Protocol) tools via SSE (Server-Sent Events):

```py
from any_agent import AgentConfig, AnyAgent
from any_agent.config import MCPSseParams

agent = AnyAgent.create(
    "smolagents",
    AgentConfig(
        model_id="gpt-4o-mini",
        tools=[
            MCPSseParams(
                url="http://localhost:8000/sse"
            ),
        ]
    )
)
agent.run("What do MCP and SSE mean?")
```

See SuperGateway for an easy way to turn a Stdio server into an SSE server.
👍
John6666 chinesemusk