Skip to content

JSON-RPC parsing error #335

Open
Open
@peppescg

Description

@peppescg

Using Slack MCP server I got this error

ERR Error parsing JSON-RPC message: unmarshaling jsonrpc message: unexpected end of JSON input

The auth is working properly. No other issues found in the container logs.


Full log:

7:18PM INF JSON-RPC raw:
                         Y{"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":1}
7:18PM INF Sanitized JSON: {"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":1}
7:18PM INF Received JSON-RPC message: *jsonrpc2.Response
7:18PM INF Received JSON-RPC message: *jsonrpc2.Request
7:18PM INF Process incoming messages and sending message to container
7:18PM INF Writing to container stdin
7:18PM INF Wrote to container stdin
7:18PM INF Messages processed
7:18PM INF JSON-RPC raw: Received ListToolsRequest
7:18PM INF Sanitized JSON:
7:18PM ERR Error parsing JSON-RPC message: unmarshaling jsonrpc message: unexpected end of JSON input
7:18PM INF JSON-RPC raw:
                         Y{"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":2}
7:18PM INF Sanitized JSON: {"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":2}
7:18PM INF Received JSON-RPC message: *jsonrpc2.Response
7:19PM INF Client fb26e073-cf5c-44c9-aeb6-6a15f88da02c disconnected
7:19PM INF Received JSON-RPC message: *jsonrpc2.Request
7:19PM INF Process incoming messages and sending message to container
7:19PM INF Writing to container stdin
7:19PM INF Wrote to container stdin
7:19PM INF Messages processed
7:19PM INF JSON-RPC raw: �{"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"Slack MCP Server","version":"1.0.0"}},"jsonrpc":"2.0","id":0}
7:19PM INF Sanitized JSON: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"Slack MCP Server","version":"1.0.0"}},"jsonrpc":"2.0","id":0}
7:19PM INF Received JSON-RPC message: *jsonrpc2.Response
7:19PM INF Received JSON-RPC message: *jsonrpc2.Request
7:19PM INF Process incoming messages and sending message to container
7:19PM INF Writing to container stdin
7:19PM INF Wrote to container stdin
7:19PM INF Messages processed
7:20PM INF Received JSON-RPC message: *jsonrpc2.Request
7:20PM INF Process incoming messages and sending message to container
7:20PM INF Writing to container stdin
7:20PM INF Wrote to container stdin
7:20PM INF Messages processed
7:20PM INF JSON-RPC raw:
                         Y{"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":1}
7:20PM INF Sanitized JSON: {"result":{"tools":[{"name":"slack_list_channels","description":"List public or pre-defined channels in the workspace with pagination","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"Maximum number of channels to return (default 100, max 200)","default":100},"cursor":{"type":"string","description":"Pagination cursor for next page of results"}}}},{"name":"slack_post_message","description":"Post a new message to a Slack channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel to post to"},"text":{"type":"string","description":"The message text to post"}},"required":["channel_id","text"]}},{"name":"slack_reply_to_thread","description":"Reply to a specific message thread in Slack","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."},"text":{"type":"string","description":"The reply text"}},"required":["channel_id","thread_ts","text"]}},{"name":"slack_add_reaction","description":"Add a reaction emoji to a message","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the message"},"timestamp":{"type":"string","description":"The timestamp of the message to react to"},"reaction":{"type":"string","description":"The name of the emoji reaction (without ::)"}},"required":["channel_id","timestamp","reaction"]}},{"name":"slack_get_channel_history","description":"Get recent messages from a channel","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel"},"limit":{"type":"number","description":"Number of messages to retrieve (default 10)","default":10}},"required":["channel_id"]}},{"name":"slack_get_thread_replies","description":"Get all replies in a message thread","inputSchema":{"type":"object","properties":{"channel_id":{"type":"string","description":"The ID of the channel containing the thread"},"thread_ts":{"type":"string","description":"The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it."}},"required":["channel_id","thread_ts"]}},{"name":"slack_get_users","description":"Get a list of all users in the workspace with their basic profile information","inputSchema":{"type":"object","properties":{"cursor":{"type":"string","description":"Pagination cursor for next page of results"},"limit":{"type":"number","description":"Maximum number of users to return (default 100, max 200)","default":100}}}},{"name":"slack_get_user_profile","description":"Get detailed profile information for a specific user","inputSchema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the user"}},"required":["user_id"]}}]},"jsonrpc":"2.0","id":1}
7:20PM INF Received JSON-RPC message: *jsonrpc2.Response
7:20PM INF JSON-RPC raw: Received ListToolsRequest
7:20PM INF Sanitized JSON:
7:20PM ERR Error parsing JSON-RPC message: unmarshaling jsonrpc message: unexpected end of JSON input

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp0High

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions