VS Code
Set up VS Code to manage your social accounts with dopost.
Set up VS Code to manage your social accounts with dopost.
Visual Studio Code is Microsoft's code editor. Its agent chat can call tools from MCP servers listed in .vscode/mcp.json or in your user configuration, subject to your organization's policy.
Check the API access requirements before connecting your workspace.
Add the hosted server, trust it and sign in
Sign in to dopost to connect your accounts. No API key is needed.
Where to configure it: .vscode/mcp.json
{
"servers": {
"dopost": { "type": "http", "url": "https://mcp.dopost.co/mcp" }
}
}{
"servers": {
"dopost": { "type": "http", "url": "https://mcp.dopost.co/mcp" }
}
}Install the dopost skill and let VS Code call the REST API
Agents that run shell commands and need to upload files from disk.
Where to configure it: The environment where VS Code runs commands
Create the key in Settings → API keys, in the workspace you want to connect. Select the permissions for the actions you will use; analytics needs analytics:read. Store the key in the environment or the client's credential field.
npx skills add dopost-co/skills -a github-copilot
export DOPOST_API_KEY=dpk_live_your_keynpx skills add dopost-co/skills -a github-copilot
export DOPOST_API_KEY=dpk_live_your_keyRun the dopost MCP server locally inside VS Code
Local file uploads and clients without remote MCP support.
Where to configure it: VS Code's local MCP configuration
Create the key in Settings → API keys, in the workspace you want to connect. Select the permissions for the actions you will use; analytics needs analytics:read. Store the key in the environment or the client's credential field.
{
"servers": {
"dopost": {
"command": "npx",
"args": ["-y", "@dopost/mcp-server"],
"env": { "DOPOST_API_KEY": "dpk_live_your_key" }
}
}
}{
"servers": {
"dopost": {
"command": "npx",
"args": ["-y", "@dopost/mcp-server"],
"env": { "DOPOST_API_KEY": "dpk_live_your_key" }
}
}
}Start a new conversation and ask:
Use dopost to list my connected social accounts.
Check that the returned accounts belong to the workspace you authorized.
Use this feature spec to write a LinkedIn post with the main benefit and a practical use case. Schedule it for Tuesday at 10:00.
Use the release screenshot in our dopost library for an Instagram post on Wednesday at 18:00.
Use this example file to write an X thread explaining how to use the new API. Include a short code snippet and a link to the docs. Schedule it tomorrow at 11:00.
Compare my accounts' performance over the last 30 days and show my best-performing posts. Include when the data was last updated.
You need analytics:read. See the MCP reference or the analytics endpoints, depending on your connection method. Available metrics depend on the platform and collected data.
Your organization may restrict MCP servers. Ask an administrator to allow dopost, then start the server again.
Check that the workspace has a Creator, Pro or Agency plan and the credential includes the action's permissions. For analytics, check analytics:read. Existing credentials do not receive new permissions automatically.
Reconnect dopost and approve the required workspaces and permissions. Then refresh the client's MCP connection and start a new conversation.
Check that the key is active and belongs to the correct workspace. For the Skill or local server, check that the agent process receives DOPOST_API_KEY. A remote MCP client using a token needs Authorization: Bearer <key>; REST calls use x-api-key.
Check the authorized workspace, connected accounts, and date range. Analytics may be partial or not yet available. Do not treat missing values as zero; inspect the returned freshness and coverage information.