Skip to main content

MCP server for LangObs — zero-code observability for MCP-native AI agents

Project description

langobs-mcp

MCP server for LangObs — zero-code observability for any MCP-compatible agent (Claude Desktop, Cursor, Windsurf, etc.).

Any agent that supports MCP can send traces to LangObs without installing the Python or TypeScript SDK.

Install

pip install langobs-mcp

Prerequisites

Start the LangObs server:

pip install langobs-server
langobs-server

Configure in your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)

{
  "mcpServers": {
    "langobs": {
      "command": "langobs-mcp"
    }
  }
}

Cursor / Windsurf

Add to your MCP server config:

{
  "langobs": {
    "command": "langobs-mcp"
  }
}

Tools Exposed

Once connected, your MCP agent can call these tools:

Tool Description
langobs_start_session Start a new debugging session. Returns a session_id to use in subsequent calls.
langobs_report_trace Report a trace event (LLM call, tool call, decision, memory op, error).
langobs_report_memory Report a memory state change (created, updated, accessed, deleted).

How It Works

The MCP server receives tool calls from your agent and forwards them to the LangObs HTTP server (http://localhost:8766). Events appear in the dashboard in real-time.

Agent → MCP call → langobs-mcp server → HTTP POST → LangObs server → Dashboard

Example Usage (inside a Claude conversation)

Once the MCP server is connected, Claude can instrument its own tasks:

1. Call langobs_start_session → get session_id
2. For each tool call: langobs_report_trace(session_id, event_type="tool_call", ...)
3. For each LLM decision: langobs_report_trace(session_id, event_type="decision", ...)

Open http://localhost:5173 to watch the trace build in real time.

License

MIT

Project details


Download files

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

Source Distribution

langobs_mcp-0.2.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

langobs_mcp-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file langobs_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: langobs_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for langobs_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a7269192f0b0f43e76fe096c80054cbb3f54eb8af96b29669f5517af678183e3
MD5 aec745faea1f4907747bc767e3585f29
BLAKE2b-256 2e0bf21a07b073a70e30b64ead37ca29964dd3f3aecabb11b8470044bd7b73e8

See more details on using hashes here.

File details

Details for the file langobs_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: langobs_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for langobs_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a42b5878aba4526fc458f35de85bca15b71de57cd8569c7d646e8f2ccb20024
MD5 b3a1dea7882ff5463dbfa1bc698608f7
BLAKE2b-256 50747a0503ff0bd09d5a35f3fd98b1f673983169afdfc45b5d3432f38340116d

See more details on using hashes here.

Supported by

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