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.1.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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rifft_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0fe63cbce4dd65bbab0a17c02a0aab8a3f76936a32199af85cef62499195b2f
MD5 5a75093d96ddb3a70b426b05666af55f
BLAKE2b-256 992c8d4b8377c6b75e9ffacf70acec0fa4cb072cbce21d391aca653910ab168b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rifft_mcp-0.1.1-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.12

File hashes

Hashes for rifft_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 499edccd9eb7051d6579128c7885ca498fd0e1ae9ae06d4572cd51f0ffa0152b
MD5 0f8db9eac12a37e828f15b4f8de30a37
BLAKE2b-256 8ddfe609918f98d0f1a3c749bfac600dd079369b80f5ef18b249a05ee7f2de7c

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