cbi-mcp-server

The CB Insights MCP Server provides an interface for developers to interact with the CB Insights ChatCBI LLM through AI agents. By using this tool, users can send messages and receive responses from the AI. It allows for managing ChatCBI sessions and retrieving related content, enabling developers to easily integrate with the AI chatbot. Implemented in Python, it uses 'uv' to manage the project.

GitHub Stars

4

User Rating

Not Rated

Forks

1

Issues

0

Views

8

Favorites

0

README
CB Insights MCP Server

The CBI MCP Server provides an interface for developers to interact with CB Insights ChatCBI LLM through AI Agents.

Tools
ChatCBI
  • Sends a message from an agent to our AI chatbot and returns the response
  • Input parameters:
    • message:
    • chatID: (optional) The unique id of an existing ChatCBI session. Used for continuity in a conversation. If not provided, a new ChatCBI session will be created
  • Returns object containing the following fields:
    • chatID: Unique id of current ChatCBI session
    • message: ChatCBI message generated in response to the message send in the input.
    • RelatedContent: Content that is related to the content returned
    • Sources: Supporting sources for the message content returned
    • Suggestions Suggested prompts to further explore the subject matter
  • For more information, check the ChatCBI Docs
Setup

The CBI MCP Server uses uv to manage the project.

The default port is 8000, but can be modified by updating the CBI_MCP_PORT environment variable in the .env file.

The timeout for requests can also be modified via the CBI_MCP_TIMEOUT variable in the .env file.

Authentication

Documentation on how CB Insights APIs are authenticated can be found here

The server uses the CBI_CLIENT_ID and CBI_CLIENT_SECRET environment variables set in the .env file to authorize requests.

Usage
With Claude Desktop

Update the claude_desktop_config.json file using the following command:

mcp install server.py

This will add the following configuration:

{
  "mcpServers": {
    "cbi-mcp-server": {
      "command": "/path/to/.local/bin/uv",
      "args": [
        "--directory",
        "/path/to/cloned/cbi-mcp-server",
        "run",
        "server.py"
      ]
    }
  }
}
Debugging

The inspector can be used to test/debug your server.

mcp dev server.py 

More info on using the inspector

Author Information
CB Insights
New York, NY

2

Followers

12

Repositories

0

Gists

3

Total Contributions

Top Contributors

Threads