Skip to content

Commit f77b784

Browse files
authored
feat: add Contentful MCP server definition (#35)
* Add Contentful MCP server definition Official Contentful MCP server for managing spaces, content types, entries, and assets. Uses @contentful/mcp-server npm package with stdio transport. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for CONTENTFUL_MANAGEMENT_ACCESS_TOKEN) * fix: rename server files with transport suffix - com.contentful-mcp.json -> com.contentful-mcp-npx.json (id: com.contentful-mcp-npx) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> --------- Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent ec720e9 commit f77b784

1 file changed

Lines changed: 87 additions & 0 deletions

File tree

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.contentful-mcp-npx",
4+
"name": "Contentful (npx)",
5+
"alias": "contentful",
6+
"description": "Manage Contentful spaces, content types, entries, and assets. Create and update structured content through the Content Management API.",
7+
"icon": "https://avatars.githubusercontent.com/u/472182?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"productivity"
12+
],
13+
"tags": [
14+
"contentful",
15+
"cms",
16+
"headless-cms",
17+
"content",
18+
"api"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "npx",
23+
"args": [
24+
"-y",
25+
"@contentful/mcp-server"
26+
],
27+
"env": {
28+
"CONTENTFUL_MANAGEMENT_ACCESS_TOKEN": "${input:CONTENTFUL_MANAGEMENT_ACCESS_TOKEN}",
29+
"SPACE_ID": "${input:SPACE_ID}"
30+
},
31+
"metadata": {
32+
"inputs": [
33+
{
34+
"id": "CONTENTFUL_MANAGEMENT_ACCESS_TOKEN",
35+
"label": "Contentful Management Token",
36+
"description": "Content Management API token for your Contentful space.",
37+
"type": "text",
38+
"required": true,
39+
"secret": true,
40+
"placeholder": "CFPAT-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
41+
"obtain": {
42+
"url": "https://app.contentful.com/account/profile/cma_tokens",
43+
"instructions": "1. Go to app.contentful.com > Settings > CMA Tokens\n2. Click 'Generate personal token'\n3. Name your token and click 'Generate'\n4. Copy the token (starts with CFPAT-)",
44+
"button_label": "Generate Token"
45+
}
46+
},
47+
{
48+
"id": "SPACE_ID",
49+
"label": "Contentful Space ID",
50+
"description": "The ID of the Contentful space to work with.",
51+
"type": "text",
52+
"required": true,
53+
"secret": false,
54+
"placeholder": "xxxxxxxxxxxx",
55+
"obtain": {
56+
"url": "https://app.contentful.com/",
57+
"instructions": "1. Go to app.contentful.com\n2. Open your space\n3. Go to Settings > General settings\n4. Copy the Space ID",
58+
"button_label": "Get Space ID"
59+
}
60+
}
61+
]
62+
}
63+
},
64+
"auth": {
65+
"type": "api_key",
66+
"instructions": "Get a CMA token at https://app.contentful.com/account/profile/cma_tokens"
67+
},
68+
"contributor": {
69+
"name": "Contentful",
70+
"github": "contentful",
71+
"url": "https://www.contentful.com"
72+
},
73+
"links": {
74+
"repository": "https://github.com/contentful/contentful-mcp-server",
75+
"homepage": "https://www.contentful.com",
76+
"documentation": "https://www.contentful.com/developers/docs/"
77+
},
78+
"platforms": [
79+
"all"
80+
],
81+
"capabilities": {
82+
"tools": true,
83+
"resources": false,
84+
"prompts": false,
85+
"read_only_mode": false
86+
}
87+
}

0 commit comments

Comments
 (0)