Nevent AI in Claude Code
Claude Code (Anthropic’s CLI tool) supports MCP servers in both stdio mode and remote HTTP mode. Nevent AI works with both.
Option A: remote HTTP mode (recommended)
Section titled “Option A: remote HTTP mode (recommended)”Connects directly to the Nevent hosted server. No local installation, no manual JWT.
Claude Code adds the server to your MCP configuration and will ask you to authenticate with your Nevent account the first time you use it.
To verify it is registered:
Option B: local stdio mode
Section titled “Option B: local stdio mode”Uses the local npm package with JWT authentication.
Step 1: get your Nevent JWT token
Section titled “Step 1: get your Nevent JWT token”The Nevent JWT token is obtained by authenticating against the Nevent Admin API. You can use the long-lived token available in your account settings at admin.nevent.es, or generate one via API:
The response includes a token field which is your NEVENT_JWT_TOKEN.
Step 2: add the MCP server to Claude Code
Section titled “Step 2: add the MCP server to Claude Code”If you have installed the package globally:
If you are using the local repo (after cloning and building):
Step 3: verify the configuration
Section titled “Step 3: verify the configuration”You should see nevent in the list of configured servers. In the first conversation where you use a Nevent tool, Claude Code will initialize the connection automatically.
Configure the operation mode
Section titled “Configure the operation mode”By default the server starts in READ_ONLY mode. To enable writes:
Or include it in the registration command:
Use in conversations
Section titled “Use in conversations”Once configured, Claude Code has access to all Nevent tools in conversations. You can invoke them directly:
Or explore the available tools: