A NEXT Model Context Protocol (MCP) server that provides tools for interacting NEXT data.
This MCP server allows Large Language Models (LLMs) like Claude to interact with NEXT structured data. It provides tools for:
- Getting highlights
- Getting cluster
The server is built using TypeScript and the MCP SDK, providing a secure and standardized way for LLMs to interface with NEXT.
- Node.js 18 or higher
- npm
- NEXT api key
- Install via npm:
# Install globally via npm
npm install -g @collaborne/mcp-server
# Or as a dependency in your project
npm install @collaborne/mcp-server
- If building from source:
# Clone the repository
git clone https://github.com/Collaborne/mcp-server.git
cd mcp-server
# Install dependencies and build
npm install
npm run build
- Configure NEXT access:
Create a .env
file with your AWS configuration:
API_KEY=your-api-key
Or set these as environment variables.
The server can be configured using the following environment variables:
Variable | Description | Default |
---|---|---|
API_KEY |
NEXT api key that you can generate from your settings | `` |
You can run the server with Node.js:
# Using npx (without installing)
npx @collaborne/mcp-server
# If installed globally
npm install -g @collaborne/mcp-server
cd mcp-server
# If running from cloned repository
npm start
# Or directly
node dist/index.js
To debug the server using MCP Inspector, you can run sh run-inspector.sh
sh run-inspector.sh
To use this server with Claude Desktop:
-
Edit your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the NEXT MCP server to the configuration:
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": ["@collaborne/mcp-server"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Important: Please note the following when using the configuration above
- Replace
NEXT_API_KEY
with your actual api key from next team-space. Access to the NEXT API is scoped to a specific team-space. Each API token is bound to one team-space and cannot access data outside of it.
If you encounter errors with the above configuration in Claude Desktop, try using absolute paths as follows:
# Get the path of node and mcp-server
which node
which @collaborne/mcp-server
{
"globalShortcut": "",
"mcpServers": {
"next": {
"command": "your-absolute-path-to-node",
"args": ["your-absolute-path-to-mcp-server/dist/index.js"],
"env": {
"API_KEY": "your-api-key",
}
}
}
}
Lists available NEXT highlights that the server has permission to access. This tool is limited to one team-space
Parameters:
searchFilters
(required): filters for highlights based on the user query
Example input:
What are the user frustrations and issues mentioned in the last week
Example output:
{
"searchFilters": {
"dateFilter": "last week",
"typeFilters": [
"Pain Point"
]
}
}
Lists available NEXT clusters that the server has permission to access. This tool is limited to one team-space
Parameters:
searchQuery
(required): search query for clusters based on the user query
Example input:
Summarize the main topics
Example output:
{
"searchQuery": "main topics"
}
- The server will only access team-space specific data
When interacting with Claude in the desktop app, you can ask it to perform NEXT operations like:
- "Summarize highlights about X topic"
- "What are the main pain points mentioned in clusters"
Claude will use the appropriate MCP tool to carry out the request and show you the results.
MIT