-
Notifications
You must be signed in to change notification settings - Fork 14
Doc: added deployment readme #88
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
abhinavmathur-atlan
wants to merge
5
commits into
main
Choose a base branch
from
docs/start_parameters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
5b408d7
added deployment readme
abhinavmathur-atlan 44bd355
fix checks
abhinavmathur-atlan 70501b5
updated deployment section
abhinavmathur-atlan facb2e9
Update and rename Readme.md to README.md
abhinavmathur-atlan 44d6243
conflict res
abhinavmathur-atlan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Deployment Guide for Atlan MCP Server | ||
|
||
This document explains the various ways you can start the **Atlan MCP Server** and when to choose a given transport mechanism. | ||
|
||
### Quick-start | ||
|
||
```bash | ||
# Default (stdio – recommended for local development) | ||
python modelcontextprotocol/server.py | ||
|
||
# Stream over Server-Sent Events (SSE) – great for browsers or reverse proxies | ||
python modelcontextprotocol/server.py --transport sse --host 0.0.0.0 --port 8000 | ||
|
||
# Stream over plain HTTP ("streamable-http") – useful when SSE is not available | ||
python modelcontextprotocol/server.py --transport streamable-http --host 0.0.0.0 --port 8000 --path / | ||
``` | ||
|
||
### Transport options | ||
|
||
- **`stdio` (default)** | ||
Communicates over standard input/output. | ||
• Benefits: Zero network overhead; perfect for running the agent as a local subprocess. | ||
• When to use: Local development or when integrating directly with parent processes or editors that spawn the server. | ||
|
||
- **`sse`** | ||
Uses **Server-Sent Events** over HTTP—the server keeps an HTTP connection open and pushes a `text/event-stream` as new data arrives. | ||
• Benefits: Built-in support in modern browsers & many HTTP reverse proxies; uni-directional and firewall-friendly; low-latency streaming suited for real-time UI updates. | ||
• When to use: When you are building a Web UI that consumes streamed completions, or you want a push-based model but do not need the bi-directionality of WebSockets. | ||
|
||
- **`streamable-http`** | ||
Sends a standard HTTP response whose body is streamed incrementally (chunked transfer-encoding). | ||
• Benefits: Works with any HTTP client (curl, Python `requests`, Java `HttpClient`, etc.); no special SSE handling required; plays nicely with infrastructure that terminates or transforms HTTP but does **not** understand event streams. | ||
• When to use: The consumer is a language or runtime lacking SSE support, or you want to keep the transport strictly within the HTTP spec without custom headers. | ||
|
||
> **Note** | ||
> The CLI flag is `--transport streamable-http` (with a hyphen), while you may see it described conceptually as *HTTP-streamable*. | ||
|
||
### Environment variables & production tips | ||
|
||
* Ensure `ATLAN_BASE_URL` and `ATLAN_API_KEY` are provided (e.g., via a secrets manager). | ||
* Expose the chosen port (`--port`, default `8000`) in your container or deployment manifest. | ||
|
||
--- | ||
|
||
For additional configuration (timeouts, logging, etc.) refer to `modelcontextprotocol/settings.py` and the root `README.md`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,6 +144,10 @@ Open `Cursor > Settings > Tools & Integrations > New MCP Server` to include the | |
| `traverse_lineage` | Retrieve lineage for an asset | | ||
| `update_assets` | Update asset attributes (user description and certificate status) | | ||
|
||
## Deployment | ||
|
||
For information on running the server in different environments (stdio, SSE, or streamable HTTP), see the [deployment guide](../deployment/Readme.md). | ||
|
||
## Production Deployment | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this outside the deployment? |
||
|
||
- Host the Atlan MCP container image on the cloud/platform of your choice | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it a new folder for this readme? It should be in the docs folder only
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will move it to docs
Created the folder because it was in the issue doc
#76 (comment)