-
Notifications
You must be signed in to change notification settings - Fork 0
MCP docs #22
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
safaricd
wants to merge
4
commits into
main
Choose a base branch
from
mcp-docs
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.
+815
−345
Open
MCP docs #22
Changes from all commits
Commits
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,28 @@ | ||
| --- | ||
| title: "Model Context Protocol" | ||
| description: "Connect AI tools to TabPFN using the Model Context Protocol (MCP) for natural language predictions on tabular data." | ||
| --- | ||
|
|
||
| TabPFN MCP is a remote [MCP]((https://modelcontextprotocol.io/)) with OAuth that gives AI tools secure access to TabPFN-2.5, our SOTA tabular foundation model. Our MCP server is available at: | ||
|
|
||
| ``` | ||
| https://api.priorlabs.ai/mcp/server | ||
| ``` | ||
|
|
||
| It integrates with popular AI assistants like Claude, enabling you to run predictions using natural language. TabPFN MCP implements the latest | ||
| [MCP Authorization](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization) and [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) specifications. | ||
|
|
||
| <Note> | ||
| To use the TabPFN MCP you need a Prior Labs account. You can sign up or log in at [ux.priorlabs.ai](https://ux.priorlabs.ai). | ||
| </Note> | ||
|
|
||
| ## Getting Started | ||
|
|
||
| <CardGroup cols={2}> | ||
| <Card title="Setup Guide" icon="plug" horizontal href="/agentic/setup-guide"> | ||
| Connect Claude, ChatGPT, Cursor, Codex CLI, or n8n to the TabPFN MCP server. | ||
| </Card> | ||
| <Card title="TabPFN MCP with Databricks" icon="book" horizontal href="/agentic/tutorials/databricks"> | ||
| A churn prediction pipeline with an AI agent using TabPFN MCP and Databricks Delta tables. | ||
| </Card> | ||
| </CardGroup> |
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,137 @@ | ||
| --- | ||
| title: "Setup Guide" | ||
| description: "Step-by-step instructions for connecting Claude, ChatGPT, Cursor, Codex CLI, and n8n to the TabPFN MCP server." | ||
| --- | ||
|
|
||
| #### Claude Code | ||
|
|
||
| ```bash | ||
| # If you haven't, install Claude Code | ||
| npm install -g @anthropic-ai/claude-code | ||
|
|
||
| # Navigate to your project | ||
| cd your-tabpfn-project | ||
|
|
||
| # Add TabPFN MCP (general access) | ||
| claude mcp add --transport http tabpfn https://api.priorlabs.ai/mcp/server | ||
|
|
||
| # Start coding with Claude | ||
| claude | ||
|
|
||
| # Authenticate the MCP tools by typing /mcp | ||
| # This will trigger the OAuth flow | ||
| /mcp | ||
| ``` | ||
|
|
||
| #### Claude.ai and Claude for desktop | ||
|
|
||
| <iframe | ||
| className="w-full aspect-video rounded-xl" | ||
| src="https://www.youtube.com/embed/p-yNAqdWQIg" | ||
| title="YouTube video player" | ||
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | ||
| allowFullScreen | ||
| ></iframe> | ||
|
|
||
| 1. Open Settings in the sidebar | ||
| 2. Navigate to Connectors and select Add custom connector | ||
| 3. Configure the connector: | ||
| - Name: TabPFN | ||
| - URL: https://api.priorlabs.ai/mcp/server | ||
|
|
||
| <Note> | ||
| Custom connectors using remote MCP are available on Claude and Claude Desktop for users on Pro, Max, Team, and Enterprise plans. | ||
| </Note> | ||
|
|
||
| Alternatively, you may add the MCP server by editing the Claude Desktop config file: | ||
|
|
||
| 1. Locate your Claude Desktop config file based on your operating system: | ||
| 2. Get your API key from Prior Labs: | ||
| - Navigate to [ux.priorlabs.ai](https://ux.priorlabs.ai) | ||
| - Log in to your account (or sign up if you don't have one) | ||
| - Copy your API key from the dashboard | ||
| 3. Edit the config file to add the TabPFN server: | ||
| ```json | ||
| { | ||
| "mcpServers": { | ||
| "tabpfn": { | ||
| "url": "https://api.priorlabs.ai/mcp/server", | ||
| "headers": { | ||
| "Authorization": "Bearer YOUR_API_KEY_HERE" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
| 4. Replace `YOUR_API_KEY_HERE` with your actual API key from step 2 | ||
| 5. Save the config file and restart Claude Desktop for the changes to take effect | ||
|
|
||
| #### ChatGPT | ||
|
|
||
| <iframe | ||
| className="w-full aspect-video rounded-xl" | ||
| src="https://www.youtube.com/embed/kMsvhawptgc" | ||
| title="YouTube video player" | ||
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | ||
| allowFullScreen | ||
| ></iframe> | ||
|
|
||
| Follow these steps to set up TabPFN as a connector in ChatGPT: | ||
|
|
||
| 1. Enable Developer mode: | ||
| - Go to Settings → Connectors → Advanced settings → Developer mode | ||
| 2. Open ChatGPT settings | ||
| 3. In the Connectors tab, `Create` a new connector: | ||
| - Give it a name: TabPFN | ||
| - MCP server URL: https://api.priorlabs.ai/mcp/server | ||
| - Authentication: OAuth | ||
| 4. Click Create | ||
|
|
||
| <Note> | ||
| Custom connectors using MCP are available on ChatGPT for Pro and Plus accounts on the web. | ||
| </Note> | ||
|
|
||
| #### Codex CLI | ||
|
|
||
| Codex CLI is OpenAI's local coding agent that can run directly from your terminal. | ||
|
|
||
| ```bash | ||
| # Install Codex | ||
| npm i -g @openai/codex | ||
|
|
||
| # Add TabPFN MCP | ||
| codex mcp add tabpfn --url https://api.priorlabs.ai/mcp/server | ||
|
|
||
| # Start Codex | ||
| codex | ||
| ``` | ||
|
|
||
| When adding the MCP server, Codex will detect OAuth support and open your browser to authorize the connection. | ||
|
|
||
| #### Cursor | ||
|
|
||
| To add TabPFN MCP to your Cursor environment, add the snippet below to your project-specific or global `.cursor/mcp.json` file manually. For more details, see the [Cursor documentation](https://docs.cursor.com/en/context/mcp). | ||
|
|
||
| ```json | ||
| { | ||
| "mcpServers": { | ||
| "tabpfn": { | ||
| "url": "https://api.priorlabs.ai/mcp/server" | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| Once the server is added, Cursor will attempt to connect and display a Needs login prompt. Click on this prompt to authorize Cursor to access your Prior Labs account. | ||
|
|
||
| #### n8n | ||
|
|
||
| Watch the video below to learn how to integrate TabPFN with n8n workflows. | ||
|
|
||
| <iframe | ||
| className="w-full aspect-video rounded-xl" | ||
| src="https://www.youtube.com/embed/Po8r77MBmow" | ||
| title="YouTube video player" | ||
| allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | ||
| allowFullScreen | ||
| ></iframe> | ||
safaricd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.