aiquila
Connect Claude AI to your Nextcloud via the Model Context Protocol. Browse, search, and manage files through natural conversation.
claude mcp add --transport stdio elgorro-aiquila node server.js \ --env CLAUDE_MODEL="claude-2" \ --env NEXTCLOUD_URL="https://cloud.example.com" \ --env CLAUDE_API_KEY="<your Claude API key>" \ --env NEXTCLOUD_PASSWORD="<nextcloud-password>" \ --env NEXTCLOUD_USERNAME="<nextcloud-username>"
How to use
AIquila provides an MCP Server that bridges Claude AI with your self-hosted Nextcloud instance. Once running, Claude can browse and manage your Nextcloud data through natural conversation, including files, notes, tasks, bookmarks, and recipes. This enables Claude to read from and write to your Nextcloud repository without exposing your data to the public web, giving you the benefits of Claude’s AI capabilities while keeping control on your own server. The MCP server focuses on secure access and context sharing, so Claude can leverage your Nextcloud context during chats and tool-assisted tasks.
To use the server, authenticate with your Nextcloud instance and Claude API, then interact with Claude as you normally would in a chat. The MCP layer handles contextual access to Nextcloud resources, translating conversational intents into file operations, note creation, task management, and query actions against your stored data. Ensure your Claude API key and Nextcloud credentials are configured in the environment, and Docker or your hosting environment can reach your Nextcloud URL for seamless integration.
How to install
Prerequisites:
- Node.js (LTS version recommended) installed on the host where you will run the MCP Server
- Git installed to clone the repository
- Access to a Claude API key and a Nextcloud instance with appropriate permissions
Step-by-step installation:
- Clone the MCP server repository:
git clone https://github.com/elgorro/aiquila.git
cd aiquila
- Install dependencies:
npm install
- Configure environment variables. Create a local environment file or set vars in your hosting environment. Example (adjust values):
NEXTCLOUD_URL=https://cloud.example.com
CLAUDE_API_KEY=your-claude-api-key
CLAUDE_MODEL=claude-2
NEXTCLOUD_USERNAME=your-username
NEXTCLOUD_PASSWORD=your-password
- Start the MCP Server:
node server.js
- Verify accessibility. The MCP server should start and listen for MCP requests from Claude clients. If you’re deploying behind a reverse proxy, ensure the appropriate routes are forwarded.
Optional: For production, consider running under a process manager (pm2, systemd) and securing traffic with TLS. Ensure environment variables are supplied by your hosting environment and not committed to source control.
Additional notes
Notes and tips:
- Claude API access is required; ensure your API key has the necessary permissions for model operations.
- The MCP server acts as a gatekeeper between Claude and Nextcloud. Ensure Nextcloud user credentials have permissions to read/write the needed resources.
- If Nextcloud is behind a firewall, whitelist the MCP server’s outbound IPs to allow Claude interactions.
- Monitor for rate limits on Claude or Nextcloud requests and implement retry/backoff as needed in your deployment.
- Use environment variable-based configuration in production to avoid leaking secrets. Consider mounting a .env file or using secret management provided by your hosting platform.
Related MCP Servers
minima
On-premises conversational RAG with configurable containers
mcp -code-execution-mode
An MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Implementation of Anthropic's and Cloudflare's ideas for reducing MCP tool definitions context bloat.
mcp-telegram
MCP Server for Telegram
boilerplate
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP integrations via Node.js.
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
fcpxml
🎬 The first AI-powered MCP server for Final Cut Pro XML. Control your edits with natural language.