Skip to content

feat(openui-dashboard): Linear hosted MCP integration#474

Open
zahlekhan wants to merge 1 commit intomainfrom
feat/openui-dashboard-linear-mcp
Open

feat(openui-dashboard): Linear hosted MCP integration#474
zahlekhan wants to merge 1 commit intomainfrom
feat/openui-dashboard-linear-mcp

Conversation

@zahlekhan
Copy link
Copy Markdown
Contributor

Summary

Integrates Linear's hosted MCP into the openui-dashboard example so dashboards can use real Linear workspace data via server-side tool calls.

Changes

  • Linear MCP — New linear-mcp.ts client (Streamable HTTP + bearer auth) and linear-openai-tools.ts to map MCP tools for the chat API at runtime.
  • API routes/api/mcp and /api/chat updated to proxy Linear tools with LINEAR_API_KEY (or LINEAR_TOKEN / LINEAR_OAUTH_TOKEN) — never exposed to the browser.
  • Example cleanup — Slimmer tools.ts / prompt-config.ts, README env docs, small streaming helpers.
  • Docs — Regenerated playground/chat system prompts and component spec to stay in sync.

Test plan

  • pnpm install in examples/openui-dashboard
  • Set OPENAI_API_KEY and LINEAR_API_KEY, run pnpm dev, exercise chat + tool calls

Made with Cursor

- Add Linear MCP client (Streamable HTTP) and OpenAI tool mapping from runtime tool list
- Refactor /api/mcp and /api/chat to proxy Linear tools server-side with LINEAR_API_KEY
- Simplify prompt-config and tools wiring; minor SSE/LLM stream tweaks
- Update example README and regenerate docs playground/chat prompts

Made-with: Cursor
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