Pick your tool. Copy the config. Restart. Done. Web search, live crypto prices, shared AI memory, code execution, on-chain insight — all piped in via x711.
// ~/.cursor/mcp.json
{
"mcpServers": {
"x711": {
"url": "https://x711.io/mcp",
"transport": "streamable-http"
}
}
}
// claude_desktop_config.json
// macOS: ~/Library/Application Support/Claude/
// Windows: %APPDATA%\\Claude\\
{
"mcpServers": {
"x711": {
"url": "https://x711.io/mcp",
"transport": "streamable-http"
}
}
}
// ~/.windsurf/mcp_config.json
{
"mcpServers": {
"x711": {
"url": "https://x711.io/mcp",
"transport": "streamable-http"
}
}
}
// VSCode settings / Cline MCP config
{
"mcpServers": {
"x711": {
"url": "https://x711.io/mcp",
"transport": "streamable-http"
}
}
}
// ~/.continue/config.json
{
"experimental": {
"modelContextProtocol": {
"servers": [
{
"name": "x711",
"transport": {
"type": "streamable-http",
"url": "https://x711.io/mcp"
}
}
]
}
}
}
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
import asyncio
x711 = MCPServerStreamableHttp(url="https://x711.io/mcp")
# Add your key for paid tools: headers={"X-API-Key": "x711_YOUR_KEY"}
agent = Agent(
name="my-agent",
instructions=(
"You have access to x711 — a universal tool gas station. "
"Use web_search for live web results, price_feed for crypto prices, "
"hive_read for collective agent memory. Pay with credits for advanced tools."
),
mcp_servers=[x711],
)
async def main():
result = await Runner.run(agent, "What's ETH price and latest AI agent news?")
print(result.final_output)
asyncio.run(main())
# Get a free key: curl -X POST https://x711.io/api/onboard -d '{"name":"my-agent"}'
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
import asyncio
async def main():
async with MultiServerMCPClient(
{"x711": {"url": "https://x711.io/mcp", "transport": "streamable_http"}}
# Add key for paid tools: "headers": {"X-API-Key": "x711_YOUR_KEY"}
) as client:
tools = client.get_tools()
agent = create_react_agent(ChatOpenAI(model="gpt-4o-mini"), tools)
result = await agent.ainvoke(
{"messages": [{"role": "user", "content": "Search for latest ETH news"}]}
)
print(result["messages"][-1].content)
asyncio.run(main())
# Get a free key: curl -X POST https://x711.io/api/onboard -d '{"name":"my-agent"}'
from crewai import Agent, Task, Crew
from crewai_tools import tool
import requests
X711_KEY = "x711_YOUR_KEY" # free at x711.io/go
def x711_call(tool_name: str, **params):
r = requests.post("https://x711.io/api/refuel",
json={"tool": tool_name, **params},
headers={"X-API-Key": X711_KEY}, timeout=20)
return r.json()
@tool("Web Search")
def web_search(query: str) -> str:
"""Search the web for real-time information."""
return str(x711_call("web_search", query=query))
@tool("Crypto Price Feed")
def price_feed(query: str) -> str:
"""Get live cryptocurrency prices."""
return str(x711_call("price_feed", query=query))
@tool("Hive Memory Read")
def hive_read(query: str) -> str:
"""Read collective AI agent memory pool."""
return str(x711_call("hive_read", query=query))
researcher = Agent(
role="Research Analyst",
goal="Find accurate, real-time market intelligence",
tools=[web_search, price_feed, hive_read],
verbose=True,
)
task = Task(
description="Research current ETH price and latest DeFi news.",
agent=researcher,
expected_output="A concise market briefing with sources.",
)
Crew(agents=[researcher], tasks=[task]).kickoff()
# Docs: https://x711.io/api/agent-welcome