GitHub Copilot
Set up GitHub Copilot to manage your social accounts with dopost.
Set up GitHub Copilot to manage your social accounts with dopost.
GitHub Copilot is GitHub's AI assistant. In VS Code, its agent chat uses the MCP servers configured in the editor. This guide does not configure the separate cloud coding agent on github.com.
Check the API access requirements before connecting your workspace.
Add the hosted server in VS Code 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 GitHub Copilot call the REST API
Agents that run shell commands and need to upload files from disk.
Where to configure it: The environment where GitHub Copilot 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_keyStart a new conversation and ask:
Use dopost to list my connected social accounts.
Check that the returned accounts belong to the workspace you authorized.
Write an X post about the user-facing changes in this pull request, leaving out internal links. Schedule it for Thursday at 11:00.
Use the screenshot of the new settings page from our dopost library in a Threads post for Friday at 10:00.
Read this bug fix and write a LinkedIn post about the problem it solves for customers. Keep the implementation details out and schedule it tomorrow at 10: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.
Switch the chat to Agent mode and enable the dopost tools in the tool picker.
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.