Metricool MCP connector
OAuth2.1/DCRAnalyticsMarketingMediaMetricool is a social media analytics and scheduling platform for managing, analyzing, and scheduling content across Instagram, Twitter/X, Facebook...
Metricool MCP connector
-
Install the SDK
Section titled “Install the SDK”Terminal window npm install @scalekit-sdk/nodeTerminal window pip install scalekit -
Set your credentials
Section titled “Set your credentials”Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret> -
Authorize and make your first call
Section titled “Authorize and make your first call”quickstart.ts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENV_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'metricoolmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Metricool MCP:', link)process.stdout.write('Press Enter after authorizing...')await new Promise(r => process.stdin.once('data', r))// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'metricoolmcp_getanalyticsavailablemetrics',toolInput: {},})console.log(result)quickstart.py import osfrom scalekit.client import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENV_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "metricoolmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Metricool MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="metricoolmcp_getanalyticsavailablemetrics",connection_name=connection_name,identifier=identifier,)print(result)
What you can do
Section titled “What you can do”Connect this agent connector to let your agent:
- Createscheduledpost records — Schedule a post to Metricool at a specific date and time across one or more social networks
- Getanalyticsavailablemetrics records — Get the available analytics metrics for a specific social network and connector in Metricool
- Getanalyticsdatabymetrics records — Retrieve analytical data for a Metricool account over a date range based on selected metrics
- Getbesttimetopostbynetwork records — Get the best time to post for a specific social network on a Metricool account
- Getbrandsettings records — Get the list of brands from your Metricool account
- Getscheduledposts records — Get the list of scheduled posts for a specific Metricool brand
Tool list
Section titled “Tool list”Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.
metricoolmcp_createscheduledpost#Schedule a post to Metricool at a specific date and time across one or more social networks.4 params
Schedule a post to Metricool at a specific date and time across one or more social networks.
blogIdstringrequiredBlog id of the Metricool brand accountdatestringrequiredPublication date/time. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)infostringrequiredJSON-encoded post data including providers, text, publicationDate, media, networkData, etc.mediaFilesarrayoptionalFiles from ChatGPT file picker. Each item has download_url (required), file_id (required), mime_type, file_name.metricoolmcp_getanalyticsavailablemetrics#Get the available analytics metrics for a specific social network and connector in Metricool.2 params
Get the available analytics metrics for a specific social network and connector in Metricool.
connectorstringoptionalConnector type (e.g. evolution, posts, reels, stories, competitors, hashtags, campaigns, videos)networkstringoptionalSocial network (e.g. instagram, facebook, twitter, youtube, tiktok, linkedin, pinterest, twitch, bluesky, threads, googleBusinessProfile, metaAds, facebookAds, tiktokAds, brandInfo, website, brandSummary)metricoolmcp_getanalyticsdatabymetrics#Retrieve analytical data for a Metricool account over a date range based on selected metrics.4 params
Retrieve analytical data for a Metricool account over a date range based on selected metrics.
brandIdstringrequiredBrand id of the Metricool accountfromstringrequiredStart date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)tostringrequiredEnd date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)metricsarrayoptionalList of Data Studio field IDs (e.g. IGPO01)metricoolmcp_getbesttimetopostbynetwork#Get the best time to post for a specific social network on a Metricool account.5 params
Get the best time to post for a specific social network on a Metricool account.
brandIdstringrequiredBlog id of the Metricool brand accountfromDatestringrequiredStart date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)socialNetworkstringrequiredSocial network: twitter, facebook, instagram, linkedin, youtube, or tiktoktimezonestringrequiredTimezone. Format: IANA identifiertoDatestringrequiredEnd date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)metricoolmcp_getbrandsettings#Get the list of brands from your Metricool account. Only Instagram, Facebook, Twitch, YouTube, Twitter, and Bluesky support competitors.0 params
Get the list of brands from your Metricool account. Only Instagram, Facebook, Twitch, YouTube, Twitter, and Bluesky support competitors.
metricoolmcp_getscheduledposts#Get the list of scheduled posts for a specific Metricool brand.5 params
Get the list of scheduled posts for a specific Metricool brand.
brandIdstringrequiredBlog id of the Metricool brand accountfromDatestringrequiredStart date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)timezonestringrequiredTimezone of the post. Format: IANA identifiertoDatestringrequiredEnd date. Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS±HH:MM)extendedRangebooleanoptionalWhen true, search date range is expanded one day before and after. Default: falsemetricoolmcp_updatescheduledpost#Update a scheduled post in Metricool. Requires the post id and uuid from getScheduledPosts.5 params
Update a scheduled post in Metricool. Requires the post id and uuid from getScheduledPosts.
blogIdstringrequiredBlog id of the Metricool brand accountidstringrequiredId of the post to updateinfostringrequiredJSON-encoded post data with full original content plus modificationsuuidstringrequiredUuid of the post to updatemediaFilesarrayoptionalFiles from ChatGPT file picker. Each item has download_url (required), file_id (required), mime_type, file_name.