Skip to content

Commit 3c623f3

Browse files
committed
Update Name of MCP-Server : ambari-api --> mcp-ambari-api
1 parent 4a664e2 commit 3c623f3

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ Start the `MCP-Server`, `MCPO`(MCP-Proxy for OpenAPI), and `OpenWebUI`.
119119

120120
- OpenWebUI will be available at: `http://localhost:${DOCKER_EXTERNAL_PORT_OPENWEBUI}` (default: 3001)
121121
- The MCPO-Proxy will be accessible at: `http://localhost:${DOCKER_EXTERNAL_PORT_MCPO_PROXY}` (default: 8001)
122-
- The MCPO API Docs: `http://localhost:${DOCKER_EXTERNAL_PORT_MCPO_PROXY}/ambari-api/docs`
122+
- The MCPO API Docs: `http://localhost:${DOCKER_EXTERNAL_PORT_MCPO_PROXY}/mcp-ambari-api/docs`
123123

124124
![Example: MCPO-Proxy](img/mcpo-proxy-api-docs.png)
125125

126126
### 3. Registering the Tool in OpenWebUI
127127

128128
1. logging in to OpenWebUI with an admin account
129129
1. go to "Settings" → "Tools" from the top menu.
130-
1. Enter the `ambari-api` Tool address (e.g., `http://localhost:8000/ambari-api`) to connect MCP Tools with your Ambari cluster.
130+
1. Enter the `mcp-ambari-api` Tool address (e.g., `http://localhost:8000/mcp-ambari-api`) to connect MCP Tools with your Ambari cluster.
131131

132132
### 4. More Examples: Using MCP Tools to Query Ambari Cluster
133133

@@ -296,7 +296,7 @@ When authentication is enabled, MCP clients must include the Bearer token in the
296296
```json
297297
{
298298
"mcpServers": {
299-
"ambari-api": {
299+
"mcp-ambari-api": {
300300
"type": "streamable-http",
301301
"url": "http://your-server:8000/mcp",
302302
"headers": {
@@ -329,7 +329,7 @@ When authentication fails, the server returns:
329329
```json
330330
{
331331
"mcpServers": {
332-
"ambari-api": {
332+
"mcp-ambari-api": {
333333
"command": "uvx",
334334
"args": ["--python", "3.12", "mcp-ambari-api"],
335335
"env": {
@@ -352,7 +352,7 @@ When authentication fails, the server returns:
352352
```json
353353
{
354354
"mcpServers": {
355-
"ambari-api": {
355+
"mcp-ambari-api": {
356356
"type": "streamable-http",
357357
"url": "http://localhost:18001/mcp"
358358
}
@@ -365,7 +365,7 @@ When authentication fails, the server returns:
365365
```json
366366
{
367367
"mcpServers": {
368-
"ambari-api": {
368+
"mcp-ambari-api": {
369369
"type": "streamable-http",
370370
"url": "http://localhost:18001/mcp",
371371
"headers": {
@@ -385,7 +385,7 @@ When authentication fails, the server returns:
385385
```json
386386
{
387387
"mcpServers": {
388-
"ambari-api": {
388+
"mcp-ambari-api": {
389389
"command": "uvx",
390390
"args": ["--python", "3.12", "mcp-ambari-api"],
391391
"env": {
@@ -441,7 +441,7 @@ When authentication fails, the server returns:
441441
```json
442442
{
443443
"mcpServers": {
444-
"ambari-api-remote": {
444+
"mcp-ambari-api-remote": {
445445
"type": "streamable-http",
446446
"url": "http://your-server-ip:18001/mcp",
447447
"headers": {

mcp-config.json.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"mcpServers": {
3-
"ambari-api": {
3+
"mcp-ambari-api": {
44
"type": "streamable-http",
55
"url": "http://host.docker.internal:18001/mcp",
66
"headers": {

mcp-config.json.stdio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"mcpServers": {
3-
"ambari-api": {
3+
"mcp-ambari-api": {
44
"command": "python",
55
"args": ["-m", "mcp_ambari_api"],
66
"env": {

src/mcp_ambari_api/mcp_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@
7474
}
7575

7676
auth = StaticTokenVerifier(tokens=tokens)
77-
mcp = FastMCP("ambari-api", auth=auth)
77+
mcp = FastMCP("mcp-ambari-api", auth=auth)
7878
logger.info("MCP instance initialized with authentication")
7979
else:
8080
logger.info("Initializing MCP instance without authentication")
81-
mcp = FastMCP("ambari-api")
81+
mcp = FastMCP("mcp-ambari-api")
8282

8383
# =============================================================================
8484
# Constants

0 commit comments

Comments
 (0)