Skip to main content

PulseLink MCP

CLI or API | MCP | Agent

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars PyPI - License GitHub last commit (by committer)

Version: 1.0.1

Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, the integrated A2A agent server, and guidance for provisioning the backing platform are maintained in the official documentation.


Overview

PulseLink MCP MCP Server + A2A Agent

PulseLink — keyless open-web & social research source (MCP Server + A2A Server)

This repository is actively maintained - Contributions are welcome!

MCP

MCP Configuration Examples

Install the slim [mcp] extra. All examples install pulselink-mcp[mcp] — the MCP-server extra that pulls only the FastMCP / FastAPI tooling (agent-utilities[mcp]). It deliberately excludes the heavy agent runtime (pydantic-ai, the epistemic-graph engine, dspy, llama-index), so uvx / container installs are far smaller. Use the full [agent] extra only when you need the integrated Pydantic AI agent.

stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "pulselink-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "pulselink-mcp[mcp]",
        "pulselink-mcp"
      ],
      "env": {
        "MCP_TOOL_MODE": "condensed",
        "PULSETOOL": "True",
        "XAI_BASE_URL": "https://api.x.ai/v1",
        "XAI_SEARCH_MODEL": "grok-4.3"
      }
    }
  }
}

Streamable-HTTP Transport (networked / production)

{
  "mcpServers": {
    "pulselink-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "pulselink-mcp[mcp]",
        "pulselink-mcp",
        "--transport",
        "streamable-http",
        "--port",
        "8000"
      ],
      "env": {
        "TRANSPORT": "streamable-http",
        "HOST": "0.0.0.0",
        "PORT": "8000",
        "MCP_TOOL_MODE": "condensed",
        "PULSETOOL": "True",
        "XAI_BASE_URL": "https://api.x.ai/v1",
        "XAI_SEARCH_MODEL": "grok-4.3"
      }
    }
  }
}

Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:

{
  "mcpServers": {
    "pulselink-mcp": {
      "url": "http://localhost:8000/pulselink-mcp/mcp"
    }
  }
}

Deploying the Streamable-HTTP server via Docker:

docker run -d \
  --name pulselink-mcp-mcp \
  -p 8000:8000 \
  -e TRANSPORT=streamable-http \
  -e HOST=0.0.0.0 \
  -e PORT=8000 \
  -e MCP_TOOL_MODE=condensed \
  -e PULSETOOL=True \
  -e XAI_BASE_URL=https://api.x.ai/v1 \
  -e XAI_SEARCH_MODEL=grok-4.3 \
  knucklessg1/pulselink-mcp:mcp

Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.

Additional Deployment Options

pulselink-mcp can also run as a local container (Docker / Podman / uv) or be consumed from a remote deployment. The Deployment guide has full, copy-paste mcp_config.json for all four transports — stdio, streamable-http, local container / uv, and remote URL:

  • Local container / uv — launch the server from mcp_config.json via uvx, docker run, or podman run, or point at a local streamable-http container by url.
  • Remote URL — connect to a server deployed behind Caddy at http://pulselink-mcp.arpa/mcp using the "url" key.

Available MCP Tools

This table is auto-generated from the live server — do not edit by hand.

Condensed action-routed tools (default — MCP_TOOL_MODE=condensed)

MCP Tool Toggle Env Var Description
pulse_fetch PULSETOOL Fetch one item (full text/body/transcript). CONCEPT:PULSE-001
pulse_list PULSETOOL List items from a source channel/feed. CONCEPT:PULSE-001
pulse_search PULSETOOL Search a source and return normalized documents. CONCEPT:PULSE-001
pulse_status PULSETOOL Per-source backend + credential health (the doctor). CONCEPT:PULSE-001
pulse_transcribe PULSETOOL Transcribe video/audio to text. CONCEPT:PULSE-005

Verbose 1:1 API-mapped tools (MCP_TOOL_MODE=verbose or both)

6 per-operation tools — one per public API method (click to expand)
MCP Tool Toggle Env Var Description
pulselink_fetch PULSE_LINK_CLIENTTOOL Invoke the fetch operation.
pulselink_list_items PULSE_LINK_CLIENTTOOL Invoke the list_items operation.
pulselink_search PULSE_LINK_CLIENTTOOL Invoke the search operation.
pulselink_sources PULSE_LINK_CLIENTTOOL Invoke the sources operation.
pulselink_status PULSE_LINK_CLIENTTOOL Invoke the status operation.
pulselink_transcribe PULSE_LINK_CLIENTTOOL Invoke the transcribe operation.

5 action-routed tool(s) (default) · 6 verbose 1:1 tool(s). Each is enabled unless its <DOMAIN>TOOL toggle is set false; MCP_TOOL_MODE selects the surface (condensed default · verbose 1:1 · both). Auto-generated — do not edit.

Environment Variables

Every variable the server reads.

MCP server / transport

Variable Description Default
TRANSPORT stdio, streamable-http, or sse stdio
HOST Bind host (HTTP transports) 0.0.0.0
PORT Bind port (HTTP transports) 8000
MCP_TOOL_MODE Tool surface: condensed, verbose, or both condensed
MCP_ENABLED_TOOLS / MCP_DISABLED_TOOLS Comma-separated tool allow/deny list
MCP_ENABLED_TAGS / MCP_DISABLED_TAGS Comma-separated tag allow/deny list
DEBUG Verbose logging False
PYTHONUNBUFFERED Unbuffered stdout (recommended in containers) 1

X / xAI Live Search (optional)

Used by the X source backend; all optional with sensible defaults.

Variable Description Default
XAI_BASE_URL xAI API base URL https://api.x.ai/v1
XAI_SEARCH_MODEL Model used for X live search grok-4.3
XAI_SEARCH_TIMEOUT_SECONDS Per-request timeout (seconds) 180
XAI_SEARCH_RETRIES Retry attempts on failure 2

Source credentials (keyless-first)

Variable Description Default
SOURCE_CREDENTIALS JSON object mapping a source → credential descriptor (secret values are URI refs resolved via the secrets backend: vault://, env://, sqlite://). Keyless sources (youtube, web, rss, news, hackernews, v2ex, bilibili) need nothing here; auth-laddered sources (x, reddit, github, exa…) light up higher-fidelity backends when set.

Tool toggles

Each action-routed tool can be disabled individually via its toggle env var (set to false). The full list is in the Available MCP Tools table above.

Variable Description Default
PULSETOOL Enable the PulseLink source tools (pulse_search / pulse_list / pulse_fetch / pulse_transcribe / pulse_status) True

Telemetry & governance

Variable Description Default
ENABLE_OTEL Enable OpenTelemetry export True
OTEL_EXPORTER_OTLP_ENDPOINT OTLP collector endpoint
OTEL_EXPORTER_OTLP_PUBLIC_KEY / OTEL_EXPORTER_OTLP_SECRET_KEY OTLP auth keys
OTEL_EXPORTER_OTLP_PROTOCOL OTLP protocol (e.g. http/protobuf)
EUNOMIA_TYPE Authorization mode: none, embedded, remote none
EUNOMIA_POLICY_FILE Embedded policy file mcp_policies.json
EUNOMIA_REMOTE_URL Remote Eunomia server URL

Agent CLI (full [agent] runtime only)

Variable Description Default
MCP_URL URL of the MCP server the agent connects to http://localhost:8000/mcp
PROVIDER LLM provider (e.g. openai) openai
MODEL_ID Model id (e.g. gpt-4o) gpt-4o
ENABLE_WEB_UI Serve the AG-UI web interface True

See .env.example for a copy-paste starting point.

Installation

Pick the extra that matches what you want to run:

Extra Installs Use when
pulselink-mcp[mcp] Slim MCP server only (agent-utilities[mcp] — FastMCP/FastAPI) You only run the MCP server (smallest install / image)
pulselink-mcp[agent] Full agent runtime (agent-utilities[agent,logfire] — Pydantic AI + the epistemic-graph engine) You run the integrated agent
pulselink-mcp[all] Everything (mcp + agent + logfire + the youtube/feeds/audio source extras) Development / both surfaces
# MCP server only (recommended for tool hosting — slim deps)
uv pip install "pulselink-mcp[mcp]"

# Full agent runtime (Pydantic AI + epistemic-graph engine)
uv pip install "pulselink-mcp[agent]"

# Everything (development)
uv pip install "pulselink-mcp[all]"      # or: python -m pip install "pulselink-mcp[all]"

The optional source extras (youtubeyt-dlp, feedsfeedparser, audiofaster-whisper) are lazy-imported; the keyless web/forum/news/dev sources need none of them. Install pulselink-mcp[sources] for youtube + feeds.

Container images (:mcp vs :agent)

One multi-stage docker/Dockerfile builds two right-sized images, selected by --target:

Image tag Build target Contents Entrypoint
knucklessg1/pulselink-mcp:mcp --target mcp pulselink-mcp[mcp]slim, no engine/pydantic-ai/dspy/llama-index/tree-sitter pulselink-mcp
knucklessg1/pulselink-mcp:latest --target agent (default) pulselink-mcp[agent]full agent runtime + epistemic-graph engine pulselink-agent
docker build --target mcp   -t knucklessg1/pulselink-mcp:mcp    docker/   # slim MCP server
docker build --target agent -t knucklessg1/pulselink-mcp:latest docker/   # full agent

docker/mcp.compose.yml runs the slim :mcp server; docker/agent.compose.yml runs the agent (:latest) with a co-located :mcp sidecar.

Knowledge-graph database (epistemic-graph)

The full agent ([agent] / :latest) embeds the epistemic-graph engine (pulled in transitively via agent-utilities[agent]). For production — or to share one knowledge graph across multiple agents — run epistemic-graph as its own database container and point the agent at it instead of embedding it. Deployment recipes (single-node + Raft HA), connection config, and the full database architecture (with diagrams) are documented in the epistemic-graph deployment guide. The slim [mcp] server does not require the database.

Deploy with agent-os-genesis

This package can be provisioned for you — skill-guided — by the agent-os-genesis universal skill (its single-package deploy mode): it picks your install method, seeds secrets to OpenBao/Vault (or .env), trusts your enterprise CA, registers the MCP server, and verifies it — the same machinery that stands up the whole Agent OS, narrowed to just this package. Ask your agent to "deploy pulselink-mcp with agent-os-genesis".

Install mode Command
Bare-metal, prod (PyPI) uvx pulselink-mcp · or uv tool install pulselink-mcp
Bare-metal, dev (editable) uv pip install -e ".[all]" · or pip install -e ".[all]"
Container, prod deploy knucklessg1/pulselink-mcp:latest via docker-compose / swarm / podman / podman-compose / kubernetes
Container, dev (editable) deploy docker/compose.dev.yml (source-mounted at /src; edits live on restart)

Secrets are read-existing + seeded via vault_sync — you are only prompted for what's missing.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulselink_mcp-1.0.1.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulselink_mcp-1.0.1-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page