CB Insights' MCP Server
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 sessionmessage
: ChatCBI message generated in response to the message send in the input.RelatedContent
: Content that is related to the content returnedSources
: Supporting sources for the message content returnedSuggestions
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