{"_id":"@coretext-ai/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6","name":"@coretext-ai/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@coretext-ai/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6","version":"1.0.0","description":"Slack testing","type":"module","main":"dist/index.js","bin":{"slack-mcp-server-1":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","start":"node dist/index.js","watch":"tsx --watch src/index.ts","test":"jest","lint":"eslint src/**/*.ts"},"keywords":["mcp","model-context-protocol","ai","server","slack","claude","ai-tools","api-integration"],"author":{"name":"Coretext AI","email":"npm@coretext.ai"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^0.5.0","axios":"^1.6.0","dotenv":"^16.3.0"},"devDependencies":{"@types/node":"^20.0.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","eslint":"^8.42.0","jest":"^29.5.0","tsx":"^4.0.0","typescript":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/coretext-ai/slack-mcp-server-1.git"},"types":"dist/index.d.ts","engines":{"node":">=18.0.0","npm":">=8.0.0"},"_id":"@coretext-ai/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6@1.0.0","bugs":{"url":"https://github.com/coretext-ai/slack-mcp-server-1/issues"},"homepage":"https://github.com/coretext-ai/slack-mcp-server-1#readme","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-MsCx2W5H/jggzY3J9Jv2r35wJeb2ddXCPHTu1Vi/S8w+F3czPv8vcQr8fsnMW0C0Fcl1JzZovMMR0naNl4oFwg==","shasum":"6dc304274a5a429a8a035af6648f1b189cd23661","tarball":"https://registry.npmjs.org/@coretext-ai/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6/-/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6-1.0.0.tgz","fileCount":30,"unpackedSize":110929,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDDwjVCHs1t0G+x9jcNG75KSrGCidKutr+s5tYBpT9viQIhAIkp+cid3iwGA/d1dVpRrxNvrUTcWyukomYgz4a1OG47"}]},"_npmUser":{"name":"ctxmitch","email":"mitchell@coretextai.dev"},"directories":{},"maintainers":[{"name":"rugved-core","email":"rugved@coretextai.dev"},{"name":"ctxmitch","email":"mitchell@coretextai.dev"},{"name":"gerson-coretext","email":"gerson@coretextai.dev"},{"name":"dgomezcortextai","email":"daniel@coretextai.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nkpa-1-org-9ee54596-0b74-4136-9c5c-dbdd6801f1b6_1.0.0_1753893198148_0.7455803651846806"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-30T16:33:18.047Z","1.0.0":"2025-07-30T16:33:18.340Z","modified":"2025-07-30T16:33:18.754Z"},"maintainers":[{"name":"rugved-core","email":"rugved@coretextai.dev"},{"name":"ctxmitch","email":"mitchell@coretextai.dev"},{"name":"gerson-coretext","email":"gerson@coretextai.dev"},{"name":"dgomezcortextai","email":"daniel@coretextai.dev"}],"description":"Slack testing","homepage":"https://github.com/coretext-ai/slack-mcp-server-1#readme","keywords":["mcp","model-context-protocol","ai","server","slack","claude","ai-tools","api-integration"],"repository":{"type":"git","url":"git+https://github.com/coretext-ai/slack-mcp-server-1.git"},"author":{"name":"Coretext AI","email":"npm@coretext.ai"},"bugs":{"url":"https://github.com/coretext-ai/slack-mcp-server-1/issues"},"license":"MIT","readme":"# slack-mcp-server-1\n\nSlack testing\n\nThis MCP server was generated using the Template Orchestrator and includes the following integrations:\n\n## Slack Integration\n\n**Endpoints included:** 2\n- `slack_upload_file`: Upload a file to Slack\n- `slack_search_messages`: Search for messages in the workspace\n\n**Required environment variables:**\n- `SLACK_ACCESS_TOKEN`\n\n\n## Installation\n\n```bash\nnpm install @coretext-ai/slack-mcp-server-1\n```\n\n## Environment Setup\n\nCreate a `.env` file with the following variables:\n\n```env\nSLACK_ACCESS_TOKEN=your_slack_access_token_here\n\n# Centralized Log Shipping Configuration\nLOG_SHIPPING_ENABLED=true\nLOG_INGESTION_URL=https://your-log-endpoint.execute-api.region.amazonaws.com/dev/logs\nLOG_INGESTION_API_KEY=your_api_key_here\nCORETEXT_USER=your_user_id_here\nLOG_LEVEL=ERROR\nLOG_SHIPPING_BATCH_SIZE=500\nLOG_SHIPPING_INTERVAL=5000\nLOG_SHIPPING_MAX_RETRIES=3\n```\n\n## Usage\n\n### Running the server\n\n```bash\n# Development mode\nnpm run dev\n\n# Production mode\nnpm run build && npm start\n```\n\n### Using with Claude Desktop\n\nAdd this to your Claude Desktop configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"slack-mcp-server-1\": {\n      \"command\": \"npx\",\n      \"args\": [\"@coretext-ai/slack-mcp-server-1\"]\n    }\n  }\n}\n```\n\n## Available Tools\n\nThis server provides 2 tools across 1 integrations:\n\n### Slack Tools\n- **slack_upload_file**: Upload a file to Slack\n- **slack_search_messages**: Search for messages in the workspace\n\n\n## Centralized Log Shipping\n\nThis MCP server includes built-in centralized log shipping functionality that sends structured logs to a centralized endpoint for monitoring, debugging, and analytics.\n\n### Features\n\n- **Batch Processing**: Logs are batched (up to 500 logs per request) and sent every 5 seconds\n- **Retry Logic**: Automatic retry with exponential backoff for failed requests\n- **Structured Logging**: All logs include timestamps, user context, session IDs, and metadata\n- **Configurable Log Levels**: DEBUG, INFO, WARN, ERROR, FATAL\n- **Non-blocking**: Log shipping runs asynchronously to prevent MCP performance impact\n- **Graceful Degradation**: Server continues to function even if log shipping fails\n\n### Configuration\n\nEnable log shipping by setting these environment variables:\n\n```env\n# Required for log shipping\nLOG_SHIPPING_ENABLED=true\nLOG_INGESTION_URL=https://abc123.execute-api.us-east-1.amazonaws.com/dev/logs\nLOG_INGESTION_API_KEY=sk_abc123def456ghi789...\nCORETEXT_USER=user_12345\n\n# Optional configuration\nLOG_LEVEL=ERROR                    # DEBUG, INFO, WARN, ERROR, FATAL\nLOG_SHIPPING_BATCH_SIZE=500        # 1-1000 logs per batch\nLOG_SHIPPING_INTERVAL=5000         # Flush interval in milliseconds\nLOG_SHIPPING_MAX_RETRIES=3         # Max retry attempts\n```\n\n### Log Format\n\nLogs are sent in the following JSON format:\n\n```json\n{\n  \"logs\": [\n    {\n      \"timestamp\": \"2024-01-15T10:30:00.000Z\",\n      \"level\": \"INFO\",\n      \"message\": \"User action completed successfully\",\n      \"user_id\": \"user_12345\",\n      \"session_id\": \"session_67890\",\n      \"metadata\": {\n        \"action\": \"file_upload\",\n        \"file_size\": 1024,\n        \"duration_ms\": 450\n      }\n    }\n  ]\n}\n```\n\n### API Endpoint Requirements\n\nThe log ingestion endpoint must:\n- Accept POST requests to `/logs`\n- Require `x-api-key` header for authentication\n- Accept JSON payloads with `logs` array\n- Return appropriate HTTP status codes (200, 400, 401, 429, 500)\n\n### Monitoring\n\nThe server tracks log shipping health and provides status information including:\n- Last successful flush timestamp\n- Current queue size\n- Configuration status\n- Error tracking and retry counts\n\n### Troubleshooting\n\nCommon issues and solutions:\n\n1. **Logs not appearing**: Check `LOG_SHIPPING_ENABLED=true` and API credentials\n2. **401 Authentication errors**: Verify `LOG_INGESTION_API_KEY` is correct\n3. **429 Rate limiting**: Increase `LOG_SHIPPING_INTERVAL` or reduce `LOG_SHIPPING_BATCH_SIZE`\n4. **SSL/TLS errors**: Ensure `LOG_INGESTION_URL` uses HTTPS protocol\n\n### Privacy and Security\n\n- Log shipping is disabled by default\n- No sensitive data (API keys, tokens) is included in log content\n- All communication uses HTTPS with API key authentication\n- User identification is limited to the `CORETEXT_USER` environment variable\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Run in development mode\nnpm run dev\n\n# Build\nnpm run build\n\n# Run tests\nnpm run test\n\n# Lint\nnpm run lint\n```\n\n## Generated Information\n\n- **Generated at**: Wed Jul 30 2025 16:31:36 GMT+0000 (Coordinated Universal Time)\n- **Orchestrator version**: 1.0.0\n- **Template repository**: Coretext-AI-Dev/server-template-v2\n- **Total endpoints**: 2\n\n## License\n\nMIT","readmeFilename":"README.md","_rev":"1-ea387e444fa28d4b2f2e6270df4d6a32"}