Skip to content

feat: add GitHub, Sentry, and New Relic MCP connectors - #694

Open
Valentyn (VaiYav) wants to merge 4 commits into
langchain-ai:mainfrom
VaiYav:feature/github-sentry-newrelic-mcp-connectors
Open

feat: add GitHub, Sentry, and New Relic MCP connectors#694
Valentyn (VaiYav) wants to merge 4 commits into
langchain-ai:mainfrom
VaiYav:feature/github-sentry-newrelic-mcp-connectors

Conversation

@VaiYav

Copy link
Copy Markdown

Summary

Adds first-class MCP-backed connectors for GitHub, Sentry, and New Relic so users can ingest operational signals (issues, PRs, alerts, APM metrics) into a personal OpenWiki without reusing the generic custom-mcp slot.

Changes

  • src/connectors/types.ts: extends ConnectorId union with github, sentry, newrelic.
  • src/connectors/registry.ts: registers each new id through the existing createMcpConnector factory, with read-only defaults and connector-specific descriptions.
  • src/connectors/mcp-runtime.ts: adds the new ids to MCP_CONNECTOR_IDS and McpConnectorId.
  • src/connectors/tools.ts: updates openwiki_ingest_connector, openwiki_list_raw_items, openwiki_read_raw_item, and the MCP tool schemas to include the new connectors.
  • src/ingestion/ingestion.ts: adds synthesis guidance for durable routing to themes.md, commitments.md, and canonical source pages.
  • src/setup/onboarding.ts: replaces the hardcoded isKnownConnectorId with isConnectorId so any connector registered in the registry is accepted during onboarding normalization (this also fixes langsmith being silently dropped).
  • src/setup/credentials/constants.ts: adds GitHub, Sentry, and New Relic to source options and the personal onboarding template.
  • src/agent/prompts/personal.ts: updates the agent prompt list of built-in connectors.
  • test/: updates ingestion.test.ts, tools.test.ts, and onboarding.test.ts to match the expanded connector set.

Motivation

Today users who want GitHub, Sentry, or New Relic data in their wiki have to squeeze everything through the custom-mcp connector, which means a single shared directory and a generic synthesis prompt. Dedicated connectors give each service:

  1. Its own ~/.openwiki/connectors/<id>/ directory.
  2. Its own openwiki ingest <id> target.
  3. Connector-specific synthesis guidance so the agent knows how to correlate issues/PRs with git-repo, Sentry events with releases, and New Relic alerts with deployments.

Test plan

  • pnpm run typecheck passes.
  • pnpm run build passes.
  • Targeted connector and onboarding tests pass:
    • test/connectors/tools.test.ts
    • test/ingestion/ingestion.test.ts
    • test/ingestion/langsmith-modes.test.ts
    • test/setup/onboarding.test.ts
    • test/setup/credentials/steps-derivations.test.ts
  • Verified locally that openwiki ingest github is recognized, starts the configured MCP bridge, and routes data when enabled.

Notes for reviewers

The MCP connector implementation is intentionally generic. Each new connector is a thin wrapper around createMcpConnector so users configure the actual transport (stdio or HTTP) in ~/.openwiki/connectors/<id>/config.json. I opted not to add bespoke API code so that the PR stays focused on registry/tooling wiring and so users can plug in their preferred read-only MCP server for each service.

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Registers github, sentry, and newrelic as first-class MCP-backed connectors
so users can ingest issues, PRs, alerts, and operational health signals into
a personal OpenWiki without reusing the generic custom-mcp slot.

- Extend ConnectorId union and CONNECTOR_IDS list
- Wire each new id through createMcpConnector with read-only defaults
- Add synthesis guidance for durable routing to themes/commitments
- Surface the new connectors in onboarding source options and agent prompts
- Update tool schemas (ingest, list_raw_items, read_raw_item, list/call_mcp_tool)

Generated with Devin
@changeset-bot

changeset-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 01f0d3f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openwiki Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@VaiYav Valentyn (VaiYav) changed the title Add GitHub, Sentry, and New Relic MCP connectors feat: add GitHub, Sentry, and New Relic MCP connectors Aug 21, 2026
Move project helper skills to the global registry while retaining the distributable OpenWiki integration bundle.
…ry-newrelic-mcp-connectors

# Conflicts:
#	src/connectors/tools.ts
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

Successfully merging this pull request may close these issues.

1 participant