Forkast Developer Docs
MCP Server Integration
15 min
we expose our documentation through a model context protocol (mcp) server over http using server sent events (sse) this enables ai coding tools to securely access structured documentation, including sdk guides, platform mechanisms, and api references so they can assist developers when building on our platform mcp endpoint https //mcp forkast gg/mcp transport http sse connecting ai tools to the mcp server you can connect the mcp server to the following ai development tools github copilot github copilot supports mcp servers through compatible mcp clients steps open your mcp client configuration file example location / config/mcp/config json add a server entry { "mcpservers" { "forkast mcp docs" { "transport" { "type" "sse", "url" "https /mcp forkast gg/mcp" } } } } restart your editor or mcp client the tools exposed by the mcp server will now be available to copilot official documentation https //docs github com/en/copilot/concepts/context/mcp https //docs github com/en/copilot/how tos/provide context/use mcp/extend copilot chat with mcp cursor cursor ide supports connecting to mcp servers to allow cursorβs ai assistant to access external tools and apis setup open cursor settings navigate to mcp servers add your server configuration { "mcpservers" { "forkast mcp docs" { "transport" "sse", "url" "https //mcp forkast gg/mcp" } } } reload cursor once connected, cursor will automatically detect tools provided by the mcp server claude code you can connect this mcp server to claude code using the cli steps add the mcp server run the following command in your terminal claude mcp add transport http forkast mcp docs https //mcp forkast gg/mcp this registers the mcp server in claude code restart claude code restart claude code if it is currently running manage mcp servers inside claude code, run /mcp this opens the mcp server manager where you can view configured mcp servers authenticate (if required) enable or disable servers verify connection after authentication, claude code will show a confirmation such as connected to mcp server forkast mcp docs you can confirm the connection anytime using /mcp optional install globally by default, mcp servers are added only to the current project to make the server available across all projects claude mcp add scope user transport http forkast mcp docs https //mcp forkast gg/mcp this installs the mcp server globally using the mcp server explore the sdk using the forkast documentation, show me how to install and initialize the forkast javascript sdk use the forkast documentation to generate a python example that creates a client and authenticates find api usage examples using the forkast documentation, show a curl example for calling the getting all the active markets based on the forkast documentation, generate a node js script to place orders on a active market understand platform concepts using the forkast documentation, explain how \<platform mechanism> works and when it should be used generate integration code using the forkast documentation, generate a complete node js example that authenticates and calls improving the mcp server output for the best output, we recommend setting up rules to guide the agent to get you started, we have some helpful example rules