Algolia MCP Server
for AI Agents
Connect your AI agent to StackOne's Algolia MCP server and give it 42 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
42 Agent Actions
Create, read, update, and delete across Algolia — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Algolia MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Algolia tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Algolia call.
Tools Discovery →What is the Algolia MCP Server?
A Algolia MCP server lets AI agents read and write Algolia data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Algolia MCP server ships with 42 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Algolia MCP Tools
Every action from Algolia's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Records
- Retrieve Record
Retrieves a single record by its objectID.
- Delete Record
Removes a record from an index.
A Rules
- Retrieve A Rule
Retrieves a single rule by its ID.
- Delete A Rule
Removes a rule from the index.
Index Settings
- Get Index Settings
Retrieves all settings for an index.
- Update Index Settings
Updates settings for an index.
A Synonyms
- Retrieve A Synonym
Retrieves a single synonym by its ID.
- Delete A Synonym
Removes a synonym from the index.
Other (34)
- Copy Or Move Index
Copies or moves (renames) an index within the same Algolia application.
- Send Events
Sends click, conversion, or view events to Algolia Insights API for analytics and personalization.
- Add A New Record
Adds a record to an index or replaces it with an auto-generated objectID.
- Add Or Replace Record
Adds or replaces a record with a specific objectID.
- Add Or Update Attributes
Partially updates a record by adding or modifying specific attributes.
- Create Or Replace A Rule
Creates or replaces a query rule.
- Create Or Update Rules
Creates or updates multiple rules at once.
- Create Or Replace A Synonym
Creates or updates a single synonym.
- Create Or Replace Synonyms
Creates or updates multiple synonyms at once.
- Retrieve Top Searches
Retrieves the most popular search queries.
- Retrieve Number Of Searches
Retrieves the total number of searches over time.
- Retrieve Searches No Results
Retrieves the most frequent searches without results.
- Retrieve Click Through Rate
Retrieves click-through rate analytics.
- Retrieve Average Click Position
Retrieves the average position of clicked results.
- Retrieve Top Search Results
Retrieves the most frequently returned search results.
- Retrieve Number Of Users
Retrieves the number of unique users.
- Retrieve No Results Rate
Retrieves the rate of searches returning no results.
- Retrieve Searches No Clicks
Retrieves top searches that received no clicks.
- Retrieve No Click Rate
Retrieves the rate of searches without any clicks.
- Retrieve Click Positions
Retrieves click position distribution analytics.
- List Indices
Lists all indices in your Algolia application.
- Retrieve Task Status
Gets the status of an asynchronous task.
- List API Keys
Lists all API keys associated with your Algolia application, including their permissions and restrictions.
- Get API Key Info
Retrieves the permissions and details of the current API key.
- Search For Rules
Searches for rules in your index.
- Search Single Index
Searches for records in a single index and returns matching hits.
- Search Multiple Indices
Searches across multiple indices in a single request.
- Search For Synonyms
Retrieves all synonyms for an index.
- Batch Indexing Operations On One Index
Adds, updates, or deletes records in one index with a single API request.
- Delete Index
Deletes an index and all its data.
- Delete Records Matching A Filter
Deletes all records matching filter criteria. This operation doesn't accept empty filters.
- Delete All Rules
Removes all rules from an index.
- Delete All Synonyms
Removes all synonyms from an index.
- Browse For Records
Retrieves records from an index, up to 1,000 per request.
Set Up Your Algolia MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Algolia in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Algolia MCP Server FAQ
Does StackOne have a Algolia MCP server?
Algolia MCP server vs direct API integration — what's the difference?
How does Algolia authentication work for AI agents?
origin_owner_id.Are Algolia MCP tools vulnerable to prompt injection?
What is the context bloat of a Algolia agent and how do I avoid it?
Can I limit which actions my Algolia agent can access?
Can I create custom agent actions for my Algolia MCP server?
When should I NOT use a Algolia MCP server?
What AI frameworks and AI clients does the StackOne Algolia MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.