Contentful Delivery MCP Server
Contentful Delivery MCP-Server
Ein Model Context Protocol (MCP)-Server, der über KI-Assistenten nahtlosen Zugriff auf die Delivery API von Contentful bietet. Fragen Sie Inhaltseinträge, Assets und Inhaltstypen in natürlicher Sprache ab und rufen Sie sie ab.
Schnellstart
Installieren Sie das Paket in Ihrem Projekt:
npm install @mshaaban0/contentful-delivery-mcp-serverOder global:
npm install -g @mshaaban0/contentful-delivery-mcp-serverRichten Sie Ihre Contentful-Anmeldeinformationen ein:
export CONTENTFUL_SPACE_ID="your_space_id"
export CONTENTFUL_ACCESS_TOKEN="your_access_token"
# Optional: Restrict content to specific content types
export CONTENTFUL_CONTENT_TYPE_IDS="blogPost,article,product"Related MCP server: azure-devops MCP Server
Merkmale
Abfragen in natürlicher Sprache zum Suchen von Inhalten
Abrufen von Einträgen nach ID oder Inhaltstyp
Vermögensverwaltung
Zugriff auf das Inhaltstypschema
Paginierungsunterstützung
Handhabung von Rich-Text-Inhalten
Verfügbare Tools
query_entries– Natürliche Sprachsuche über alle Inhalte hinwegget_entry- Bestimmten Eintrag nach ID abrufenget_entries- Einträge mit Filter auflistenget_assets- Alle Assets durchsuchenget_asset- Assetdetails nach ID abrufenget_content_type- Inhaltstypschema anzeigenget_content_types– Listet verfügbare Inhaltstypen auf
Integration mit Mastra AI
Mastra AI bietet eine nahtlose Integration mit diesem MCP-Server. So richten Sie es ein:
import { MastraMCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
// Initialize the MCP client
const contentfulClient = new MastraMCPClient({
name: "contentful-delivery",
server: {
command: "npx",
args: ["-y", "@mshaaban0/contentful-delivery-mcp-server@latest"],
env: {
CONTENTFUL_ACCESS_TOKEN: "your_access_token",
CONTENTFUL_SPACE_ID: "your_space_id",
// Optional: Restrict content to specific content types
CONTENTFUL_CONTENT_TYPE_IDS: "blogPost,article,product"
}
}
});
// Create an AI agent with access to Contentful
const assistant = new Agent({
name: "Content Assistant",
instructions: `
You are a helpful assistant with access to our content database.
Use the available tools to find and provide accurate information.
`,
model: "gpt-4",
});
// Connect and register tools
await contentfulClient.connect();
const tools = await contentfulClient.tools();
assistant.__setTools(tools);
// Example usage
const response = await assistant.chat("Find articles about machine learning");Entwicklung
# Clone the repo
git clone https://github.com/mshaaban0/contentful-delivery-mcp-server.git
# Install dependencies
npm install
# Build
npm run build
# Development with auto-rebuild
npm run watch
# Run the inspector
npm run inspectorDebuggen
Der MCP Inspector bietet eine Weboberfläche zum Debuggen:
npm run inspectorBesuchen Sie die angegebene URL, um auf die Debugging-Tools zuzugreifen.
Ressourcen
Sicherheitsüberprüfungen
Lizenz
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
An MCP server that used to create notes
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that enables users to manage text notes with features like note creation and summary generation using a Model Context Protocol.1
- AlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.121,0283MIT
- AlicenseCqualityFmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes through Claude Desktop.11,9411MIT
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.23
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mshaaban0/contentful-delivery-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server