Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions workspaces/mcp-chat/.changeset/sixty-sides-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@backstage-community/plugin-mcp-chat-backend': minor
'@backstage-community/plugin-mcp-chat-common': minor
'@backstage-community/plugin-mcp-chat-node': minor
'@backstage-community/plugin-mcp-chat': minor
---

introduce shared libraries and extension points for future isolation of llm providers in dedicated backend modules
8 changes: 6 additions & 2 deletions workspaces/mcp-chat/plugins/mcp-chat-backend/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ export interface Config {
/**
* Unique identifier for the provider
* @visibility backend
* @enum { 'openai' | 'claude' | 'gemini' | 'ollama' }
*/
id: 'openai' | 'claude' | 'gemini' | 'ollama';
id: string;
/**
* API token for the provider
* @visibility secret
Expand All @@ -43,6 +42,11 @@ export interface Config {
* @visibility backend
*/
baseUrl?: string;
/**
* Provider-specific authentication parameters (IAM, session tokens, etc.)
* @visibility secret
*/
auth?: { [key: string]: string };
}>;
/**
* MCP (Model Context Protocol) servers configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ backend.add(
);

backend.add(import('../src'));

backend.start();
6 changes: 4 additions & 2 deletions workspaces/mcp-chat/plugins/mcp-chat-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage-community/plugin-mcp-chat-common": "workspace:^",
"@backstage-community/plugin-mcp-chat-node": "workspace:^",
"@backstage/backend-defaults": "^0.16.0",
"@backstage/backend-plugin-api": "^1.8.0",
"@backstage/config": "^1.3.6",
Expand All @@ -42,8 +44,8 @@
"uuid": "^11.0.0"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.11.1",
"@backstage/cli": "^0.36.0",
"@backstage/backend-test-utils": "^1.6.0",
"@backstage/cli": "^0.33.0",
"@types/express": "^4.17.6",
"@types/supertest": "^7.0.0",
"@types/uuid": "^11.0.0",
Expand Down
Loading
Loading