MCP

Intelligence Substack pour recherche, investisseurs et contenu MCP Server

Outils MCP pour Substack

URL de base

https://mcp.pressmonitor.com/substack/v1

Authentification

Les appels MCP utilisent aussi un jeton Bearer avec des requetes JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

Decouvrir les outils

Commencez par lister les outils exposes par le serveur MCP.

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
tool feed

Feed

Feed

Arguments

Nom Type Obligatoire Description
cursor string Non Cursor
tab string Non Tab

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"feed","arguments":{"cursor":"NEXT_CURSOR","tab":"SOME_STRING_VALUE"}}}'
tool profile_activity

Profile Activity

Profile Activity

Arguments

Nom Type Obligatoire Description
profile_id string Oui Profile id

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_activity","arguments":{"profile_id":"SOME_STRING_VALUE"}}}'
tool profile_posts

Profile Posts

Profile Posts

Arguments

Nom Type Obligatoire Description
profile_id string Oui Profile id

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_posts","arguments":{"profile_id":"SOME_STRING_VALUE"}}}'
tool profile_public

Profile Public

Profile Public

Arguments

Nom Type Obligatoire Description
handle string Oui Handle

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_public","arguments":{"handle":"SOME_STRING_VALUE"}}}'
tool reader_comment

Reader Comment

Reader Comment

Arguments

Nom Type Obligatoire Description
comment_id string Oui Comment id

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reader_comment","arguments":{"comment_id":"SOME_STRING_VALUE"}}}'
tool reader_comment_replies

Reader Comment Replies

Reader Comment Replies

Arguments

Nom Type Obligatoire Description
comment_id string Oui Comment id

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reader_comment_replies","arguments":{"comment_id":"SOME_STRING_VALUE"}}}'
tool reader_post

Reader Post

Reader Post

Arguments

Nom Type Obligatoire Description
post_id string Oui Post id

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reader_post","arguments":{"post_id":"SOME_STRING_VALUE"}}}'
tool search_people

Search People

Search People

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
page string Non Page

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_people","arguments":{"query":"SOME_STRING_VALUE","page":20}}}'
tool search_post

Search Post

Search Post

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
page string Non Page

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_post","arguments":{"query":"SOME_STRING_VALUE","page":20}}}'
tool search_top

Search Top

Search Top

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/substack/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_top","arguments":{"query":"SOME_STRING_VALUE"}}}'