Actions
Jump to:
check_authpost_textpost_image
Check connection
check_auth
Verify the stored LinkedIn access token works by resolving the authenticated member's identity, without posting anything.
Inputs
| Name | Type | Required / default | Values and notes |
profile |
profile |
optional, default linkedin
|
|
Outputs
| Name | Type | Notes |
ok |
bool |
|
member_id |
string |
|
name |
string |
|
Post text update
post_text
Destructive
Publish a text-only share to LinkedIn as the authenticated member.
Inputs
| Name | Type | Required / default | Values and notes |
text |
text |
required
|
|
profile |
profile |
optional, default linkedin
|
|
Outputs
| Name | Type | Notes |
post_id |
string |
|
url |
string |
|
Post image update
post_image
Destructive
Publish an image share, with an optional caption, to LinkedIn as the authenticated member.
Inputs
| Name | Type | Required / default | Values and notes |
image |
path |
required
|
|
text |
text |
optional, default ""
|
|
profile |
profile |
optional, default linkedin
|
|
Outputs
| Name | Type | Notes |
post_id |
string |
|
url |
string |
|
Use it
Check connection
Command line
shell
python app.py --action check_auth --params '{}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("linkedin-poster", "check_auth", {})
Workflow node
json
{
"id": "n0",
"app": "linkedin-poster",
"action": "check_auth",
"params": {},
"inputs": {}
}
Post text update
Command line
shell
python app.py --action post_text --params '{"text": "<text>"}'
# preview first - destructive action, nothing is changed:
python app.py --action post_text --params '{"text": "<text>"}' --dry-run
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("linkedin-poster", "post_text", {"text": "<text>"})
# preview first:
run_action("linkedin-poster", "post_text", {"text": "<text>"}, dry_run=true)
Workflow node
json
{
"id": "n0",
"app": "linkedin-poster",
"action": "post_text",
"params": {
"text": "<text>"
},
"inputs": {}
}
Post image update
Command line
shell
python app.py --action post_image --params '{"image": "D:/path/to/image"}'
# preview first - destructive action, nothing is changed:
python app.py --action post_image --params '{"image": "D:/path/to/image"}' --dry-run
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("linkedin-poster", "post_image", {"image": "D:/path/to/image"})
# preview first:
run_action("linkedin-poster", "post_image", {"image": "D:/path/to/image"}, dry_run=true)
Workflow node
json
{
"id": "n0",
"app": "linkedin-poster",
"action": "post_image",
"params": {
"image": "D:/path/to/image"
},
"inputs": {}
}
Example prompts
Things you can say to Claude, Cursor or Codex once the MCP server is registered.
- post 'Excited to announce our new release' to LinkedIn
- post launch.jpg to LinkedIn with caption 'We just shipped v2'
- check that my LinkedIn connection still works