@smcphub/site-management
v0.0.12
Published
A MCP Server for web site management assistant by SMCPHUB
Maintainers
Readme
Welcome to @smcphub/site-management 👋
A MCP Server by SMCPHUB
site-management is a site management assistant by SMCPhub.
SMCP hub is a platform that allows you to find the MCP servers which users published, or also publish your MCP Servers and get them listed and hosted on the website.
Then you can use the official MCP Client to connect to the MCP Servers you want, or use the official MCP Server to any clients that support MCP like Cursor, and maintain them in one place.
Here is the link to create a API Key.
Here is the documents.
🏠 Homepage
Install
Use the official MCP server to integrate this toolkit service:
npm i @smcphub/serverOR
yarn add @smcphub/serverMCP Server configuration
{
"mcpServers": {
"smcphub-server": {
"command": "npx",
"args": ["-y", "@smcphub/server@latest"],
"env": {
"SMCPHUB_API_KEY": "your api key",
}
}
}
}You can get your API Key from the API Key Page.
Usage
Use official MCP Client to connect to the MCP Server.
// import the SDK
import SmcphubClient from '@smcphub/client';
// Instantiate the client
const smcphubClient = new SmcphubClient({
api_key: 'your-api-key'
});
// Connect the MCP Server
smcphubClient
.connect()
.then(tools => {
console.log(tools);
})
.catch(err => {
console.error(err);
});
// Call the tool
smcphubClient
.callTool('crawl_site_urls', {'domain': 'https://smcphub.com', 'depth': 3})
.then(content => {
console.log(content);
})
.catch(err => {
console.error(err);
});Tools
crawl_site_urls: Crawl all the URLs by the specific web site and depth.save_crawled_urls: Save the specific URLs into the database.query_crawled_urls: Query all the crawled URLs by the specific web site URL in the database.generate_site_map: Generate the sitemap.xml by the specific web site URL.
Author
👤 SMCPHUB
