Skip to main content
Glama
portel-dev

NCP - Natural Context Provider

by portel-dev
test-server-notifications.ts894 B
/** * Test MCP server with notification system integration */ import { MCPServer } from '../src/server/mcp-server.js'; console.log('Testing MCP Server with Notifications...\n'); try { // Create server instance (this should initialize notifications) console.log('Creating MCP server instance...'); const server = new MCPServer('all', false, false); console.log('✓ Server created successfully\n'); console.log('✅ Notification system integrated correctly!'); console.log('\nReady for testing with Windsurf:'); console.log('1. Restart Windsurf'); console.log('2. NCP will auto-import MCPs'); console.log('3. If elicitation times out, notification will be queued'); console.log('4. Next tool call will show notification to AI'); process.exit(0); } catch (error: any) { console.error('❌ Error:', error.message); console.error(error.stack); process.exit(1); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/portel-dev/ncp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server