Abell Static Site Generator MCP server

Enables AI assistants to interact with Abell static site generator for retrieving syntax documentation and scaffolding complete applications through the create-abell package.
Back to servers
Setup instructions
Provider
Saurabh Daware
Release date
Apr 11, 2025
Language
TypeScript
Stats
1 star

This MCP (Model Context Protocol) server is an experimental implementation that allows AI Agents to access various standardized operations like search, browse URLs, write/execute code, and more. It integrates with Anthropic's Claude models and provides contextual information for enhanced AI interactions.

Installation

You can install and set up the MCP server using the following steps:

Prerequisites

  • Node.js installed on your system
  • An Anthropic API key for Claude model access

Setup Instructions

  1. Clone the repository and install dependencies:
git clone https://github.com/username/abell-mcp.git
cd abell-mcp
npm install
  1. Create a .env file in the root directory with your Anthropic API key:
echo "ANTHROPIC_API_KEY=your_api_key_here" > .env
  1. Start the server:
npm start

The server will start running on http://localhost:3000 by default.

Usage

Basic Configuration

The server supports various operations that can be used by AI agents. Here's how to configure and use them:

Setting Up a Client

To connect to the MCP server from your application:

const MCP_URL = "http://localhost:3000";

// Example API call
async function callMCPServer(operation, params) {
  const response = await fetch(`${MCP_URL}/mcp/${operation}`, {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    body: JSON.stringify(params),
  });
  return await response.json();
}

Supported Operations

The server provides several operations that can be used by AI agents:

Search

Perform web searches:

const searchResults = await callMCPServer("search", {
  query: "latest AI research papers"
});

Browser

Browse and extract content from URLs:

const webContent = await callMCPServer("browser", {
  url: "https://example.com/article"
});

Code Execution

Write and run code in various languages:

const codeResults = await callMCPServer("code", {
  language: "python",
  code: "print('Hello, World!')"
});

API Endpoints

All MCP operations are accessible through the /mcp/:operation endpoint, where :operation is the name of the operation you want to perform.

Example Request

curl -X POST http://localhost:3000/mcp/search \
  -H "Content-Type: application/json" \
  -d '{"query": "latest AI research papers"}'

Example Response

{
  "type": "search_results",
  "results": [
    {
      "title": "Recent Advances in AI Research",
      "url": "https://example.com/ai-research",
      "snippet": "A comprehensive overview of the latest developments in AI..."
    },
    // Additional results...
  ]
}

Troubleshooting

If you encounter issues with the MCP server:

  • Ensure your Anthropic API key is correctly set in the .env file
  • Check that the server is running and accessible at the expected URL
  • Verify that your requests are properly formatted according to the API specifications
  • Check server logs for any error messages or warnings

For rate limiting issues, consider implementing backoff strategies in your client application.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "abell-mcp" '{"command":"npx","args":["-y","abell-mcp"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "abell-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "abell-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "abell-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "abell-mcp"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later