Skip to content

Issue: HackerNews API Connection Failure in Composio MCP Implementation #1512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
suhasdeshpande opened this issue Apr 1, 2025 · 0 comments

Comments

@suhasdeshpande
Copy link
Contributor

HackerNews API Connection Issues in Composio MCP

We're experiencing persistent connection issues with the HackerNews API tools through Composio's MCP implementation. When attempting to use HackerNews tools like HACKERNEWS_GET_FRONTPAGE, we consistently receive a connection error despite following the standard flow for connection initialization.

Error Details

When calling HACKERNEWS_GET_FRONTPAGE, we receive:

{
  "error": "Could not find a connection with app='hackernews' and entity='default'",
  "successful": true,
  "data": {}
}

Steps to Reproduce

  1. Initialize connection using HACKERNEWS_GET_REQUIRED_PARAMETERS which returns:

    {
      "data": {
        "required_parameters": [],
        "has_default_credentials": false
      },
      "error": null,
      "successful": true
    }
  2. Attempt to create a connection with HACKERNEWS_INITIATE_CONNECTION which fails:

    {
      "data": {},
      "error": "No test connectors found for the tool. Please use get_req_params action to fetch the required parameters to initiate connection.",
      "successful": false
    }
  3. Verify that no connection exists with HACKERNEWS_CHECK_ACTIVE_CONNECTION:

    {
      "data": {},
      "error": "Could not find a connection with app='hackernews', connected_account_id=None and entity='default'.",
      "successful": false
     }

Expected Behavior

We expect either:

  • The ability to successfully establish a connection to the HackerNews API, OR
  • The tools to work without requiring a connection, since HackerNews API is publicly accessible without authentication

Questions

  1. Is there a specific method to establish HackerNews connections that differs from the standard flow?
  2. Are there any missing parameters or configuration required for HackerNews specifically?
  3. Since HackerNews API is public, could the tools be updated to work without requiring connection objects?
  4. Is there any documentation available that describes the connection management for public APIs like HackerNews?

Environment Details

  • Using Composio MCP server via CopilotKit integration
  • API version: [version information]
  • Authentication: [auth method used]

Impact

This issue prevents our application from accessing HackerNews data through the MCP protocol, requiring us to implement fallback mechanisms which might not provide the same quality of data as the direct API.

We appreciate any guidance on resolving these connection issues. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant