postlayer-connect
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_API_KEY | No | X (Twitter) API key. | |
| X_API_SECRET | No | X (Twitter) API secret. | |
| REDDIT_CLIENT_ID | No | Reddit OAuth client ID. | |
| POSTLAYER_ENC_KEY | No | Passphrase used to encrypt stored tokens (AES-256-GCM). Recommended. | |
| LINKEDIN_CLIENT_ID | No | LinkedIn OAuth client ID. | |
| POSTLAYER_DATA_DIR | No | Where tokens + the key live. Default ~/.postlayer-connect. | |
| POSTLAYER_OAUTH_HOST | No | Host for local OAuth redirect listener. Default localhost. | |
| POSTLAYER_OAUTH_PORT | No | Port for local OAuth redirect listener. Default 8790. | |
| REDDIT_CLIENT_SECRET | No | Reddit OAuth client secret. | |
| LINKEDIN_CLIENT_SECRET | No | LinkedIn OAuth client secret. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_platformsA | List every supported social platform, whether it works today or needs your own approved app, how you connect it, which credentials it needs, and what analytics it returns. |
| connect_accountA | Connect one of your social accounts. For OAuth platforms (LinkedIn, X, Reddit, Mastodon, Threads) this returns a URL to open in your browser; after you approve, the account is saved automatically. For credential platforms (Bluesky, Nostr, Discord, Telegram) pass the required fields and it connects immediately. Call with just a platform to see which fields it needs. |
| list_accountsA | List every social account you have connected, with its platform, handle, and account id (use the id in post / get_analytics). |
| postA | Publish a post to a connected account. Give the text, optionally media (local file path or public URL), and any per-platform settings (e.g. reddit {subreddit, title}). Target the account by account_id, or by platform if only one account is connected. |
| get_analyticsA | Read normalized analytics for one published post. Returns the metrics the platform actually exposes (a missing metric means the platform does not provide it — never a fake zero). Target by account_id or platform, plus the post_id returned by |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pokakrisztian2/postlayer-connect'
If you have feedback or need assistance with the MCP directory API, please join our Discord server