mcp/devhub-cms

Verified Publisher

By mcp

Updated about 1 year ago

DevHub CMS LLM integration through the Model Context Protocol

Image
Machine learning & AI
0

8.6K

mcp/devhub-cms repository overview

DevHub CMS MCP Server

DevHub CMS LLM integration through the Model Context Protocol.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/devhub/devhub-cms-mcp/blob/c9f904c686a1ceec5d85709d117174d33925558a/Dockerfile
Commitc9f904c686a1ceec5d85709d117174d33925558a
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/devhub-cms --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence

Available Tools (10)

Tools provided by this ServerShort Description
create_blog_postCreate a new blog post
get_blog_postGet a single blog post
get_businessesGet all businesses within the DevHub account Returns a list of businesses with the following fields: - id: Business ID that can be used in the other tools - business_name: Business name If only one business exists in the account, you can assume that the user wants to use that business for any business_id related tools.
get_hours_of_operationGet the hours of operation for a DevHub location Returns a list of items representing days of the week Except for the special case formatting, this object is a list of 7 items which represent each day.
get_locationsGet all locations for a business Returns a list of locations with the following fields: - id: Location ID that can be used in the other tools - location_name: Location name - location_url: Location URL in DevHub - street: Street address - city: City - state: State - country: Country - postal_code: Postal code - lat: Latitude - lon: Longitude
get_nearest_locationGet the nearest DevHub location
site_from_urlGet the DevHub site ID from a URL.
update_blog_postUpdate a single blog post
update_hoursUpdate the hours of operation for a DevHub location Send a list of items representing days of the week Except for the special case formatting, this object is a list of 7 items which represent each day.
upload_imageUpload an image to the DevHub media gallery Supports webp, jpeg and png images

Tools Details

Tool: create_blog_post

Create a new blog post

ParametersTypeDescription
contentstringHTML content of blog post. Should not include a

tag, only h2+

site_idintegerWebsite ID where the post will be published. Prompt the user for this ID.
titlestringBlog post title

Tool: get_blog_post

Get a single blog post

ParametersTypeDescription
post_idintegerBlog post id

Tool: get_businesses

Get all businesses within the DevHub account

Returns a list of businesses with the following fields:
- id: Business ID that can be used in the other tools
- business_name: Business name

If only one business exists in the account, you can assume that the user wants to use that business for any business_id related tools.
Tool: get_hours_of_operation

Get the hours of operation for a DevHub location

Returns a list of items representing days of the week

Except for the special case formatting, this object is a list of 7 items which represent each day.

Each day can can have one-four time ranges. For example, two time ranges denotes a "lunch-break". No time ranges denotes closed.

Examples:
9am-5pm [["09:00:00", "17:00:00"]]
9am-12pm and 1pm-5pm [["09:00:00", "12:00:00"], ["13:00:00", "17:00:00"]]
Closed - an empty list []
ParametersTypeDescription
location_idintegerDevHub Location ID
hours_typestring optionalDefaults to 'primary' unless the user specifies a different type

Tool: get_locations

Get all locations for a business

Returns a list of locations with the following fields:
- id: Location ID that can be used in the other tools
- location_name: Location name
- location_url: Location URL in DevHub
- street: Street address
- city: City
- state: State
- country: Country
- postal_code: Postal code
- lat: Latitude
- lon: Longitude
ParametersTypeDescription
business_idinteger

Tool: get_nearest_location

Get the nearest DevHub location

ParametersTypeDescription
business_idintegerDevHub Business ID associated with the location. Prompt the user for this ID
latitudenumberLatitude of the location
longitudenumberLongitude of the location

Tool: site_from_url

Get the DevHub site ID from a URL.

Can prompt the user for the URL instead of passing a site_id.

Returns details about the Site matches the URL that can be used in the other tools.
- Site ID: ID of the DevHub site
- Site URL: URL of the DevHub site
- Site Location IDs: List of location IDs associated with the site
ParametersTypeDescription
urlstringURL of the DevHub site, all lowercase and ends with a slash

Tool: update_blog_post

Update a single blog post

ParametersTypeDescription
post_idintegerBlog post ID
contentstring optionalHTML content of blog post. Should not include a

tag, only h2+

titlestring optionalBlog post title

Tool: update_hours

Update the hours of operation for a DevHub location

Send a list of items representing days of the week

Except for the special case formatting, this object is a list of 7 items which represent each day.

Each day can can have one-four time ranges. For example, two time ranges denotes a "lunch-break". No time ranges denotes closed.

Examples:
9am-5pm [["09:00:00", "17:00:00"]]
9am-12pm and 1pm-5pm [["09:00:00", "12:00:00"], ["13:00:00", "17:00:00"]]
Closed - an empty list []
ParametersTypeDescription
location_idintegerDevHub Location ID
new_hoursarrayStructured format of the new hours
hours_typestring optionalDefaults to 'primary' unless the user specifies a different type

Tool: upload_image

Upload an image to the DevHub media gallery

Supports webp, jpeg and png images
ParametersTypeDescription
base64_image_contentstringBase 64 encoded content of the image file
filenamestringFilename including the extension

Use this MCP Server

{
  "mcpServers": {
    "devhub-cms": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DEVHUB_BASE_URL",
        "-e",
        "DEVHUB_API_KEY",
        "-e",
        "DEVHUB_API_SECRET",
        "mcp/devhub-cms"
      ],
      "env": {
        "DEVHUB_BASE_URL": "https://yourbrand.cloudfrontend.net",
        "DEVHUB_API_KEY": "YOUR_KEY_HERE",
        "DEVHUB_API_SECRET": "YOUR_SECRET_HERE"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:d09cf1f01

Size

106.8 MB

Last updated

about 1 year ago

docker pull mcp/devhub-cms

This week's pulls

Pulls:

1,281

Last week