Amplemarket Knowledge Base MCP Server
Enables access to Amplemarket's knowledge base through Pylon's API. Supports searching articles, retrieving full content, and browsing collections with built-in caching for improved performance.
README
MCP Amplemarket Knowledge Base Server
A Model Context Protocol (MCP) server that provides seamless access to the Amplemarket Knowledge Base via Pylon's API. Designed specifically for Claude Desktop and other MCP-compatible clients.
Features
- 🔍 Smart Search: Search through Amplemarket articles by title and content
- 📄 Article Access: Retrieve full article content by ID or slug
- 📚 Complete Catalog: Get all available Amplemarket articles at once
- 🌐 Resource Support: Access articles via URI scheme
- ⚡ Fast Caching: Built-in 60-second cache to reduce API calls
- 🔒 Secure: Environment-based API token configuration
- 🎯 Focused: Hardcoded for Amplemarket knowledge base - no configuration needed
Setup
-
Install dependencies:
npm install -
Configure your API key:
cp .env.example .envThen edit the
.envfile and add your Pylon API token:PYLON_API_TOKEN=your_actual_api_token_hereImportant: Replace
your_actual_api_token_herewith your real Pylon API token. You can get this token from your Pylon dashboard. -
Build the project:
npm run build -
Test the server:
npm start
Configuration
Environment Variables
PYLON_API_TOKEN: Your Pylon API token (required)
Claude Desktop Integration
Add to your Claude Desktop mcp.json configuration:
{
"mcpServers": {
"pylon-kb": {
"command": "node",
"args": ["./dist/src/index.js"],
"cwd": "/path/to/mcp-pylon-kb",
"env": {
"PYLON_API_TOKEN": "your_actual_api_token_here"
}
}
}
}
Note: Replace
/path/to/mcp-pylon-kbwith the actual path to this project directory, andyour_actual_api_token_herewith your real Pylon API token.
Tools
kb.search
Search for articles in the knowledge base.
Parameters:
query(string, required): Search querylimit(number, optional): Maximum results (1-100, default: 10)collectionId(string, optional): Limit search to specific collection
kb.getArticle
Get a specific article by ID or slug.
Parameters:
id(string, optional): Article IDslug(string, optional): Article slug
Note: Either id or slug must be provided.
kb.getCollection
Get collection metadata and articles.
Parameters:
id(string, required): Collection ID
Resources
The server supports the pylon-article:// URI scheme:
pylon-article://<article-id>- Get article by IDpylon-article://<article-slug>- Get article by slugpylon-article://help- Get resource usage help
API Client
The Pylon API client (src/pylon.ts) handles:
- Authentication with Bearer token
- HTTP requests via undici
- HTML to text conversion
- In-memory caching with TTL
- Error handling
Development
# Install dependencies
npm install
# Build
npm run build
# Development mode (build + run)
npm run dev
# Run tests
npm test
Project Structure
mcp-pylon-kb/
├── package.json
├── tsconfig.json
├── .env.example
├── README.md
├── src/
│ ├── index.ts # MCP server entry point
│ ├── pylon.ts # Pylon API client
│ ├── schema.ts # Zod validation schemas
│ └── tools/ # MCP tool implementations
│ ├── kbSearch.ts
│ ├── kbGetArticle.ts
│ └── kbGetCollection.ts
└── tests/
├── htmlToText.test.ts
└── searchAdapter.test.ts
Security
- API tokens are never logged or exposed in responses
- All sensitive data is read from environment variables
- Input validation with Zod schemas
- Error messages don't leak sensitive information
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.