Sourcegraph React Prop MCP Server

Sourcegraph code search and React prop usage analysis for your AI assistant.

Data last scanned last week · Reviewed last month

100TypeScript

Overview

This TypeScript-based MCP server allows LLMs to query Sourcegraph for code exploration and analysis. It provides tools for testing connections, performing general code searches, and retrieving specific file contents from configured instances.

Our verdict

This project holds a high-risk security score of 10/100 and should be approached with extreme caution. It is a community-maintained repository that has not been editorially reviewed and has seen no commits in over 462 days. Furthermore, the absence of an open-source license creates legal ambiguity regarding its use. Given these factors, particularly the lack of maintenance and oversight, this server is not recommended for production environments.

  • Includes documentation for Sourcegraph access token setup.
  • Provides a specific tool for searching React prop usage.
  • Small footprint with only 4 direct dependencies.
  • Security score of 10/100 indicates significant unaddressed risks.
  • Last code update occurred over 462 days ago.
  • No license detected, creating legal uncertainty.
  • Single contributor project increases bus-factor risk.

Compatibility

No compatibility data yet.

Frequently asked questions

What is required to authenticate with the Sourcegraph instance?

You must generate an API access token from your Sourcegraph instance settings and provide it via the SRC_ACCESS_TOKEN environment variable.

Can I use this server with a self-hosted Sourcegraph instance?

Yes, you can specify your instance URL by setting the SRC_ENDPOINT environment variable. It defaults to https://sourcegraph.com if not specified.

How can I verify that the server is configured correctly?

After installation, you can confirm the setup by prompting your MCP client to run the testSourcegraphConnection tool.

Is there an automated way to configure the server for Cursor?

Yes, you can run the provided ./install_cursor.sh script, which will walk you through the necessary environment variable setup.

Badge

Sourcegraph React Prop MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.