Skip to main content

MCP adapter for Rifft

Project description

rifft-mcp

MCP adapter for Rifft.

rifft-mcp instruments MCP tool calls so they appear as tool.call spans in Rifft with request, response, duration, and propagated trace context.

Install

pip install rifft-sdk rifft-mcp

Usage

import rifft
from rifft.adapters.mcp import instrument_mcp_client

rifft.init(service_name="my-mcp-app")
instrument_mcp_client(my_session)

Then use your MCP client normally and view the resulting trace in Rifft.

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

rifft_mcp-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

rifft_mcp-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file rifft_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: rifft_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for rifft_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25950f865ae4dc5c14ceaa11a3e8eed8b323d2de9bbcbd8248a9e62ded0bd3bc
MD5 cee93ebe7e46494568fc7730663bbf8b
BLAKE2b-256 ae7bf565b842b070d935c7bca061fb6830385dbc85a6f7363ac8123e8bec8c49

See more details on using hashes here.

File details

Details for the file rifft_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rifft_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for rifft_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 157b6871b403c27e641bdda563144e79b810fb8d06689d0713b6289ad83d4b55
MD5 6fc5270211e55e7eed09182747c9cff0
BLAKE2b-256 8031a528d936f87071681a4dbb18981d67139f1b3cbcc8bc91491ce481a274a8

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