Use the CB Insights MCP Server to connect to ChatCBI
The CBI MCP Server provides an interface for developers to interact with CB Insights ChatCBI LLM through AI Agents.
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 createdchatID: 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 matterThe 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.
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.
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"
]
}
}
}
The inspector can be used to test/debug your server.
mcp dev server.py