pointa-server
v0.3.0
Published
Global MCP server for Pointa browser extension
Maintainers
Readme
pointa-server
Global MCP server for Pointa browser extension.
Quick Start
No installation required! Just add the MCP server to your AI coding tool:
Cursor (Recommended)
- Open Cursor → Settings → Cursor Settings
- Go to the Tools & Integrations tab
- Click + Add new global MCP server
- Enter the following configuration and save:
{
"mcpServers": {
"pointa": {
"command": "npx",
"args": ["-y", "pointa-server"]
}
}
}That's it! The server will auto-start when Cursor opens and works with the Chrome extension.
Port Configuration (Optional)
By default, the server runs on port 4242 (a nod to "42" - the answer to life, the universe, and everything 🌌).
If this port is already in use, you can change it:
# Use a custom port
POINTA_PORT=4243 pointa-server start
# Or set it permanently in your shell config
export POINTA_PORT=4243Note: If you change the port, you'll also need to update:
- Chrome extension settings (to connect to the new port)
- Any custom configurations pointing to the server
Manual Server Management (Optional)
For advanced users who want to manually control the server:
Start the server
npx pointa-server startThe server will run in the background on port 4242.
Stop the server
npx pointa-server stopCheck server status
npx pointa-server statusRestart the server
npx pointa-server restartView logs
npx pointa-server logs
# or follow logs
npx pointa-server logs -fAI Coding Agent Integration
The server supports multiple AI coding tools via MCP (Model Context Protocol).
Claude Code
Option 1: Manual start (recommended for Claude Code):
# Start server once
npx pointa-server start
# Then add MCP connection
claude mcp add --transport http pointa http://127.0.0.1:4242/mcpOption 2: Auto-start (experimental):
claude mcp add --command "npx -y pointa-server"Cursor (Auto-start)
Recommended setup - server starts automatically:
{
"mcpServers": {
"pointa": {
"command": "npx",
"args": ["-y", "pointa-server"]
}
}
}Alternative - manual server management:
First start the server manually: npx pointa-server start
Then use:
{
"mcpServers": {
"pointa": {
"url": "http://127.0.0.1:4242/mcp"
}
}
}Windsurf
Recommended setup - server starts automatically:
{
"mcpServers": {
"pointa": {
"command": "npx",
"args": ["-y", "pointa-server"]
}
}
}Alternative - manual server management:
First start the server: npx pointa-server start
Then use:
{
"mcpServers": {
"pointa": {
"serverUrl": "http://127.0.0.1:4242/mcp"
}
}
}VS Code
- Install an AI extension that supports MCP (like GitHub Copilot Chat or Continue)
- Start the server manually:
npx pointa-server start - Configure your AI extension with the MCP endpoint:
http://127.0.0.1:4242/mcp
Note: MCP support and configuration varies by AI extension. Check your extension's documentation for specific setup instructions.
Other Editors
For other code editors that support MCP:
If your editor supports command-based MCP:
{
"mcpServers": {
"pointa": {
"command": "npx",
"args": ["-y", "pointa-server"]
}
}
}If your editor only supports URL-based MCP:
Start the server manually: npx pointa-server start
Then configure your editor with: http://127.0.0.1:4242/mcp
Note: The Pointa MCP server supports HTTP, SSE, and stdio transports for maximum compatibility.
Architecture
The server provides:
- SSE Endpoint (
/sse): For AI coding agent MCP connections - HTTP API (
/api/annotations): For Chrome extension communication - Image Upload (
/api/upload-image): For uploading annotation images - Health Check (
/health): For status monitoring
Data is stored in:
- Annotations:
~/.pointa/annotations.json - Images:
~/.pointa/images/{annotationId}/{filename}
Development
# Clone the repository
git clone <repo-url>
cd pointa/annotations-server
# Install dependencies
npm install
# Run in development mode
npm run devLicense
MIT
