We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/contentful/contentful-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import {
createConceptSchemeTool,
CreateConceptSchemeToolParams,
} from './createConceptScheme.js';
import {
getConceptSchemeTool,
GetConceptSchemeToolParams,
} from './getConceptScheme.js';
import {
listConceptSchemesTool,
ListConceptSchemesToolParams,
} from './listConceptSchemes.js';
import {
updateConceptSchemeTool,
UpdateConceptSchemeToolParams,
} from './updateConceptScheme.js';
import {
deleteConceptSchemeTool,
DeleteConceptSchemeToolParams,
} from './deleteConceptScheme.js';
import type { ContentfulConfig } from '../../../config/types.js';
export function createConceptSchemeTools(config: ContentfulConfig) {
const createConceptScheme = createConceptSchemeTool(config);
const getConceptScheme = getConceptSchemeTool(config);
const listConceptSchemes = listConceptSchemesTool(config);
const updateConceptScheme = updateConceptSchemeTool(config);
const deleteConceptScheme = deleteConceptSchemeTool(config);
return {
createConceptScheme: {
title: 'create_concept_scheme',
description:
'Create a new taxonomy concept scheme in Contentful. Concept schemes organize related concepts and provide hierarchical structure for taxonomy management. The prefLabel is required and should be localized. You can optionally provide a conceptSchemeId for a user-defined ID, or let Contentful generate one automatically. You can also include definitions, notes, and references to top-level concepts.',
inputParams: CreateConceptSchemeToolParams.shape,
annotations: {
readOnlyHint: false,
destructiveHint: false,
idempotentHint: false,
openWorldHint: false,
},
tool: createConceptScheme,
},
getConceptScheme: {
title: 'get_concept_scheme',
description:
'Retrieve a specific taxonomy concept scheme from Contentful. Returns the complete concept scheme with all its properties including prefLabel, definition, topConcepts, and other metadata.',
inputParams: GetConceptSchemeToolParams.shape,
annotations: {
readOnlyHint: true,
openWorldHint: false,
},
tool: getConceptScheme,
},
listConceptSchemes: {
title: 'list_concept_schemes',
description:
'List taxonomy concept schemes in a Contentful organization. Supports pagination and filtering options. Returns a summarized view of concept schemes with essential information.',
inputParams: ListConceptSchemesToolParams.shape,
annotations: {
readOnlyHint: true,
openWorldHint: false,
},
tool: listConceptSchemes,
},
updateConceptScheme: {
title: 'update_concept_scheme',
description:
'Update a taxonomy concept scheme in Contentful. Requires the concept scheme ID and version number for optimistic concurrency control. You can update any combination of fields - only the fields you provide will be changed, while others remain unchanged. Use this to modify labels, definitions, relationships, and other concept scheme properties.',
inputParams: UpdateConceptSchemeToolParams.shape,
annotations: {
readOnlyHint: false,
destructiveHint: false,
idempotentHint: false,
openWorldHint: false,
},
tool: updateConceptScheme,
},
deleteConceptScheme: {
title: 'delete_concept_scheme',
description:
'Delete a taxonomy concept scheme from Contentful. Requires the concept scheme ID and version number for optimistic concurrency control. This operation permanently removes the concept scheme and cannot be undone.',
inputParams: DeleteConceptSchemeToolParams.shape,
annotations: {
readOnlyHint: false,
destructiveHint: true,
idempotentHint: true,
openWorldHint: false,
},
tool: deleteConceptScheme,
},
};
}