MCP Server
Connect AI assistants and automation tools to Oktopost through the Model Context Protocol integration.
The Oktopost MCP Server provides a comprehensive integration layer that enables AI assistants like Claude and ChatGPT, along with automation platforms, to interact directly with your Oktopost account. Through the Model Context Protocol, you can create campaigns, schedule posts, manage approvals, and streamline social media operations using natural language.
What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to securely access external systems and data. The Oktopost MCP Server implements this protocol, giving AI tools structured access to your Oktopost workspace while respecting your permissions and access controls.
Supported Platforms
The MCP Server works with multiple platforms through different authentication methods:
- Claude Desktop - Local configuration with API keys
- ChatGPT - OAuth-based cloud integration
- Claude (Web) - OAuth-based cloud integration
- Automation Tools - n8n, Make, and other platforms via Basic Auth
Available Capabilities
Campaign Management
Create and manage campaigns to organize your social media content.
- create_campaign - Create a new campaign with name, URL, and tags
- get_campaign_by_id - Retrieve campaign details by ID
- list_campaigns - List campaigns with optional filters
Content Creation
Build and manage reusable content assets for your social posts.
- create_message - Create a message with links or media attachments
- get_message_by_id - Retrieve message details by ID
- list_messages - List messages by campaign or message IDs
Post Publishing
Schedule and manage posts across your connected social networks.
- create_post - Create a social post, optionally sending to approval workflow
- update_post - Modify an unsent post
- get_post - Retrieve post details with optional analytics
- list_social_posts - List social posts by ID
- get_social_post - Get a single post with optional performance stats
Media Management
Upload and organize images, videos, and other media assets.
- create_media - Create a media asset from a public image URL
- list_media - List media assets with optional filters
- get_media - Retrieve media details by ID
- create_upload - Create a media upload request from a public URL
- list_uploads - List uploads with filters
- get_upload - Get upload details by ID
Calendar & Planning
View and manage your content calendar.
- get_calendar - Retrieve calendar data with optional date and profile filters
Social Profiles
Access your connected social media accounts.
- list_social_profiles - List all connected social profiles
- get_social_profile - Get details for a specific profile by ID
Approval Workflows
Manage content approval processes and add review notes.
- list_workflows - List all approval workflows and their steps
- list_workflow_items - View messages and posts pending approval
- process_workflow_item - Approve or reject an item with optional notes
- list_workflow_item_notes - List review notes for a post or message
- add_workflow_item_note - Add a review note to workflow items
Employee Advocacy
Manage your advocacy boards, topics, and stories.
- list_boards - List all advocacy boards
- list_board_topics - List topics for organizing advocacy content
- create_board_topic - Create a new board topic
- list_board_stories - List stories in a board
- create_board_story - Create a new advocacy story
- update_board_story - Update an existing story
User Management
Access user information and permissions.
- list_users - List users with basic information
- get_user - Get detailed information for a specific user
Feedback
Share feedback directly from your AI assistant.
- send_feedback - Send bug reports or feature requests to Oktopost
Setup & Authentication
The MCP Server supports multiple authentication methods depending on how you're connecting.
Claude Desktop (Local Setup)
Connect Claude Desktop to your Oktopost account using local configuration with API credentials.
Prerequisites
- Node.js v20 or higher installed on your machine
- Your Oktopost Account ID
- Your Oktopost API Key (from My Profile)
- Your Account Region (US or EU)
Configuration Steps
- Open Claude Desktop and go to Settings → Developer
- Click Edit Config to open
claude_desktop_config.json - Add the Oktopost MCP Server configuration:
{
"mcpServers": {
"oktopost": {
"command": "npx",
"args": ["oktopost-mcp"],
"env": {
"OKTOPOST_ACCOUNT_REGION": "us",
"OKTOPOST_ACCOUNT_ID": "your_account_id_here",
"OKTOPOST_API_KEY": "your_api_key_here"
}
}
}
}- Save the file and restart Claude Desktop
- The Oktopost tools will now be available in your conversations
Replace your_account_id_here and your_api_key_here with your actual credentials. Set OKTOPOST_ACCOUNT_REGION to us or eu based on your account's data center.
ChatGPT & Claude Web (OAuth)
Cloud-based AI assistants connect via OAuth for secure, permission-aware access.
Authorization Flow
- Navigate to the MCP integrations section in ChatGPT or Claude
- Search for "Oktopost" and click Connect
- You'll be redirected to Oktopost to approve the connection
- Review the requested permissions and click Authorize
- You'll be redirected back to your AI assistant with access enabled
The OAuth flow ensures the MCP Server only has access to resources permitted by your Oktopost role and permissions.
Automation Platforms (Basic Auth)
Connect automation tools like n8n, Make, or custom scripts using Basic HTTP Authentication.
Connection Details
- Endpoint:
https://mcp.oktopost.com - Authentication Method: Basic Auth
- Username: Your Oktopost Account ID
- Password: Your Oktopost API Key
Example Configuration (n8n)
- Add an HTTP Request node
- Set the URL to
https://mcp.oktopost.com/tools/{tool_name} - Under Authentication, select Basic Auth
- Enter your Account ID as the username
- Enter your API Key as the password
Keep your API credentials secure. Never commit them to version control or share them publicly. Use environment variables or secure credential management systems.
Use Cases
Content Creation with AI
Ask Claude or ChatGPT to help you:
- Draft social posts for multiple networks
- Create campaigns and organize content
- Schedule posts to your calendar
- Upload and attach media to posts
Example: "Create a LinkedIn post about our new product launch, schedule it for tomorrow at 10am, and attach the product image from our media library."
Approval Workflow Management
Use AI to streamline your approval process:
- Review pending posts and messages
- Approve or reject items with feedback
- Add review notes for your team
- Check workflow status
Example: "Show me all posts pending approval, then approve the LinkedIn post about the webinar and add a note suggesting we include registration numbers."
Employee Advocacy
Manage your advocacy program through conversation:
- Create and organize board stories
- Add topics for content categorization
- Update story details and messaging
- Review board performance
Example: "Create a new advocacy story about our latest case study, add it to the 'Customer Success' topic, and include messages for LinkedIn and Twitter."
Analytics & Reporting
Query your social performance data:
- Get post analytics and engagement metrics
- Review calendar schedules
- Check profile performance
- Monitor campaign results
Example: "Show me the analytics for our posts from last week and tell me which one performed best."
Security & Permissions
Permission-Aware Access
The MCP Server respects your Oktopost permissions:
- Users can only access resources they have permissions for
- API actions are subject to the same role-based access controls as the Oktopost platform
- OAuth connections are limited to explicitly approved scopes
Data Privacy
- All communication uses HTTPS encryption
- API credentials are never logged or stored by the MCP Server
- OAuth tokens can be revoked at any time from your Oktopost account settings
Best Practices
- Use the minimum required permissions - Only grant access to tools you need
- Rotate API keys regularly - Generate new keys periodically for enhanced security
- Monitor usage - Review API activity in your Oktopost account
- Revoke unused connections - Remove OAuth connections you no longer use
Troubleshooting
Connection Issues
Problem: Claude Desktop doesn't show Oktopost tools
Solution:
- Verify your
claude_desktop_config.jsonis saved correctly - Restart Claude Desktop completely
- Check that Node.js v20+ is installed:
node --version - Verify your credentials are correct
Problem: "Authentication failed" errors
Solution:
- Confirm your Account ID and API Key are correct
- Check that your API Key hasn't expired
- Verify the region matches your account (US vs EU)
Permission Errors
Problem: "403 Forbidden" or "Permission denied" responses
Solution:
- Verify your Oktopost user role has access to the requested resource
- Check that you have the necessary permissions in your account settings
- Contact your Oktopost administrator to request additional permissions
OAuth Issues
Problem: OAuth authorization fails or loops
Solution:
- Clear your browser cookies and try again
- Use an incognito/private browsing window
- Verify you're logged into the correct Oktopost account
- Check if your organization has SSO requirements
Support
Getting Help
If you encounter issues or have questions:
- Check the Documentation - Review this guide and the API Reference
- Search Issues - Check GitHub Issues for similar problems
- Contact Support - Email help@oktopost.com for assistance
Reporting Bugs
Found a bug? Help us improve by:
- Opening a GitHub Issue
- Including your setup details (platform, authentication method)
- Providing steps to reproduce the issue
- Sharing any error messages (with credentials redacted)
You can also use the send_feedback tool directly from your AI assistant to report issues.
Resources
- GitHub Repository: github.com/Oktopost/oktopost-mcp
- Help Center: help.oktopost.com
- MCP Specification: modelcontextprotocol.io
License
The Oktopost MCP Server is provided under the Apache License 2.0.
Oktopost customers may use this implementation in accordance with the Oktopost platform's Terms and Conditions. Developers are free to review the source code, modify it, and build their own MCP Server implementations for Oktopost, subject to the Apache 2.0 license terms.
Next Steps
Ready to get started? Here's what to do next:
- Choose your platform - Decide if you'll use Claude Desktop, ChatGPT, or an automation tool
- Set up authentication - Follow the setup instructions for your chosen platform
- Test the connection - Try a simple command like listing campaigns
- Explore capabilities - Experiment with different tools and use cases
- Integrate into workflows - Build AI-powered social media workflows
For technical questions or partnership inquiries, contact our team at help@oktopost.com.