Skip to main content

gossiphs wrapper for model context protocol

Project description

gossiphs_mcp

gossiphs wrapper for Model Context Protocol (MCP)

Goal

The goal is to expose gossiphs' code analysis capabilities in a simple way (MCP). It can quickly analyze code relationship graphs without the need to start an LSP, providing more contextual input for AI analysis without requiring any additional configuration.

graph TD
    A[main.py] --- S1[func_main] --- B[module_a.py]
    A --- S2[Handler] --- C[module_b.py]
    B --- S3[func_util] --- D[utils.py]
    C --- S3[func_util] --- D
    A --- S4[func_init] --- E[module_c.py]
    E --- S5[process] --- F[module_d.py]
    E --- S6[Processor] --- H[module_e.py]
    H --- S7[transform] --- I[module_f.py]
    I --- S3[func_util] --- D

Installation

Install with pipx:

pipx install gossiphs-mcp

Start an MCP server:

# stdio by default
gossiphs-mcp server

# using SSE
gossiphs-mcp server --transport=sse

Usage

Using cursor as an example. Of course, other clients can also be used.

First, configure the server:

Image

Then, when needed, cursor can automatically call gossiphs to analyze the impact scope of files and collaborate with other tools!

Image

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

gossiphs_mcp-0.1.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

gossiphs_mcp-0.1.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gossiphs_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.6

File hashes

Hashes for gossiphs_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d572f1cdbe6adab22e2a6fc2cf3940a62de5791fca1d3ed424f451325b3baf5e
MD5 258dd10e7593169d872f35d9be114396
BLAKE2b-256 2695440a41d627abf037e9ae837fb87958bcd12cb7be177f73df042dbe35ce16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gossiphs_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 805d4c07524ee9abcfea67e288751eaca6b6b18da78deb1767fd5ae1b06d0e8e
MD5 1af6837297b4eeada7e7a8be5eb6bd62
BLAKE2b-256 1459da1f362f4d63820208d090116ecb314c2d778c95a80c42b3283dbc64f0ac

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