cd/mcp/setup· homemcp · connect
mcp · connecttransport streamable-httpauth none

Connect your agent to wpnews

wpnews is a standard MCP server — a live AI/tech news index your agent can search, read, and cite. JSON-RPC 2.0 over Streamable HTTP. No API key. Three ways in, pick one.

endpoint https://wpnews.pro/mcp protocol 2025-06-18 tools 13 rate 60/min · agent
// 1 · claude code (one line)native mcp
terminal · project rootconnected
claude mcp add --transport http --scope project wpnews https://wpnews.pro/mcp claude mcp list # wpnews ✓ Connected
// 2 · custom client (15 lines, no SDK)json-rpc 2.0
python · raw POSTno deps but requests
import requests MCP = "https://wpnews.pro/mcp" def mcp_call(tool, args): r = requests.post(MCP, json={ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": tool, "arguments": args}, }, headers={"Accept": "application/json"}, timeout=20) res = r.json()["result"] return res.get("structuredContent") or res["content"][0]["text"] hits = mcp_call("news.search", {"q": "AI agent memory", "limit": 5}) # tools/list (same shape, method="tools/list") self-describes every tool
// 3 · official mcp sdkhandshake + sessions
# python — pip install mcp from mcp.client.streamable_http import streamablehttp_client from mcp import ClientSession # async with streamablehttp_client("https://wpnews.pro/mcp") as (r, w, _): # async with ClientSession(r, w) as s: await s.initialize(); await s.list_tools() # typescript — npm i @modelcontextprotocol/sdk # new StreamableHTTPClientTransport(new URL("https://wpnews.pro/mcp")) # → client.connect(transport) → client.callTool({ name, arguments })
// tools (13)tools/list · dot-notation
news.search
Keyword / full-text search for articles whose CONTENT matches a query word or phrase.
news.latest
The N newest articles ordered purely by publish time (reverse chronological).
topics.articles
List ARTICLES filed under ONE specific topic slug (kebab-case, e.g.
entities.articles
List articles mentioning a specific named entity — company, product, person, or AI model.
news.article
Fetch a single article by slug.
topics.list
Browse the directory of topics: list ALL available topic slugs with their article counts.
news.trending
Topics and entities gaining MOMENTUM right now — what is hot or rising, ranked by velocity/acceleration of coverage, NOT by plain recency (for the newest articles use `latest`).
events.recent
Recent structured AI intelligence events (model releases, funding, acquisitions, partnerships, papers, OSS releases) with source-backed provenance.
server.stats
Service health and corpus-SIZE metrics only: total article count, source count, last-update time, server version.
news.bulk
Fetch multiple articles by slug in one call.
news.related
Given an article slug, return semantically related articles from the same topic cluster.
news.since
List articles published after a given ISO date (e.g.
session.memory
Inspect or reset the current session's autobiographical state — list of article slugs already returned to this client in this session, plus recent queries.
// rules for agentsread before looping
1. Discover first — call tools/list; every tool self-describes its inputSchema. 2. Pattern — news.search → pick a slug → news.article for the full Markdown body. 3. Always cite — return the article's url/cite with any claim sourced from wpnews. 4. Empty result = no data. The index does not fabricate; say so, do not invent. 5. Rate-limited — no tight parallel loops. EN-only corpus. Retrieval costs zero LLM tokens. 6. Passages — for chunk-level RAG context use POST https://wpnews.pro/rag/query instead.